Google Map and Directions

Home Forums Calendar Products Events Calendar PRO Google Map and Directions

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #129235
    digitaliway
    Participant

    just purchased the plugin and I have an event with a venu saved. On the event I see the text + Google map. Is there a place I can control that text so it will gay Map and Directions? Is there a way to have the text window display when clicking on the map marker?

    #129272
    Barry
    Member

    All sorts of customizations are possible and our Themer’s Guide is a great starting point for this sort of thing. Beyond that, I’m not 100% clear as to what you want to change and where.

    Can you break your question down and perhaps even give a URL with an example of something you wish to alter? That would be awesome.

    Thanks!

    #129339
    digitaliway
    Participant

    This reply is private.

    #129586
    Barry
    Member

    You can certainly change the map output – whether with a goal of modifying it or replacing it completely – via the tribe_get_embedded_map filter, so you could explore that avenue if you wished to do some neat new thing there.

    With regards to changing the + Google Map link, you could add the following to your theme’s functions.php file (and tweak to suit):

    add_filter( 'tribe_event_meta_gmap_link', 'change_gmap_link_text' );
    
    function change_gmap_link_text( $html ) {
    	return str_replace( '+ Google Map', 'Directions', $html );
    }

    Does that help?

    #497342
    Barry
    Member

    Hi! It’s been a while so I’m going to go ahead and close this thread (and so it will no longer be monitored by staff). If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Google Map and Directions’ is closed to new replies.