Posted: March 10, 2017 at 3:32 pm
When in the backend editing the venue I need to add the http:// manually before the website link. Kind regards, |
|
*Edit previous post. |
|
So, you can’t add a link without the Can you add the url to the description of the venue? |
|
Hi Kristof, I looks like you’d rather display the venue name as a hyper link using url provided within the Venue Website field, like this – http://take.ms/D7A21 Is that correct? If so the function output within that page is ‘pluggable‘ which means you can override it by adding your own function with the same name. So if you create a Custom Functions Plugin and add this function to it: https://gist.github.com/Pebblo/2c547c70fc6d3e4521df8de88c68c533 That will display the link using the venue name as the link text shown above. Is that what you are looking for? |
|
Excellent answer Tony. Thanks a lot! That was indeed what i was looking for. |
|
Yes but not using the template_tag and helper functions in the above, you’d need to build out your own link. You have full control over the URL using the above function, so you can output it however you prefer but you’ll need to build the URL. Take a look at that |
|
Great! Thanks a lot! Was already looking into core to see if i could figure it out. Thanks again for your help. |
|
You’re most welcome, Kristof. |
|
The support post ‘Venue website link’ 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.