Support

Home Forums Event Espresso Premium Designate Different Page for Events Listings

Designate Different Page for Events Listings

Posted: June 9, 2016 at 7:41 pm


cata-log

June 9, 2016 at 7:41 pm

I am updating a client’s site from EE3 to EE4 and I’m having trouble determining if there’s a way to designate a different page as the “main” events page. Currently, I’ve used shortcodes on another page to organize the events how we need them to display. But when users click “Return to Events List” from the cart, they are taken to the default “Archive” page that’s auto-generated by the system. Is there any way to change this within the CMS or will it require custom coding? We are using the MER addon.


Tony

  • Support Staff

June 10, 2016 at 5:40 am

Hi there,

It does take a little custom coding but we have an example of how to do this here:

https://gist.github.com/joshfeck/e51ac13a3d9fd345ad40

You can add that snippet of code to either your child themes functions.php or a Custom Functions Plugin and change:

http://yoursite.com/calendar

to whichever URL you prefer to use on your site.


cata-log

June 10, 2016 at 2:19 pm

Thanks Tony. We were able to change it through the use of custom coding, as suggested. It’d be nice to have that as a built-in feature in future releases, as I’m sure there are other users who would like to have more control over which page is considered the “main” event page (similar to how the other checkout & thank you pages are assigned).


Lorenzo Orlando Caum

  • Support Staff

June 10, 2016 at 3:15 pm

Hello,

I just wanted to double-check that it was added via a child theme’s functions.php file or a site specific plugin (https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/) and not the parent theme.

If it was added via the parent theme, then that customization would be lost upon updating your theme.

Thanks


Lorenzo


cata-log

June 10, 2016 at 3:17 pm

We do use a child theme on our site, so I believe the modifications were made there, but I will confirm with our developer.

The support post ‘Designate Different Page for Events Listings’ 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