google map embed not creating shortcode

  • Author
    Posts
  • #775730

    cstrombe
    Member

    Am following the instructions here http://en.support.wordpress.com/google-maps/ to embed a google map into a post, but when I click “save draft” the iframe is not converted into shortcode, as described in step 7. So the iframe remains, and no map is visible in the post. Not sure what to check/try next. I’m assuming this is supposed to be an “out of the box” wp feature, right? I don’t need a plugin to embed maps?

    Thanks,
    Chris

    #775841

    supportbot
    Member

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

    #775842

    cstrombe
    Member

    Hmm, this is for a self-hosted wp blog, so maybe that’s the issue and I do need a plugin?

    #775978

    airodyssey
    Member

    For the answer, you’d have to ask at the WordPress.org forums as the supportbot is suggesting.

    At WordPress.com, we can’t use plugins, so we’re not in a position to help.

    #776007

    cstrombe
    Member

    Ok, thanks. Was unaware of the distinction until the supportbot informed me.

    Thanks,
    Chris

    #776085

    wonkgonewild
    Member

    I am having the same problem described above, but mine is a wordpress.com site: http://wonkgonewild.wordpress.com.

    I paste the following iframe code from google:

    <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/?ie=UTF8&ll=37.0625,-95.677068&spn=39.371738,86.572266&t=m&z=4&vpsrc=1&output=embed"></iframe><br /><small><a href="http://maps.google.com/?ie=UTF8&ll=37.0625,-95.677068&spn=39.371738,86.572266&t=m&z=4&vpsrc=1&source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small>

    When I save draft or publish wordpress.com converts the code to this:

    <a href="http://maps.google.com/?ie=UTF8&ll=37.0625,-95.677068&spn=39.371738,86.572266&t=m&z=4&vpsrc=1&output=embed">http://maps.google.com/?ie=UTF8&ll=37.0625,-95.677068&spn=39.371738,86.572266&t=m&z=4&vpsrc=1&output=embed</a>
    <small><a style="color:#0000ff;text-align:left;" href="http://maps.google.com/?ie=UTF8&ll=37.0625,-95.677068&spn=39.371738,86.572266&t=m&z=4&vpsrc=1&source=embed">View Larger Map</a></small>

    Which does not look like the shortcode example shown in the wordpress support here: http://en.support.wordpress.com/google-maps/

    Indeed, the embedded map does not display correctly, instead a link to my google map is displayed.

    I have tried clearing my cache and browsing history and using Chrome instead of Firefox to generate the code as suggested in a similar forum thread. Any other suggestions?

    #776088

    airodyssey
    Member

    @wonkgonewild: I copied-pasted that <iframe…> code into the HTML editor on one of my test blogs, clicked on Save Draft, and WordPress.com automatically converted it into a [googlemaps…] code which works just fine. Have you tried again? In other words, have you followed the instructions in the support document to the letter?

    #776089

    raincoaster
    Member

    Are you posting it into the HTML editor or the Visual editor?

The topic ‘google map embed not creating shortcode’ is closed to new replies.