WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to display a Google map of places relating to posts (eg, places I've visited).

Is there a plugin or method available that will allow me to have a Google map on a page and when creating a post, I can put in an address or lat/long for the post, so that it automatically gets added to the map?

I'm thinking of something a bit like Drupal's Location module, which adds nodes with lat/longs to a main map.

share|improve this question
up vote 2 down vote accepted

You could use this plugin, although it may only be compatible to 3.2.1. And this plugin may help you out, although it seems a little complicated to implement a map for all the posts.

You could also use a custom field for lat/long on each post, and then create markers using wpdb calls, grabbing the post_meta data, and using the Google Maps API to place the markers, but it sounds as though you'd prefer an out-of-the-box solution. If you do want to attempt this, you might use the above plugin's code as a development roadmap.

share|improve this answer
Interesting - both seem to be ideal, at first glance. Thanks! – James Oct 4 '12 at 19:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.