Remove the Venue Link but Keep the Venue in the Events Sidebar Widget

Home Forums Calendar Products Events Calendar PRO Remove the Venue Link but Keep the Venue in the Events Sidebar Widget

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #949727
    JM
    Participant

    Hi,

    I’ve been through the code, but just cannot find how to remove the venue link from the upcoming events sidebar widget, but keep the venue name.

    I’m sure it’s simple. Can someone help?

    #949797
    Barry
    Member

    Hi JM!

    The best starting place for changes like this one is our Themer’s Guide, which covers the basics for safely overriding and customizing our templates:

    theeventscalendar.com/knowledgebase/themers-guide

    Within the pro/widgets/modules/single-event.php you would then find this piece of code:

    <?php echo tribe_get_venue_link(); ?>

    Simply modify this to:

    <?php echo tribe_get_venue() ?>

    Do note however that this change will also impact the calendar widget (since that template is shared by both) – but if that’s not a concern this approach should meet your needs nicely 🙂

    #953450
    Barry
    Member

    Hi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Remove the Venue Link but Keep the Venue in the Events Sidebar Widget’ is closed to new replies.