Support

Home Forums Event Espresso Premium Shortcode repository?

Shortcode repository?

Posted: July 6, 2023 at 12:48 pm

Viewing 1 reply thread


Diggetydog

July 6, 2023 at 12:48 pm

I need to create an after-event support page that contains a form to survey the attendees. I wanted to display the event title and event date using a short code. I tried using [event_name event_id=1234] and [event_date event_id=1234] using the actual event ID – The shortcodes didn’t show the titles
Also, I am always looking for shortcodes within the system. Is there a “Master Document” that highlights all the available shortcodes for the entire EE system?


Tony

  • Support Staff

July 7, 2023 at 5:55 am

Hi there,

We don’t have shortcodes for event details like yu are requesting so there no document for them currently.

I tried using [event_name event_id=1234] and [event_date event_id=1234] using the actual event ID – The shortcodes didn’t show the titles

Where did you find those shortcodes?

Just to give some context here, the details you are trying to request aren’t as straightforward as they seem, event title obviously is, but the event date is not. Event Espresso allows events to have multiple DateTimes within the event, if we had a shortcode just to pull in the event date, should that be the ‘first DateTime, the next upcoming DateTime, what about the current DateTime (is one is ‘active’, as in the event is happening ‘now’), expired DateTimes automatically be filtered out? or if the DateTime is sold out and but there’s an upcoming DateTime with spaces, should the shortcode display that date rather than the current? It’s all possible to do, but everyone who uses that shortcode will want something different there.

The only shortcode available EE events at this time is one to display the ticket selector:

[ESPRESSO_TICKET_SELECTOR event_id=1234]

Viewing 1 reply thread

The support post ‘Shortcode repository?’ 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