Support » Plugin: Events Manager » Pagination not working properly

  • Resolved destinoalbacete

    (@destinoalbacete)


    Hi all.

    I’m using this code to display my WP Events:

    [events_list limit=6 pagination=1 ]

    The plugin is showing the 6 events correctly, and also de pagination. But the pagination is not working. When I click the number 2 pagination link, it doesn’t change the listing, but goes to another page of my WP…

    When I look at the link, I can see that, the link goes to https://mywebsite.com/?pno=2

    It’s assumed that, when anybody click the link, it should reload the list with the next 6 events, correct?

    What can I do to solve this? Thank you all.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    I tried the shortcode above and seems to be working fine; another possible cause is a plugin or theme conflict.

    You can try to install WP Safe Mode to narrow down the problem – https://wordpress.org/plugins/wp-safe-mode/

    You can also try to use ajax pagination.

    
    [events_list limit=6 pagination=1 ajax=1]
    
    Thijsonline

    (@thijsonline)

    Had the same problem when upgrading to 5.9.6 – navigating to the URL with ?pno=2 in it actually rendered a page with all sorts of WP posts and event listings in it. Had to revert to 5.9.5 to get it working again.

    I’m having a similar problem with pagination. https://artvallejo.org/?pno=2 skips ahead several days and also shows some unintended blog posts below. I disabled most pluings and tried a generic theme but no luck. ajax=1 doesn’t work at all. I think the problem started with a recent update but not certain exactly. I just updated to WP 5.3.2 and running Events Manager 5.9.7.2

    • This reply was modified 1 year, 9 months ago by webmystery.
    • This reply was modified 1 year, 9 months ago by webmystery.

    I have the same problem. When I click on a next/previous page, some strange blogs appear, but no events list. With version 5.9.5. everything is still ok, with the update to version 5.9.6 the problems came. I can’t update at the moment.

    Found out the problem cause:
    In module “events-manager/classes/em-permalinks.php” the class definition “EM_Permalinks” the array “$em_queryvars” has an element “pno”. After having replaced line 13 (“‘calendar_day’, ‘pno’,” by “‘calendar_day’,”) the pagination of the events list works. Maybe it helps to think about an update? 😉

    Thanks, @woernib

    I tried your fix, but sadly now I just sit on the same page when I try to go to https://artvallejo.org/?pno=2

    I just heard our local community radio host reading from my calendar and getting stuck halfway through Saturday’s events, and wondering how to get to the next page (I’ve diabled the pagination until this is fixed). I’m going to have to revert to the previous build… if I can find it in my backups.

    This is marked “resolved” so they’re not looking at it. Maybe I’ll start a new thread.

    Hi Webmystery,
    Strange, it works perfectly for me. Maybe there are some settings which are responsible… Good idea to open a new thread 🙂

    Kestrel

    (@luthien01450)

    Same problem here :/

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Pagination not working properly’ is closed to new replies.