HomeMenu

How easy is it to show a Google Map on your page? Well, I think it's pretty simple! Take a look:

Code

[map address="1234 AnyStreet Somewhere, AK, 555555" width="500" height="300"]

That's it! What do you think?

Now why would you use this over the embed code that you can get from the Google Maps site? Unfortunately those maps use Iframes which can get stripped out of the content editor whenever you're in Visual mode. Using the shortcode means that your map will never be stripped out accidentally when you edit your content in the future.

Give it a try, and see how you like it. The next step for this shortcode is to add the ability to get directions on the same page. When directions are added, it'll be announced right here on the blog, so check back soon!


Share Your Thoughts!