Make Event Titles Link to the Event Website URL

Home Forums Additional Help Extensions Make Event Titles Link to the Event Website URL

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • #1632395
    artvallarta
    Participant

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

    #1634251
    Andras
    Keymaster

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

    #1634322
    artvallarta
    Participant

    Yes! Thanks

    #1635212
    Andras
    Keymaster

    Okay, 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,
    Andras

    #1648025
    Support Droid
    Keymaster

    Hey 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

Viewing 5 posts - 16 through 20 (of 20 total)
  • The topic ‘Make Event Titles Link to the Event Website URL’ is closed to new replies.