Support

Home Forums Event Espresso Premium Events Page template loads as Event Archives

Events Page template loads as Event Archives

Posted: September 26, 2014 at 5:10 am


Julie Hu

September 26, 2014 at 5:10 am

Not sure what’s wrong but when I click on my events it brings me to the events archived page. On the page properties it says it’s on the default template. Where should I start looking to solve this problem?


Tony

  • Support Staff

September 26, 2014 at 5:24 am

Hi Julie,

The /events/ pages for Event Espresso is actually the archive page for our custom post type. This will overrule a Page with the slug of ‘events’ when being displayed.

Are your events not being displayed at all within /events/?


Julie Hu

September 26, 2014 at 2:25 pm

The events are displaying correctly, but it now has the “blog archives” heading and missing the widgets on the default page template.


Josh

  • Support Staff

September 26, 2014 at 6:41 pm

Hi Julie,

If you open up your WordPress theme’s files, you’ll likely find an archive.php template, and a single.php template. If you don’t find those, please check with the theme’s documentation to find out what its equivalents are to those two.

Then, you can make a duplicate of archive.php, and give it a new name:
archive-espresso_events.php. Then, you can open up this new file and find the line of code that prints the words “blog archives”. It’s also possible to make it a single column layout, and the theme documentation may have the steps outlined to make this happen.


Julie Hu

October 2, 2014 at 5:04 am

Thanks I just found that in the docs! thanks for the help


Dean

October 2, 2014 at 5:50 am

Please let us know if you require any more assistance.

The support post ‘Events Page template loads as Event Archives’ 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