=== Google Maps Short Code === Author URI: http://www.dkarfawork.com Plugin URI: http://www.dkarfawork.com/wp/google-maps-code Contributors: Debabrata Karfa Donate link: http://www.dkarfawork.com Tags: Google Maps, Google Map, Short Code Requires at least: 3.2 Tested up to: 3.6 Stable Tag: 1.0.0
Short code for embedding Google Maps in any WordPress post or page for Satelite View.
== Description ==
This plugin will enable a simple short code that you can use for embedding Google Maps in any WordPress post or page. The short code uses the WordPress HTTPS API and the Transients API for delivering cached maps with little to no impact on your site's performance.
Maps are displayed with the [pw_map]] short code:
[dkgm_map address="New York City"]
== Frequently Asked Questions ==
- Can I change the width or height of the map?
Yes, simply supply a width and height parameter:
[dkgm_map address="New York City" width="400px" height="200px"]
You can also use percentages for heights:
[dkgm_map address="New York City" width="50%" height="200px"]
- 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.
- 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.
== Installation ==
- Activate the plugin
- Added [pw_map address="your address here"] to any post or page
== Changelog ==
= 1.0 =
- First release!