Home › Forums › Additional Help › Extensions › Make Event Titles Link to the Event Website URL
- This topic has 18 replies, 2 voices, and was last updated 5 years, 6 months ago by Andras.
-
AuthorPosts
-
September 27, 2018 at 10:11 am #1632395artvallartaParticipant
hmmm…. no luck
<div class=”tribe-events-meta-group tribe-events-meta-group-venue”>
<?php esc_html_e( tribe_get_venue_label_singular(), ‘the-events-calendar’ ) ?>
<dl>
<?php do_action( ‘tribe_events_single_meta_venue_section_start’ ) ?><dd class=”tribe-venue”> <?php echo strip_tags( tribe_get_venue() ) ?> </dd>
<?php if ( tribe_address_exists() ) : ?>
<dd class=”tribe-venue-location”>
<address class=”tribe-events-address”>
<?php echo tribe_get_full_address(); ?><?php if ( tribe_show_google_map_link() ) : ?>
<?php echo tribe_get_map_link_html(); ?>
<?php endif; ?>
</address>
</dd>
<?php endif; ?>October 1, 2018 at 2:23 am #1634251AndrasKeymasterSorry to hear that.
Things are getting a blurry here, so let’s take a step back to make sure we are talking about the same thing.
Based on my understanding you would like to
- Remove the clickability / url from the venue name
- from the day view (e.g. this page)
Is that right? Thanks for confirming / clarifying.
A.
October 1, 2018 at 5:39 am #1634322artvallartaParticipantYes! Thanks
October 2, 2018 at 3:22 am #1635212AndrasKeymasterOkay, that is a bit different then.
Copy this file:
wp-content/plugins/the-events-calendar/src/views/day/single-event.php
here:
wp-content/themes/twentysixteen-child/tribe-events/day/single-event.php
Add one line after line 49. It will look like this afterwards:
$address_delimiter = empty( $venue_address ) ? ' ' : ', '; $venue_details['linked_name'] = strip_tags( $venue_details['linked_name'] );
Hopefully this will fix it.
Cheers,
AndrasOctober 24, 2018 at 9:35 am #1648025Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Make Event Titles Link to the Event Website URL’ is closed to new replies.