GEO my WP Support

Use this forum for technical support and general questions related to GEO my WP plugin and its core add-ons only. For technical support and general questions related to any of the premium extensions please open a new premium support ticket.

[Not resolved]Echoing 'formatted_address' from outside of the loop

Forums Support Echoing 'formatted_address' from outside of the loop

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #55170
    Will
    Member

    Hey guys,

    We’re implementing with Ultimate Member and we’re trying to echo out the location the user has set, on their profile.

    With the search results this is fine, as it’s all contained within the loop. However I am running into issues when trying to get the address when on a single users page.

    Is there a way I can pass the current user ID to the plugin, to get the formatted_address from the $user array. Or is there a way to simply pull only the formatted_address for this user ID?

    I have tried the shortcode for a single location, populating the item_id with the user ID, but it doesn’t seem to work either.

    Any help would be appreciated.

    Thanks!

    #55223

    Hello Will and apologize for the delayed reply.

    Are you referring to the WP Users Geolocation extension?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.