Note: This method no longer works as intended due to changes in WordPress and Google maps. However, if you paste the iframe information from the Google maps page, WordPress automatically converts the frame to its own shortcode for you. At least, it’s supposed to work that way.

Adding Google maps to your WordPress installation isn’t actually difficult at all. Simply add this to your functions.php file and call using the resulting

[ googlemap ] shortcode.

//Google Maps Shortcode
function fn_googleMaps($atts, $content = null) {
"width" => '640',
"height" => '480',
"src" => ''
), $atts));
return '';
add_shortcode("googlemap", "fn_googleMaps");

And then inside the post itself:

[googlemap width="200" height="200" src="[url]"]


View Larger Map