WordPress.org

Ready to get started?Download WordPress

Forums

Geo Tag
Cannot get Latitude and Longitude after update (2 posts)

  1. conualfy
    Member
    Posted 1 year ago #

    Hello!

    These do not seem to work any longer in my installation:

    $latitude = get_post_meta($post_id, "geotag_latitude", true);
    $longitude = get_post_meta($post_id, "geotag_longitude", true);

    I also checked the database and I could see I have no geotag_latitude or geotag_longitude in my wp_postmeta table. I only have there *region and *country.

    Thanks!

    http://wordpress.org/extend/plugins/geo-tag/

  2. conualfy
    Member
    Posted 1 year ago #

    Found the solution, the meta keys were renamed to geo_longitude and geo_latitude. Please update the documentation on WordPress site.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic