I’m looking for info on changing the default link on the tooltip for a pinned event on the map view. Currently, when clicking on the pinned location on the map a tooltip shows event name which links to the event default page tribe_get_event_link(). I’d like for that link to point to the event website field tribe_get_event_website_url(). Thanks in advance.
You should be able to tweak things here. We have a filter hook (tribe_events_ajax_response) which you can use to alter the array of data used to build up map view.
This array normally contains a markers element and that in turn will be filled with arrays representing each location/tooltip – so if you’re confident working with WordPress generally you could definitely make some changes here.
This thread’s not seen much activity for the last couple of weeks so I’ll go ahead and close it. Of course if you still need help with this or any other issue please don’t hesitate to create a new thread (or threads) and one of the team will be only too happy to help. Thanks!
Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
The topic ‘Map Tooltip Event URL’ is closed to new replies.