Home Forums Event Espresso Premium Remove link to venue details page on single retreat page

Remove link to venue details page on single retreat page

Posted: April 4, 2019 at 4:33 pm


April 4, 2019 at 4:33 pm

How can I remove the link to the venue details page from the single retreat page? I found the template code in the content-espresso_events-venues.php (Here is the line of code: <h4><?php _e( ‘Location: ‘, ‘event_espresso’ ); ?><?php echo $venue_name; ?></h4>) that is calling in a variable $venue_name which must be a string with the link in it, but where do I find the string to remove the link?


  • Support Staff

April 4, 2019 at 5:05 pm

On line 9 of that same file, you’ll find this:
$venue_name = espresso_venue_name( 0, 'details', FALSE );
if you change 'details' to 'none', the link will be removed.

Please note: The content-espresso_events-venues.php file can be copied over to your active WordPress theme where you can make the change there. This way you won’t lose the change the next time you update Event Espresso.


April 5, 2019 at 10:23 am

Hi Josh, Thank you, so easy! yes, I already have the template files copied to my child theme – thanks for the reminder.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Roberta 1 week, 6 days ago ago

Topic Tags


This topic is:
Do NOT follow this link or you will be banned from the site!