• Resolved robanna

    (@robanna)


    I’d like to change the way a link displays on the single page view. Specifically, I’d like to make it a button and have the button say something like Register Now!

    details.php calls
    $website = tribe_get_event_website_link();
    which appears to be the entire html code that I’d like to edit

    Currently it’s something like
    <a href="https://event-url" target="_blank" rel="noopener noreferrer">https://event-url</a>

    I’d like to edit it to be:
    <a class="button" href="https://event-url" target="_blank" rel="noopener noreferrer">Register Now!</a>

    Any ideas? Where I can find the tribe_get_event_website_link function would be a big start. Or a function that would just get me the address without the rest of the html might be better (something like: $website = tribe_get_event_website_URL();)

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter robanna

    (@robanna)

    Well, That last line was just a guess but it worked.

    In details.php I replaced:
    $website = tribe_get_event_website_link();
    with:
    $website = tribe_get_event_website_url();

    That puts just the URL sans html

Viewing 1 replies (of 1 total)
  • The topic ‘Change Event Website URL on single page’ is closed to new replies.