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]Displaying Latitude and Longitude of Post

Home Forums Support Displaying Latitude and Longitude of Post

This topic contains 2 replies, has 2 voices, and was last updated by  Kevin Brennan 1 month, 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #59827

    Kevin Brennan
    Participant

    We would like to display the numerical latitude and longitude of the post, along with the map on the post. Is this possible? Could you point me in the right direction of the code to make this happen?

    #59828

    Eyal Fitoussi
    Keymaster

    Hello Kevin,

    To display the map of a post you can use the Single Location shortcode.

    To display the latitude and longitude of a post you can use the shortcode:

    When using this shortcode in the content of a post or in a Single Post template file you don’t need to specify the post ID. Otherwise, you can use the shortcode attribute “post_id” to specify a specific post.

    I hope this helps.

    #59832

    Kevin Brennan
    Participant

    Thanks Eyal, that did the trick.

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

You must be logged in to reply to this topic.