Support

Home Forums Event Espresso Premium I need help with an event listing page

I need help with an event listing page

Posted: June 16, 2016 at 9:01 pm

Viewing 1 reply thread


Riaz Budree

June 16, 2016 at 9:01 pm

Hey guys,

I have misunderstood something about Event List pages in EE4.

I have a page at /academy with the shortcode to list events.
/academy also happens to be the root for the event slugs.

So http://website.com/academy/event-name

I want an event listing along with other information about the types of events that are being held/planned.

Whenever I access /academy I get a normal page archive which I believe is the default. I had read that you can add a page and add the shortcode instead.

Now I am stuck as to how I can make a page at /academy and maintain that as the root for all events.

Please help, what have I missed?


Tony

  • Support Staff

June 17, 2016 at 5:05 am

Hi Riaz,

The /academy/ url does not actually point to a page (even if you have a page with the same slug), it is actually an archive of EE events. This means the output for that listing is not through your page but using your themes archive.php template.

I had read that you can add a page and add the shortcode instead.

Yes you can, you can use [ESPRESSO_EVENTS] to output the same event list on a standard page.

However, you can not have a page using that slug AND EE use the slug at the same time.

SO you have 2 options, you can either create your own custom archive-espresso_events.php theme template file and add any additional information you prefer within that listing. That template would be used for your /academy/ url so it allows you to setup the site as you requested but will require you are comfortable creating WP templates, PHP, the loop etc.

Or you can change the EE slug to something like ‘academy-registration’ and use the whichever shortcodes you prefer within an ‘academy’ page, then link your users directly to the academy page rather than /adacemy-registration/

Viewing 1 reply thread

The support post ‘I need help with an event listing page’ 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