Posted: February 11, 2023 at 9:54 pm
|
Hi, I’ve set up the list of events with the shortcode I’ve checked the WordPress Reading Settings and set both blog pages and syndication feeds to 50. That didn’t make a difference. What other settings to check please? |
Hi there, Can you link me to the page so I can take a look, please? |
|
|
Sure Tony. This is one of them… |
Hmm, very strange. So the You’re using Divi which IIRC has its own settings for posts per pages, check if any of those are conflicting here as it is likely filtering the same value we set to change those. I don’t use Divi, but IIRC the settings are in Divi -> Theme Options -> General. |
|
|
Thanks Tony. The settings on Divi was 5 which was different to the 10 before pagination on the page. I have however now updated that (Number of Posts displayed on Archive pages) to 50 but it’s still staying at 10 per page. I can’t see where the 10 is coming from. Please let me know what else I can check. |
Yeah, that’s…. odd! I’d check this with just Event Espresso activated to see if another plugin is hooking in and changing the value. First, create a database backup of the site, your host will usually have a way for you to do this or you can use a plugin: https://en-gb.wordpress.org/plugins/search/backup/ Once you have a backup, install the WP Health Check & Troubleshooting plugin: https://wordpress.org/plugins/health-check/ Then go to Dashboard -> Tools -> Site Health. Click Troubleshooting and then Enable Troubleshooting. That will deactivate all plugins and switch you to a default theme, but only for you, the logged in admin. In the admin bar you’ll see a ‘Troubleshooting Mode’ menu. Go there and then manage active plugins. Find Event Espresso and click the ‘Enable while troubleshooting’ link. Now you’ll have EE active, check the above page again, does it load correctly now? —- Note you can switch back out of Troubleshooting mode in the admin menu I mentioned above at the top. Troubleshooting Mode -> Disable Troubleshooting Mode to switch back to how it was before. |
|
|
Thanks for the steps on how to troubleshoot. I have followed them and it looks like the pagination is behaving when using the default theme. So I went ahead and switched to Divi to check. At first, the pagination is still behaving but after I’ve refreshed like 3 times, then it appears back again. How should I go about this from here? Thanks. |
|
Actually, the weirdest thing just happened…after I’ve disabled troubleshooting mode, the problem appears to have gone away! I’ll check further and update again. |
|
Nope, only when I’m logged in. After I logout, the pagination appears again. Any clues there? |
|
No worries, I’ve figured it out that there are 2 pages that are similar and we are viewing the wrong page! Sorry for the confusion everywhere! However, the pagination defaults to 10 if the limit is not set in the shortcode. I’ve put the limit to 50 at the moment. Is there a better way of having a full list of events displayed without pagination? |
Hi there, We use a default value of 10 on the ESPRESSO_EVENTS shortcode to prevent timeouts for users loading large numbers of datetime/tickets within the event lists. It’s possible to change the default value via a snippet if you are comfortable adding some PHP to the site? Failing that you just need to set the limit attribute on the shortcode each time. The post_per_page setting you have been changing above will alter how many events are displaying on the default event list output which is /events/ by default: |
|
|
I think we’ll just stick with setting the limit to 50. Like you said there can be timeout issue for large number of records so I think that’s good enough for now. Thanks for your advice and patience with this one. |
No problem at all. Something else to note is that with Divi, that /events/ output is a little…. limited. But if you enable Blog Style mode within divis settings it should look more like the ‘regular’ event lists. |
|
|
Ok thanks Tony. |
The support post ‘Event list with no pagination’ 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.