Pagination – prevent page refresh on clicking
-
Hi
I used a shortcode on custom template page to get the events list displayed:
<?php echo do_shortcode('[events_list scope="future" limit="5" pagination="1"]'); ?>
I get 5 events listed nicely and also number of pages underneath, since the list goes on. When I click on the next page to display next events, the whole website refreshes. It does display the next events but how could I stop the whole webpage refreshing?
I’ve got this code from here (it works great here): https://demo.wp-events-plugin.com/shortcode/
But it refreshes my webpage when I use it: https://praks.ee/#kalender
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Pagination – prevent page refresh on clicking’ is closed to new replies.