Write a lot of bar or restaurant reviews or about anything that has an address? This WordPress plugin will allow you to easily place a quick loading google map at the end of any post or page when desired.
Usage
The plugin looks for a value in a custom field called static_map_address

If this field is left empty nothing will display. If you enter a full address into it a static google map of the address will display at the bottom of the post or page with a link that, when clicked, displays a small form so the reader can get directions to the location. Check out the example below on this post!

Just want to say this is a great plugin. Thank you for sharing.
Hey John, thanks a lot for the comment. I appreciate the feedback.
Hey, can I ask what script you’re using for the sliding tabs on the front page of your site? Coda Slider? I’m working on a site and can’t really find a good looking one that doesn’t cause conflicts with wordpress.
Hi Garrett,
Im struggeling to get the plugin working with a UK address. Can you help me at all?
Thanks,
Hey Phil, you’ll probably have to add the country in there too. Have you tried that?
Hello!
This seems like a really great plugin that does the essentials of adding a Google Map to a website. However, for some reason, when I try and enter my address in, this error message pops up
“Warning: Cannot modify header information – headers already sent by (output started at /LINKTO/plugins/simple-static-google-maps/simple-static-googlemaps.php:1) in /LINKTO/wp-includes/classes.php on line 1586″
I am currently using WP 2.9.2 and the latest version of the plugin (Linux/PHP Version 5.2.12)
Any help would be much appreciated. Thanks
Just to follow up on my previous comment: it seems that although the above error message appears, the data is actually ‘saved’ so the map(s) still show up… very confused now.
Came to this site by Google looking for answers on embedding maps on my page and just wanted to say thanks for your help!
Experiencing similar issue with Flick. It returns this error whenever I activate a plugin, edit posts or make a post.
—-
Warning: Cannot modify header information – headers already sent by (output started at /home/midli1/public_html/junk5760/wp-content/plugins/simple-static-google-maps/simple-static-googlemaps.php:1) in /home/midli1/public_html/junk5760/wp-includes/pluggable.php on line 868
—-
Hi,
I think a found the problem and a solution for the “headers already sent” problem:
Seems that the file was create as an XML document with a UTF8 Header:
# od -c simple-static-googlemaps.php | head
0000000 357 273 277 < ? p h p \r \n / * \r \n P l
PHP does not like this, cause the file does not start with "<?php"
So solution is easy:
Create a new file, copy everything to that file with copy and paste and rename it to simple-static-googlemaps.php
Yes, this is thé solution!
Thanks =D.
Hi Andreas, good catch thanks. Must have gotten saved wrong off the bat in Text Wrangler. I’ve created a new php file and dumped the contents into that. All should be good now.
Sir, great plugin. how can I make the map as a popup map. some button to be click then popup and how can I position the map. It appears below the star rating. Thanks in advance.. And more power.
ok, ive done the popup thing. now how can i position the map?
another problem i encountered is, it adds the plugin at the end of the exerpt. so when displaying the post in category page, you can see the map at the end of intro.
I tried using this plugin using the installation instructions here and for some reason while the address I am asking for is in Louisiana it is showing a map of NYC. When I input directions it shows the right address but the map snapshot is NYC. Can you advise?
Thanks!!
I was reading the Documentation on putting a map on my site. Than I though of looking for a plugin. I found yours and it is KISS. Wonderful simplicity at its best. Thanks loads.
hello, thanks for this plugin! very nice! I had a problem with certain addresses, turned out that they did not get properly escaped. Make sure to add this line before initiating the request:
$static_map_address = urlencode($static_map_address);How do you move the maps to the top of the page?
Hi Tia, sorry for the late reply. The div which holds the map and directions link has a class called “listing-static-map”. You could use some CSS to position it as you like.
-Garrett
thanks for the plugin.. i use the plugin on my site,, and look wonderful, go check it out..
how can I adjust where the map shows on the page, can I put it into a sidebar? or a column? How can I make it bigger and adjust the zoomlevel?
thanks, was easy as it should, now I just want to adapt it
Hi Gideon,
Currently the only way to adjust the map’s position is by adjusting the CSS for the map container class “listing-static-map”.
For the next release I will incorporate a better way to move it around and add a widget so you can put it in the sidebar.
I’ll have to check the Google API for the zoom level. I believe I can add a parameter for zoom level as well. Thanks for your comment,
-Garrett
Hi Gideon,
http://dev.ladysmithcofc.com/members/web-design/paul-mycroft-design/
I can’t seem to get it to work. Can you help?
Thanks!
- Paul
In addition, my WP site is version 3.1.1 but I see your plugin is only compatible up to 2.9.2.
Could that be the issue?
Thanks!
Hi Paul,
Strange, as far as I can tell the plugin works fine on the most recent version of WordPress; 3.1.1. Are you sure you’re using it correctly? Check the instruction in the post above quickly to be sure. Let me know if you’re still having problems. Thanks for your feedback,
-Garrett
Hi Garrett (sorry about calling you Gideon!),
Check it out:
http://dev.ladysmithcofc.com/members/web-design/paul-mycroft-design/
I added the custom field and your San Fran address but no dice.
Could it be my theme?
Thanks.
Hi Paul,
Sorry I couldn’t help you out with this, looks like you found another solution?
-Garrett