Title: Google Maps Shortcode broken?
Last modified: August 20, 2016

---

# Google Maps Shortcode broken?

 *  Resolved [Gabriel Reguly](https://wordpress.org/support/users/gabriel-reguly/)
 * (@gabriel-reguly)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/google-maps-shortcode-broken/)
 * After some update(s), I have just noticed that [googlemaps] shortcode does not
   work for widgets anymore.
 * However it still works for pages, so it is not fully broken.
 * Is it by design or could it be a bug?
 * [http://wordpress.org/extend/plugins/jetpack/](http://wordpress.org/extend/plugins/jetpack/)

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Contributor [Tim Moore](https://wordpress.org/support/users/tmoorewp/)
 * (@tmoorewp)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/google-maps-shortcode-broken/#post-3138841)
 * What exactly happens for you in widgets?
 *  Thread Starter [Gabriel Reguly](https://wordpress.org/support/users/gabriel-reguly/)
 * (@gabriel-reguly)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/google-maps-shortcode-broken/#post-3138846)
 * Hi Tim,
 * Thanks for the reply.
 * Nothing happens, the shortcode is shown as if it was not processed.
 * For instance, if I put this shortcode in a text widget
 * `[googlemaps https://maps.google.com.br/maps/ms?msa=0&msid=208649434188009166040.0004c11dc9ea7f1cc408e&
   ie=UTF8&t=m&ll=-29.166794,-51.181784&spn=0.023982,0.016136&z=14&output=embed&
   w=188&h=320]`
 * the site visitors will see the shortcode unprocessed instead of the map
 * E.g. it does not produces the Google Maps iframe
 * `<div class="googlemaps"><iframe width="425" height="350" frameborder="0" scrolling
   ="no" marginheight="0" marginwidth="0" src="https://maps.google.com.br/maps/ms?
   msa=0&msid=208649434188009166040.0004c11dc9ea7f1cc408e&ie=UTF8&t=m&ll=-29.166794,-
   51.181784&spn=0.023982,0.016136&z=14&output=embed&w=188&h=320"></iframe><br /
   ><small><a href="https://maps.google.com.br/maps/ms?msa=0&msid=208649434188009166040.0004c11dc9ea7f1cc408e&
   ie=UTF8&t=m&ll=-29.166794,-51.181784&spn=0.023982,0.016136&z=14&source=embed&
   w=188&h=320" style="text-align:left">View Larger Map</a></small></div>`
 *  Plugin Contributor [Tim Moore](https://wordpress.org/support/users/tmoorewp/)
 * (@tmoorewp)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/google-maps-shortcode-broken/#post-3138847)
 * Do other shortcodes work in widgets?
 *  Thread Starter [Gabriel Reguly](https://wordpress.org/support/users/gabriel-reguly/)
 * (@gabriel-reguly)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/google-maps-shortcode-broken/#post-3138848)
 * Good question….
 * Yes, contact form 7 does work inside the text widget.
 * As I told earlier, [googlemaps] shortcode used to work, unfortunately I don’t
   exactly know which JetPack upgrade broke it 🙁
 *  Plugin Contributor [Tim Moore](https://wordpress.org/support/users/tmoorewp/)
 * (@tmoorewp)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/google-maps-shortcode-broken/#post-3138851)
 * I’ll take a look and see what I can find out.
 *  Thread Starter [Gabriel Reguly](https://wordpress.org/support/users/gabriel-reguly/)
 * (@gabriel-reguly)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/google-maps-shortcode-broken/#post-3138853)
 * Thanks Tim, good luck finding out the issue.
 *  Thread Starter [Gabriel Reguly](https://wordpress.org/support/users/gabriel-reguly/)
 * (@gabriel-reguly)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/google-maps-shortcode-broken/#post-3138877)
 * Any news about this issue?
 *  Plugin Contributor [Tim Moore](https://wordpress.org/support/users/tmoorewp/)
 * (@tmoorewp)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/google-maps-shortcode-broken/#post-3138878)
 * Not currently. We are in the middle of a large release. I will take a look at
   this ASAP.
 *  Plugin Contributor [Sheri Grey](https://wordpress.org/support/users/designsimply/)
 * (@designsimply)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/google-maps-shortcode-broken/#post-3138883)
 * Thank you for posting a specific example! I can see that part of the problem 
   may be that you are using a maps.google.com.br link, but the shortcode will only
   work with maps.google.com links.
 * Please try the following steps:
 * 1. Go to [https://maps.google.com/maps/ms?msa=0&msid=208649434188009166040.0004c11dc9ea7f1cc408e&ie=UTF8&t=m&ll=-29.166794,-51.181784](https://maps.google.com/maps/ms?msa=0&msid=208649434188009166040.0004c11dc9ea7f1cc408e&ie=UTF8&t=m&ll=-29.166794,-51.181784)
 * 2. Click the link icon near the top left, and copy the HTML from the 2nd field(
   starts with “<iframe”).
 * 3. Paste the HTML you copied into a text widget in the sidebar.
 *  Plugin Contributor [Sheri Grey](https://wordpress.org/support/users/designsimply/)
 * (@designsimply)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/google-maps-shortcode-broken/#post-3138884)
 * Hold on, I spoke too soon. If I start with a maps.google.com.br address, that
   works for me too. I would recommend trying the steps again, it worked for me 
   in several tests if I followed the instructions I listed above.
 * For #1, start at this URL instead:
    [https://maps.google.com.br/maps/ms?msa=0&msid=208649434188009166040.0004c11dc9ea7f1cc408e&ie=UTF8&t=m&ll=-29.166794,-51.181784](https://maps.google.com.br/maps/ms?msa=0&msid=208649434188009166040.0004c11dc9ea7f1cc408e&ie=UTF8&t=m&ll=-29.166794,-51.181784)
 *  Plugin Contributor [Sheri Grey](https://wordpress.org/support/users/designsimply/)
 * (@designsimply)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/google-maps-shortcode-broken/#post-3138885)
 * I’ve just realized that my steps actually totally bypass the shortcode and that’s
   the whole problem you reported in the first place 🙂 well, I’m on a role! I see
   that the shortcode issue is a bug, and I will file a bug report for it. In the
   mean time, hopefully my steps will help as a workaround if you need it.
 *  Thread Starter [Gabriel Reguly](https://wordpress.org/support/users/gabriel-reguly/)
 * (@gabriel-reguly)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/google-maps-shortcode-broken/#post-3138887)
 * Sheri, thank you very much for your efforts.
 * I am aware of the HTML text option and it was the first thing I did to stop showing
   a broken shortcode that is meaningless to site visitors.
 * My concern here was to discover if it was a change by design or simply a bug.
   Thank you for clarifying it and reporting the bug.
 * Hopefully next version of JetPack will fix it. 🙂

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Google Maps Shortcode broken?’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [googlemaps](https://wordpress.org/support/topic-tag/googlemaps/)

 * 12 replies
 * 3 participants
 * Last reply from: [Gabriel Reguly](https://wordpress.org/support/users/gabriel-reguly/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/google-maps-shortcode-broken/#post-3138887)
 * Status: resolved