Support

Home Forums Event Espresso Premium ESPRESSO_EVENTS pagination not working

ESPRESSO_EVENTS pagination not working

Posted: March 8, 2017 at 5:22 am


bruce101

March 8, 2017 at 5:22 am

I have the [ESPRESSO_EVENTS LIMIT=”10″] shortcode generating the following page on my website – https://www.abclifesupport.co.uk/course-dates/.

The pagination created at the bottom of the page does not work, it simply takes you back the homepage. I am using the archive-espresso_events.php & loop-espresso_events.php files within a child theme.

How can I get the pagination working?

Many thanks in advance


Josh

  • Support Staff

March 8, 2017 at 9:57 am

Hi there,

If you temporarily remove your copies of the archive-espresso_events.php & loop-espresso_events.php template files from your theme does the pagination start working?


bruce101

March 14, 2017 at 7:35 am

Hi Josh, it makes no difference!

The following URLs are created when clicking on the pagniation at the end of the course dates:

https://www.abclifesupport.co.uk/course-dates/page/2/
https://www.abclifesupport.co.uk/course-dates/page/3/

These revert to the homepage.


Josh

  • Support Staff

March 14, 2017 at 9:31 pm

Hello again,

There may be a problem with that WordPress theme, if you view that course-dates page while logged into the site, then click on Customize, then preview a different theme, then click on the pagination links, do the correct paginated event lists begin to display?


bruce101

March 15, 2017 at 2:04 am

I’ve tried it with Twenty Seventeen and the same thing happened – pagination redirected to the homepage!

Anything else I can try?


Josh

  • Support Staff

March 15, 2017 at 7:44 am

You can rule out a potential plugin conflict. You can rule this out by temporarily deactivating any other installed WordPress plugins. Then you reactivate them one by one, while testing the pagination between each reactivation.
It may also help to turn on debug mode. You can set wp_debug to true by editing the wp-config.php file.
You can use an [FTP client][1] and [a text editor][2] to access change this line to the site’s wp-config.php file:
define(‘WP_DEBUG’, true);
[1]: http://codex.wordpress.org/FTP_Clients
[2]: http://codex.wordpress.org/Editing_Files#Acceptable_External_Editors


Josh

  • Support Staff

March 15, 2017 at 7:55 am

Also, after you’ve deactivated the other plugins for testing, you can go to the WordPress > Settings > Permalinks page. When you load that page in the admin, it forces the rewrite rules, and that in itself may fix your pagination issue.

The support post ‘ESPRESSO_EVENTS pagination not working’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso