Google Map Shortcode

This plugin allows you to include instances of Google Map in your blogs using the wordpress shortcode API. You can insert maps everywhere: in your theme files, posts and pages. The use of a custom field allows you to insert posts on the maps as points.

The shortcode looks like:

and the custom field name is:


  • Allows to include more than one google map instance on your pages.
  • You can use the shortcode on your post, pages and theme files.
  • When you click on a point in the map the window box opened shows part of the content of your posts (post title, thumbnails, excerpt).
  • You can customize the html of the info window box on your maps.
  • One custom field define the address of a post.


Unzip the google-map-sc file into your plugins folder and activate it.
Go to the Google Map Shortcode Options page under settings and Insert your Google Api Key .


Insert the address in the google-map-sc-address custom fields on your posts or pages.
Decide where to show your maps and paste the shortcode in there.
In your post/page using:

In your theme files using:

Shortcode Options

This shortcode support the following options:

You can include a map with a single specific address. For example:

The Map will display the address assigned to the post with this id. When you create or edit a post or page you will have a Custom Field with the name google-map-sc-address to assign an address to this entry.

Display on the map all the address assigned to the posts under this specifics categories separated by comma.

(1 to 10) Number of points on the map.

Default 10. Initial zoom of your map.

Default 400. Width of your map

Default 400. Height of your map.

Include the links to the map points outside of the map


There is a limit in the number of requests to the google map services, so you can not include more than 10 points on maps by page,  read more here on Google Map API FAQ.



Support this and others plugins.

25 thoughts on “Google Map Shortcode”

  1. i updated wp to 3.1.1

    i can no longer get the inner popup window to work on new entries

    — am i missing (frogot) a step ??

    i am placing shortcode directly into posts…

  2. Great plugin – exactly what I was looking for. Works fine for me in WP3.1, although I did have a problem getting it to work using a custom field on the same page as the shortcode is being used, it works fine displaying positions from other posts using the Cat field.

  3. ¿Como podria conseguir a su vez un formulario para que a partir de la localizacion del mapa me de una ruta a otra direccion dada?
    Get directions.

    Por cierto un plugin maravilloso, lo unico es que carga muy lento y no se deja endeber en wordpress tabs.
    Un saludo desde Sabadell.

Leave a Reply

Your email address will not be published. Required fields are marked *