Support

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

Viewing 2 reply threads


Integral Zen, Inc

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?


Josh

  • 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.


Integral Zen, Inc

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.

Viewing 2 reply threads

The support post ‘Remove link to venue details page on single retreat 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