A simple short code for embedding Google Maps in any WordPress post or page.
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"]
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.
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
0 of 1 support threads in the last two months have been resolved.
Got something to say? Need help?