How to easily display a cute Google Map inside your WordPress Post
Posted by Daniel - 2,253 Views
Google Map in your WordPress post? Yup, I think it’s going to be cute especially if you are blogging on topics about about traveling. I had been searching for a plugin to get a simple and easy implementation of google map into the WordPress post and yes I found it. It’s called phoogle plugin created by Justin Johnson & Chris Peneguy. It’s a good plugin with a sophisticated admin panel BUT it has a downside: it needs the Exec-PHP to be installed. Exec-PHP is a plugin which allows you to run php scripts inside your post.
If you already have Exec-PHP or similar plugin installed for some reason, you can just use the original phoogle plugin which you can get it here.
But if you don’t have Exec-PHP installed and have no intention to install it, I have a good news: Now you can use my modified phoogle plugin so you can display the Google Map without the need of Exec-PHP.
HOW TO USE THE MODIFIED phoogle PLUGIN:
The usage is very simple. All you need to do is insert the trigger tag into your wordpress post. There are two trigger tags you can use, first is the trigger tag based on coordinate points, it looks like this:
The second one is the trigger tag based on address. the following tag is an example how to use address based query to display Google Map:
Following is the map showing Venice, Italy rendered by the modified phoogle plugin, it requires no Exec-PHP like plugins.
One more thing: To be able to get the map displayed you will need a Google Map API Key, you can get it here for free.
To get the coordinate point of a city I have been using Google Earth. Please let me know if you find an easier way to get the coordinate point.
Get modifed phoogle plugin (8 KB)
The following posts are programmatically considered as related to the current post by YARPP Plugin:
- PinoezCustomMsgBox (An alternate way to display a message box)
- Adding those social bookmarking buttons at the end of your post
- How to remove your indexed pages or even your entire site from Google and Yahoo!
- Something is wrong, the Google Search Result from my blog looks bad, don’t laugh please :D
- ContuttoPDF (Wordpress Plugin to convert your Content to PDF)
One Response to “How to easily display a cute Google Map inside your WordPress Post”
Leave a Reply
Hi, my name is Daniel Nugraha, a single male live on an island called Java, Indonesia. This is the place for me to share my interest in computer programming.
-
Get my Full Feed Here
Comments - Thanks Guys :)
Rangga Kusuma: Gan, Tengkiu buat postingan yang sangat berguna. Kebetulan ada project utk bikin sms gateway, dan converter Agan sangat berguna utk...
Chuck Norton: I actually went ahead & bolted over to Justin’s Get The Image plugin here: http://justintadlock.com/ar...
Chuck Norton: Question: is it possible to insert something like [custfieldimg=”joice1.jpg,15 0,1:1″] into the actual templates instead of...
Therese Lachance: Hi, Any idea how to have ContuttoPDF fetch the correct page language?
tresloukadu: yo how did u fixed when the tags shows <? and it shows < “& l t ; ” ?? please send me an email.














August 12th, 2009 at 11:13 pm
Superbo Manifesto mate! Superb Article Keep it up