Support

Home Forums Event Espresso Premium ESPRESSO_EVENTS shortcode template location

ESPRESSO_EVENTS shortcode template location

Posted: October 24, 2016 at 8:18 am

Viewing 3 reply threads


Andrew Moreton

October 24, 2016 at 8:18 am

Hi,

I’d like to modify the output of the ESPRESSO_EVENTS shortcode so that it includes a default ticket price. However I can’t work out where the shortcodes template is and how I should proceed to modify it safely. Can you help please?, thanks

Andrew


Josh

  • Support Staff

October 24, 2016 at 10:00 am

Hi Andrew,

It actually pulls in a number of different templates depending on what’s set for the Event Listing settings. So for example, if you have the Templates > Event Listings template setting to display date times, it will use the
content-espresso_events-datetimes.php.

The main wrapper template is the second part of the content-espresso_events-shortcode.php template, where it’s inside of the is_archive() conditional. You can copy that or any other template from that folder to your WordPress theme and EE will load the template from your theme, making it safe to modify those.


Andrew Moreton

October 28, 2016 at 3:09 am

Thanks yet again Josh – that was just what I wanted,

Andrew


Josh

  • Support Staff

October 28, 2016 at 8:32 am

You’re welcome.

Viewing 3 reply threads

The support post ‘ESPRESSO_EVENTS shortcode template location’ 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