Is there a quick way to get mydomain.com/events/ to point to my custom events listing page? I have trawled through your forums but can’t find a solution other than customising theme etc.
/events/ is the espresso_events post type ‘slug’ so it uses your themes arhcive.php template, to change that default output you need to create a custom template for your theme (archive-espresso_events.php) to output the listing however you prefer.
However the alternative is to change the slug to something else (Event Espresso -> Events -> Templates -> Events slug) and then use a page with the slug ‘events’ to output your custom event list.
It depends on what your trying to do really and how you creating your custom event list, are you using a shortcode?
Thanks for getting back so quick – I am just wanting to direct people to my custom events listing page (created using shortcodes) when clicking “Return to Events List” during the registration process.
Change return 'http://yoursite.com/calendar'; to return whichever URL you want to use for the button. Then add that function to either your child themes functions.php file or a Custom Function Plugin.
The support post ‘/events/ 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.
Support forum for Event Espresso 3 and Event Espresso 4.