Help Desk

google map link

  • | Permalink

    I tried the code below to fetch the google map raw URL. But it didn’t work. Can anyone help?

    $events = tribe_get_events();
    foreach( $events as $event ) {
       $event_id = get_the_ID();
       echo tribe_get_map_link( $event_id );
    Posts: 11236
    | Permalink

    Hi, Ryan.

    get_the_ID() isn’t what you want to use here. You should replace it with $event->ID

    That being said… you posted in our Pre-Sales forum from a user account that doesn’t have any purchases associated with it.

    We don’t answer support questions for The Events Calendar core/free or Event Tickets core/free or their paid add-ons in the Pre-Sales forum.

    If you made your purchase(s) through a different user account, please login to that account and then post in one of the paid forums.

    Thank you for your understanding and thank you for using our plugins.


    Possibly helpful references:

    Posts: 65
    | Permalink

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

The topic ‘google map link’ is closed to new replies.