Help Desk

disable Venue link in List View

  • Posts: 5 Topics: 4
    | Permalink

    Hi there – I’ve used this thread https://theeventscalendar.com/support/forums/topic/remove-venue-link-2/ to disable the Venue and Organizer links from the Event Details page and to disable the Organizer link from the List View.

    However, the code seems to be quite different for the Venue in the List View and I can’t figure out how to disable the link.

    I’ve got the Venue module link disabled, but can’t figure out how to edit the single-event file in List to complete the process.

    I appreciate any help you can provide!

    Thanks

    Posts: 6228 Topics: 17
    | Permalink

    Hi Chris!

    Thank you for getting in touch with us. Let me help you with this topic.

    You can instead use the tribe_get_venue_single_line_address() to get the venue name and address on a single line.

    In the following gist I modified the single-event.php file for the list view to do that:

    I hope that helps. Let me know if any follow up questions.

    Best,
    Victor

    Posts: 5 Topics: 4
    | Permalink

    Super! Works great.

    Thanks so much!

    Posts: 6228 Topics: 17
    | Permalink

    Super happy to be of help here 🙂

    I’ll close this thread now, but don’t hesitate to open a new topic if anything comes up and we’ll be happy to help.

    Cheers,
    Victor

    | Permalink

The topic ‘disable Venue link in List View’ is closed to new replies.