Support

Home Forums Event Espresso Premium Can't Edit Event List with Archive-Espresso_events.php

Can't Edit Event List with Archive-Espresso_events.php

Posted: October 10, 2017 at 1:18 pm


Patrick Haley

October 10, 2017 at 1:18 pm

So I successully customized single event pages by placing the single-espresso_events.php file in my child theme folder. However, WHen I make changes to the archive-espresso_events.php file in the child theme the changes don’t seem to take effect. Am I missing something here?

http://www.bcsprosoft.com/events/

Thanks!


Tony

  • Support Staff

October 10, 2017 at 1:59 pm

Hi Patrick,

http://www.bcsprosoft.com/events/

Is an actual page rather than an archive. Does that have the [ESPRESSO_EVENTS] shortcode?

http://www.bcsprosoft.com/blog/events/

Is your events archive which uses archive-espresso_events.php

Are you using multisite?


Patrick Haley

October 10, 2017 at 3:41 pm

Hey Tony,

I ended up solving my customization issues through CSS after all so let’s call this one resolved.

However, in case a future user searches and finds this topic, No I’m not using multi-site, yes I have the shortcode used properly, yes my events archive uses that php file. For some reason changes to that file were not overriding the defaults.


Tony

  • Support Staff

October 11, 2017 at 5:45 am

I worded my reply poorly above and it may cause confusion for future readers so adding some additional details.

In the above example Patrick linked to:

http://www.bcsprosoft.com/events/

Which is an actual page on his site and does not use archive-espresso_events.php to output the details. It has the [ESPRESSO_EVENTS] shortcode within that page so outputs a list of events, but again does not use that template file.

http://www.bcsprosoft.com/blog/events/

Would be the default EE event list output for that site (it depends on the permalink setup what the URL of the site will be), that output will use archive-espresso_events.php template as its an archive of EE events.

I’m not sure why Patricks changes were not showing on his site but changing the above template would not change the output on /events/ for that site.

The support post ‘Can't Edit Event List with Archive-Espresso_events.php’ 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