DiggingIntoWordPress

by Chris Coyier & Jeff Starr

Daily archives: Tuesday, January 19, 2010

Google Maps Shortcode

Posted by on

David Hollander of SparkWeb Interactive sent us in a little code clip for inserting Google Maps into Posts/Pages by the use of shortcodes. Google actually has copy-and-pastable iframe code already in Google Maps that is really easy to snag, but David was having problems with the Visual text editor screwing up the code when saving the Post. With a short code, no problem.

Code is poetry