Customizing the Single Event

Home Forums Calendar Products Events Calendar PRO Customizing the Single Event

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #106494
    James
    Participant

    I accidentally closed an old topic before my final question was answered. With @Brook ‘s help, I’ve figured out most of my customization, but I do have one more… I’m trying to create a button from the registration web address the editor will enter when she creates a new event… here’s my code:
    ” target=”_blank”>Register Now!
    It’s not working. It seems that “tribe_event_website” isn’t a valid call, but I’m not sure what is. Read the Meta Walker quite a bit, but I think the solution isn’t there. Or maybe it is, and I’m just confused. (Very possible.)

    #106678
    Brook
    Participant

    Howdy jamesdonegan,

    Perhaps you are looking for the function tribe_get_event_website_url()? Would that work for what you need?

    – Brook

    #106866
    James
    Participant

    Yes, but I have tried that (and everything else I can think of), and it’s not working. Here’s my code — I realize I forgot to mark it as code again, so let’s see if this works….

    <a class="button" href="<?php tribe_get_event_website_url(); ?>" target="_blank">Register Now!</a>

    #106869
    James
    Participant

    NEVERMIND. I forgot the echo. 🙂

    #108096
    Brook
    Participant

    Aha! Those will get you every time. If I had a nickel for when that sort of thing happens to me… Happy to hear it’s working now.

    By the way, if you have a minute or two, we would love it if you could write a few words about the plugin here. Happy site building!

    – Brook

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Customizing the Single Event’ is closed to new replies.