|Tony||# Posted on May 1, 2018 at 3:12 am|
It looks like someone has tried to do exactly that and used this function incorrectly:
Those links use WP core functions to generate the URL used for the button which will never return ‘yoursite.com/calendar`, however, the URL is filterable so a function like the above can set it to whatever you want it to be.
Can you check your themes
There’s no method that is 100% for this as it depends on the server setup (which is one of the reasons EE does what it does), but you can try using a function like this:
As mentioned, that may or may not work depending on your server setup and bear in mind, if a user adds the event to the cart from an event itself, they will be directed back to that event using this function.
That text is filtered so you can use something like this:
You can change the text used on line 6, and the link used on line 10.
Add both of the above functions to a custom functions plugin on your site.