Support » Fixing WordPress » Embedding Google Maps in Posts & Pages, WordPress 2.7

  • Hi all.

    I’m trying to embed a Google map in a page on my WordPress 2.7 installation. The reading I did indicated that WordPress should now do the necessary iFrame – to – shortcode conversion automatically on save, and this seems to be backed up by the fact that none of the simple Googlemaps plugins seem to work in 2.7.

    When I try pasting the code in as instructed, in either the Visual or HTML editors however, the entirety of the code ends up in the post, with no map.

    Hoping someone had a suggestion, I just need to insert one map.



Viewing 3 replies - 1 through 3 (of 3 total)
  • hi, i found a solution that works, i share with all

    – install plugin and activate
    – create a file map.htm and edit with right latitude/longitude as shown:

    <iframe style="width:500px;height:400px;border:0;margin:0"
    <a href="<strong>XX.XXX</strong>,<strong>YY.YYY</strong>&spn=<strong>Z.ZZ</strong>,<strong>W.WW</strong>&z=17&source=embed" target="_blank" style="color:#0000FF;text-align:left;font-size:small">Visualizzazione ingrandita della mappa</a>

    then place it on your webserver (assume the root in this example)

    – in your post use this code
    [include file=map.htm iframe=true width=100% width=520 height=440 scrolling=no]

    that’s all, you’ll have something like this

    Ciao from Italy 😉

    sorry, double post
    edit values between strong tag XX.XXX

    now i’m gonna have a try to this too

    update: using “include it” could be a solution in some case (disabling posting for users should be safe) but for security reason code injection in your web page isn’t the best choice in my opinion.. so i’ll use this plug-in, easy and complete

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Embedding Google Maps in Posts & Pages, WordPress 2.7’ is closed to new replies.