Support

Home Forums Event Espresso Premium [ESPRESSO_EVENTS] list of events getting paginated

[ESPRESSO_EVENTS] list of events getting paginated

Posted: June 1, 2014 at 10:56 am


Nicole Ouellette

June 1, 2014 at 10:56 am

On https://schoodicartsforall.org/2014-workshop-registration it lists all my events but after a certain # of events (50 maybe?) it adds a 2nd page. I don’t want this, I want them all on one page.

Where is this limit set?

Note – The above page is not in our menu, and I already have another page with all the events on it where i use [EVENTS_LIST events_per_page=99] but the above page seems to keep getting found by people so we want it to show all the events on one page there too.


Dean

June 2, 2014 at 2:22 am

Hi,

Unfortunately the ESPRESSO_EVENTS shortcode cannot have any parameters added to it, and there is a hardcoded limit of 50 per page.

If you don’t mind editing a template file, in the event_list.php template, you can change the events_per_page option to be 100 or whatever figure you wish.

Note, if you do edit this, it is best to copy both the event_list.php and the event_list_display.php over to the wp-content/uploads/espresso/templates and edit the file there. This will stop updates from over writing your changes.

The support post ‘[ESPRESSO_EVENTS] list of events getting paginated’ 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