Is there a shortcode I can use for the event start time? If not is it hard to set up a custom shortcode? I want to put that in the email. Right now I’m using the [DATETIME_LIST] shortcode, but that returns a ul and li, I just want the text and I really just want the start date, but if I have to have the full date that’s fine.
There are multiple different shortcode libraries, parsers and data sets passed to the messages system so you need to make sure you shortcodes use the correct ones and load in the correct library.
You can do this within the messages system without having to add your own shortcodes, and whilst [DATETIME_LIST] is wrapped within a UL and the default content for DATETIME_LIST does use LI’s there is nothing stopping you from removing those from within the template and outputting the data in a different way.
You can remove the UL’s and LI’s and then use the [DATE_START] and [DATE_END] to output only the date with no time.
Note that DATETIME_LIST loops over each datetime for the registration and outputs whatever details from the section for each datetime.
Viewing 1 reply thread
The support post ‘Shortcode for event start time’ 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.