Support » Plugin: WP Geo » WP Geo Post Meta names

  • Resolved Fobstar


    Hi there,

    Has the Post meta names changed for lan/long/title recently changed?

    Up until the last update we were able to pass on the geo coordinates to
    _wp_geo_latitude, _wp_geo_longitude, & _wp_geo_title from custom fields without any problems, however now it’s not passing on the coorginates at all.

    Appreciate your help & great plugin. Cheers

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ben Huson


    No nothing has changed. Meta get’s stored as the following and should still work:


    These keys are also defined as the following constants:


    So you can access the data like this:

    get_post_meta( $post_id, WPGEO_LATITUDE_META, true );

    If you use the constant rather than the ‘_wp_geo_latitude’ it should ensure that you always reference the correct meta data, even if it has to change to another key name in future.

    Thread Starter Fobstar


    Ok cool we have resolved our issue now. Cheers.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP Geo Post Meta names’ is closed to new replies.