Support

Home Forums Multiple Event Registration Add-on MER – redirect to a different page

MER – redirect to a different page

Posted: March 13, 2017 at 4:09 am

Viewing 6 reply threads


Bosworthsgc

March 13, 2017 at 4:09 am

Hi
I have activated the MER plugin

If someone wants to go to the Events list after adding one event, is it possible to change the redirect URL?

Currently it is going to mydomain.com/events which shows all events I have listed. This is fine except for two things. I have one event called Traders that is not to be on public view and only for trades for some of our events booking a pitch and two, the heading at the top lists every single event we are running and it looks messy.

Ideally I would like to redirect but if there is a way to fix the mydomain.com/event section that I could use that

Any help appreciated

Thanks


Tony

  • Support Staff

March 13, 2017 at 5:22 am

Hi there,

We have a filter in place that allows you to alter the URL used by the ‘Return to Event List’ button and an example function here:

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

Change the URL to match the URL you would like the user to directed to and add the function to a Custom Functions Plugin on the site to alter the redirect.


Bosworthsgc

March 13, 2017 at 6:25 am

Hi Tony
Thanks for the reply

I have gone ahead and followed the instructions but it still redirects to the original page

Any idea why?

Thanks
Jonathan


Tony

  • Support Staff

March 13, 2017 at 8:47 am

It could be a load order issue, did you include the function within a plugin or your themes functions.php file?


Bosworthsgc

March 13, 2017 at 8:59 am

I did it by creating a site specific plugin as per your instructions above.

Think I have done it correctly


Josh

  • Support Staff

March 13, 2017 at 5:42 pm

Hi there,

Can you go to your site’s WordPress > Plugins page and check to see if your site specific plugin is activated?


Bosworthsgc

March 15, 2017 at 4:31 am

Hi Josh

Thank you – I hadn’t activated it!

Viewing 6 reply threads

The support post ‘MER – redirect to a different 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