Home Forums Event Espresso Premium Show next event date and registration for specific category_slug

Show next event date and registration for specific category_slug

Posted: October 9, 2019 at 1:13 am


October 9, 2019 at 1:13 am


Is it possible for a specific category, to show only next event date and link to registration?

Fx for category_slug=XYZ

Next course <date> <registration>



  • Support Staff

October 9, 2019 at 5:55 am

Hi Mads,

Just to confirm, you just want to output Next course <date> <registration>?

May I ask where you want to output the above?


October 9, 2019 at 6:39 am

Hi Tony

Below each listed course (PSF, PSM, PSPO etc. on i would like to show next scheduled date and a link to registration (for category_slug=PSF, category_slug=PSM, category_slug=PSPO etc).



  • Support Staff

October 11, 2019 at 6:51 am

EE doesn’t have a shortcode to do the above, but you can add one to a custom functions plugin, for example:

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

That function adds a [NEXT_UPCOMING_EVENT category_slug={slug}] shortcode and outputs ‘Next course {start date} – Register’ but can be changed on this line.

You must be logged in to reply to this support post. Sign In or Register for an Account

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: publish

Updated by  Tony 5 days, 11 hours ago ago

Topic Tags


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