Support

Home Forums Event Espresso Premium Modifying the archive layout that is generated from a shortcode

Modifying the archive layout that is generated from a shortcode

Posted: February 14, 2019 at 11:58 am

Viewing 3 reply threads


ty bonlando

February 14, 2019 at 11:58 am

Hello!

I’m successfully able to edit and modify the archive-espresso_events.php layout by copying it to my themes directory.

This effects the main events archive, everything looks great.

When I apply a shortcode to a page, such as [ESPRESSO_EVENTS category_slug=”ticketed-event”], the layout is not effected by what I did to the archive.

Is there some sort of conditional I can put on the page template, or another template to copy over to make these look how I would like?

Thanks so much!


Josh

  • Support Staff

February 14, 2019 at 12:39 pm

Hi Ty,

You could copy over the loop-espresso_events.php and/or content-espresso_events-shortcode.php templates to your theme, then make your changes there. The loop template calls in the content/shortcode template so, as an example, you could just copy over the loop template and call in a completely different template file.


ty bonlando

February 14, 2019 at 12:44 pm

Ok thanks – that’s located in the arabica theme?


Josh

  • Support Staff

February 14, 2019 at 12:50 pm

yes, and that’s located in the /public/ folder

Viewing 3 reply threads

The support post ‘Modifying the archive layout that is generated from a shortcode’ 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