Posted: October 20, 2014 at 1:14 pm
Hi. I’m trying to use the info in template_tags.php to change the link for Event Venue from the EE Venue Page to the Venue website. The puts appends the venue website to the post url, but I just want the venue website. I am using template_tags.php as a reference, here: thanks |
|
Hi, Try the theme template for venue website: https://eventespresso.com/wiki/ee4-themes-templates/#venue-view espresso_venue_website() — |
|
Thanks, that would work but I’m trying to display the Venue Name (default), but have it link to the Venue Website (option) instead of the EE Venue Page (default) for that Venue. The code I included above has an option to do just this, but I’m not able to set the parameters correctly. |
|
Hi, that works in the current software at 4.4.3. See the coding and the result here: http://cl.ly/image/2h0j3g1c023G This is the code adjusted from a default content-espresso_events-venues.php file: There is no extra space on the php opening tags. See this: http://cl.ly/image/440M2v2i0O3h — |
|
sorry, you’re right. It works if the url is formatted with http://, not otherwise. That was my problem. Thank you |
|
The support post ‘Venue-link to website’ 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.