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