Support » Plugin: Jetpack by » Google Map short code broken

  • Resolved Enterpr1se



    I followed the instruction here
    The embed google map iframe code should change to [googlemaps] shortcode when I “Save Draft”
    But it seems does nothing, no change at all.

    Here is my google map embed code

    <iframe src=”!1m14!1m8!1m3!1d3691.4757569421718!2d114.174661!3d22.29784!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x340400ee10e9320d%3A0x22637a01d1d29d06!2z5aW95b635ZWG5qWt5aSn5buI!5e0!3m2!1szh-TW!2s!4v1400729633544″ width=”600″ height=”450″ frameborder=”0″ style=”border:0″></iframe>

Viewing 1 replies (of 1 total)
  • Plugin Contributor Brandon Kraft


    Happiness Engineer


    That’s intentional if you’re an administrator level user. With that level of account, you can post <iframe src... without a problem, so we leave the code alone. (This way, if you ever decide to stop using Jetpack for some reason, your maps will still embed). In WordPress lingo, your account can post unfiltered HTML.

    For users with the role of Author or Contributor, for example, their access does not allow them to post some types of HTML that could have security issues. To allow users with that role to post maps, which would generally be stripped out because of the <iframe>, we convert the Google Maps code into the shortcode.

    If that doesn’t make full sense, please let me know.


Viewing 1 replies (of 1 total)
  • The topic ‘Google Map short code broken’ is closed to new replies.