Home Forums Event Espresso Premium [EVENT_ESPRESSO_CATEGORY event_category_id="abcd"] listing limit ?

[EVENT_ESPRESSO_CATEGORY event_category_id="abcd"] listing limit ?

Posted: February 13, 2018 at 9:10 pm


February 13, 2018 at 9:10 pm

How can i limit the list of events under a specific category using shortcode [EVENT_ESPRESSO_CATEGORY event_category_id=”abc”] . Currently this shortcode [EVENT_ESPRESSO_CATEGORY event_category_id=”st%e2%80%a2art-1334218016″] is listing all the events but i want only to list latest 2 events .How can i do it ?


  • Support Staff

February 14, 2018 at 5:22 am

Hi there,

You should be able to use:

[EVENT_LIST event_category_id=st%e2%80%a2art-1334218016 limit=2]

EVENT_ESPRESSO_CATEGORY is basically a wrapper for EVENT_LIST.


February 14, 2018 at 8:06 pm

Thanks for your reply .
Can we just show normal lists without any register buttons or so .I mean i just want to show the name of the event not any graphics or register button .


  • Support Staff

February 15, 2018 at 6:31 am

One way to show a list without any register buttons would be to make edits to the event_list_display.php & event_list.php templates. There’s more information about how to do that in the documentation:


February 15, 2018 at 8:21 pm

Thanks Josh,
How can we do ascending and descending in shortcodes ?
Will it work : [EVENT_LIST event_category_id=st%e2%80%a2art-1334218016 limit=2 DESC]


February 15, 2018 at 8:24 pm

I do not want to show the expired events like i do not want to show an event which is scheduled yesterday .


  • Support Staff

February 16, 2018 at 8:08 am

I can point you to the documentation which includes all the syntax for filtering and ordering:

Please note when you set sort you will also need to set order_by.

The support post ‘[EVENT_ESPRESSO_CATEGORY event_category_id="abcd"] listing limit ?’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 11 months ago ago

Topic Tags


This topic is: not resolved
Do NOT follow this link or you will be banned from the site!