Support

Home Forums Event Espresso Premium Cant find the templates

Cant find the templates

Posted: February 5, 2018 at 4:36 am

Viewing 4 reply threads


tsca

February 5, 2018 at 4:36 am

I need to customize the events page templates. The documentation says I can find templates in plugins/event-espresso/templates to copy over.

But the Templates folder is not there. I have plugins/event-espresso-core-reg/… but there is no ‘Templates’ folder in there.


Tony

  • Support Staff

February 5, 2018 at 4:47 am

Hi there,

The templates used for each section are within /event-espresso-core-reg/public/Espresso_Arabica_2014/

However the Arabica theme there is an example theme based on twentyfourteen, you can’t just copy all of the templates within that directory into your theme.

The content-* files should be fine, but you’ll need to create a single-espresso_events.php or archive-espresso_events.php from your themes single.php and/or archive.php depending on what you want to edit.

If you let me know what changes you would like to make I can advise on which templates you need to use from there.


tsca

February 5, 2018 at 4:52 am

Thanks for such a quick response Tony!

Ideally Im trying to achieve the following:

Events Listing Page

1) Make the ‘View Details’ button appear below the excerpt, not above.
2) Add a different sidebar – how can I use a different, custom template for the events listing page?

Thanks


tsca

February 5, 2018 at 5:06 am

Ok I think I may have worked it out now.

So I’ve added a archive-espresso_events.php page and a single-espresso_events.php to my child themes root folder. Ive copied the php from the parent theme to start modifying.

Can I assume this will be safe from being wiped by future updates?

Thanks


Josh

  • Support Staff

February 5, 2018 at 7:46 am

Yes the reason to use a child theme is to prevent customizations from being wiped by future updates. The exception to this would be if the child theme is distributed and gets updates.

Viewing 4 reply threads

The support post ‘Cant find the templates’ 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