Support » Plugin: Event Organiser » Venue Map tooltip – How do I link upcoming events to the event page?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Stephen Harris

    (@stephenharris)

    You can use get_the_permalink() and pass it the event ID, $event->ID.

    See updated gist: https://gist.github.com/stephenharris/4988307

    Correction, I found out it was actually get_permalink($event->ID) function. Took me a while, but thanks.

    I would also like to add this to my venue map, so they can click it and go to the event page… can you provide any instruction on where I should put this code change to make that happen?

    Also, is there a way to make my venue map taller?

    where do you add this php file? ive added it to the templates folder of the plugin and it didnt change my tooltip to show the events. still just shoes the venue name and address only.

    figured it out…

    you put the code above not in its own php file, but add it to the bottom of the functions.php file in your themes folder.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Venue Map tooltip – How do I link upcoming events to the event page?’ is closed to new replies.