WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Simple Google Maps Short Code

A simple short code for embedding Google Maps in any WordPress post or page.

  1. Can I change the width or height of the map?

Yes, simply supply a width and height parameter:

[pw_map address="New York City" width="400px" height="200px"]

You can also use percentages for heights:

[pw_map address="New York City" width="50%" height="200px"]
  1. How are the maps cached?

Maps are cached using the WordPress Transients API, which allows for very simple database-based caching.

Each time you display a map, the address specified is used to generate a unique md5 hash, which is used for the cache identifier. This means that if you change the address used for your map, the cache will be refreshed.

  1. How often do caches refresh?

The maps are cached for 3 months. Caches are automatically cleared (for individual maps) when you change the address in the short code.

Requires: 3.2 or higher
Compatible up to: 3.6.1
Last Updated: 2013-3-21
Downloads: 20,275

Ratings

4 stars
4.7 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

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 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1