Custome Venue URL

Home Forums Calendar Products Events Calendar PRO Custome Venue URL

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1516783
    jsan356
    Participant

    I can not figure out how to change the Venue URL so that I see “View Website” instead of the full address. I tried the addon but that only changes the event website URL.

    #1517745
    Jeremy
    Keymaster

    Hi,

    Thanks for reaching out to us!

    If you want to see “View Website” instead of the full address, you need to modify the template for a single Venue.

    In order to do so, here are the different steps:

    1. create a folder in your theme called tribe-events/pro/
    2. copy the file located in /wp-content/plugins/events-calendar-pro/src/views/pro/single-venue.php
    3. drop the copied file in /wp-content/themes/your-theme/tribe-events/pro/
    4. then, locate the line which says $website_link = tribe_get_venue_website_link(); (should be line #33), replace it by $website_link = tribe_get_venue_website_link(null, 'View Website'); and save.

    Please do let me know if that worked for you.

    Cheers,
    Jeremy

    #1534603
    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 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Custome Venue URL’ is closed to new replies.