Add "title" to venue and category hyperlink

Home Forums Calendar Products Events Calendar PRO Add "title" to venue and category hyperlink

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #70507
    hansford77
    Participant

    Hi, when I use, for example, tribe_get_venue_link, I get a hyperlink to the venue. I would like to include a title in that hyperlink, for example title=”See details of this venue”, so it can be displayed as a tooltip. I would also like to do this for event categories. How can I do that without modifying the plugin code? Thanks.

    #70794
    Chris
    Participant

    Hi there,
    You can’t exactly.

    The best way to do this is to use the get_id functions for the venues, then run it through WordPress’s permalink function.
    Example:
    For an event id

    https://gist.github.com/chriscct7/3a8841877681a9f92222

    Be aware you’ll need to play around with the syntax of how I built that $my_url one since Tribe’s site is going to mess with my quotes.

    -Chris

    #71031
    hansford77
    Participant

    Thanks. I do know how to do it with a normal link, I just didn’t really want to ditch the meta walker having just got it working so nicely! Looks like I’ll be calling the meta individually then.

    #71301
    Chris
    Participant

    Yeah unfortunately the meta walker kinda determines the link output on this one.

    -Chris

    #981713
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Add "title" to venue and category hyperlink’ is closed to new replies.