Support

Home Forums Event Espresso Premium List all events in a category

List all events in a category

Posted: May 5, 2021 at 9:16 am


Jeffrey

May 5, 2021 at 9:16 am

Please look at https://ceyou.org/required-training/ the Ethics category.

When I’m logged in, it has pagination at the bottom of the category listing and only displays 10 out of 12. When I’m logged out it only displays 7 of the 12 events and has no pagination.

How do I get it to display all the events on one page, without pagination?

Thanks,
MD


Tony

  • Support Staff

May 5, 2021 at 9:45 am

Hi there,

EE doesn’t change the listed events based on you being logged in/out by default, however looking at the page source on the link you gave it has this comment:

<!-- WP Fastest Cache file was created in 1.4778299331665 seconds, on 03-05-21 19:43:31 -->

When logged in you won’t see the cached page, logged out you will.

Within WP Fastest Cache you need to purge the caches or exclude that page from machine all together.


Jeffrey

May 5, 2021 at 3:18 pm

Thanks!

Can you also tell me how to remove the pagination and just display all the events on one page?


Tony

  • Support Staff

May 6, 2021 at 2:25 am

Are you just using [ESPRESSO_EVENTS] on that page?

If so you can add a limit attribute to the shortcode to set how many posts it should load per page:

[ESPRESSO_EVENTS limit=50]

Would load 50 events per page, does that help?


Jeffrey

May 6, 2021 at 8:38 am

That’s perfect – thanks.
On a related topic: is there a way to “pin” events that we choose to the top of the list so we can draw attention to them?

Thanks,
MD


Tony

  • Support Staff

May 6, 2021 at 2:47 pm

Hi there,

Currently, we don’t have an option for ‘sticky’ events.

I think with the current set up you would need to use a separate category and then call that specific category at the top of the page but I’ll check with one of our developers to see if I’m missing something for this.

The support post ‘List all events in a category’ 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