Max
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Disable the wrapping DIV around the View does not work after update (js errors)
Iniciado por: Max en: Toolset Professional Support |
|
2 | 5 | hace 5 años, 11 meses | |
Problem with and Infinite Scroll
Iniciado por: Max
en: Toolset Professional Support
Problem: I would like to show the total number of results shown on the page in a View that uses Infinite Scrolling, but the wpv-items-count shortcode is not updated when more results are added by Infinite Scrolling. Solution: The wpv-items-found shortcode isn't designed to be used with automatic pagination or Infinite Scrolling. The only way to do this is to use custom JavaScript that hooks into the pagination event. Add a unique ID to the span around the wpv-items-count shortcode: Отображается <span id="current-list-count">[wpv-items-count]</span> боев из [wpv-found-count] Then in the View's Search and Pagination JS editor, add the custom event code: jQuery( document ).on( 'js_event_wpv_pagination_completed', function( event, data ) { count = jQuery('.fight-item').length; jQuery('#current-list-count').text( count ); }); Relevant Documentation: |
|
2 | 3 | hace 6 años, 5 meses |