Support

Home Forums Event Espresso Premium Returning to a Custom Event List

Returning to a Custom Event List

Posted: September 13, 2016 at 3:43 am

Viewing 1 reply thread


raffy

September 13, 2016 at 3:43 am

I am using a page that uses a short code to where an event list in place of the default Event List that use WordPress’ normal archive pages for displaying events.

My concern is coming from the event cart checkout view the return to events list button points to the default URL for the Event List.

How is it best to make that button point to my page containing my event list and not to the default event list? Redirect 301/302? Custom plugin?

Thank you.


Tony

  • Support Staff

September 13, 2016 at 4:27 am

Hi Raffy,

There’s a filter hook that you can use to change the link:

FHEE__EED_Multi_Event_Registration__set_definitions__events_list_url

Documented here:

https://eventespresso.com/wiki/ee4-multiple-event-registration-add-on/#customizations

SO you would have a custom function like the one shown here:

https://gist.github.com/joshfeck/e51ac13a3d9fd345ad40#file-change_event_list_url-php

Set the correct URL to use within the link and add that to your themes functions.php file or Custom Functions Plugin.

Viewing 1 reply thread

The support post ‘Returning to a Custom Event List’ 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