WordPress.org

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Geo Tag

This plugin adds location information to your posts and pages.

Usage

  • The data can be used in your theme by accessing it with the following methods:
  • $region = get_post_meta($post_id, "geotag_region", true);
  • $country = get_post_meta($post_id, "geotag_country", true);
  • $address = get_post_meta($post_id, "geo_address", true);
  • location is $region.",".$country
  • $latitude = get_post_meta($post_id, "geo_latitude", true);
  • $longitude = get_post_meta($post_id, "geo_longitude", true);

Shortcode Options

  • [geotag /]
  • The shortcode without any options will inject a geoJson representation of your geo tagged posts
  • If currentpostmap or postsmap option is true, a map representing the geo tagged posts will be created
  • height = height of the map in pixels
  • width = width of the map in pixels
  • order = order of the posts by ascending or descending (ASC, DESC)
  • limit = number of post (default 10)
  • currentpostmap = show map of current post (true or false)
  • postsmap = show map of multiple posts (true or false)
  • country = show map of posts from the country
  • markercolor = color of the map markers ( HTML color codes like #0000FF )
  • maptype = Google map type ( HYBRID, ROADMAP, SATELLITE, TERRAIN )
  • zoom = map zoom level

Requires: 3.0.1 or higher
Compatible up to: 3.4.2
Last Updated: 2012-12-30
Active Installs: 1,000+

Ratings

4.3 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1