Title: Blocking Embedded Google Maps generated by shortcode won&#8217;t work
Last modified: November 15, 2021

---

# Blocking Embedded Google Maps generated by shortcode won’t work

 *  [mixali](https://wordpress.org/support/users/mixali/)
 * (@mixali)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/blocking-embedded-google-maps-generated-by-shortcode-wont-work/)
 * Hi,
    I use the plugin “XYZ PHP Code” to generate Google Maps using a **shortcode**
   on my site’s content. The plugin WP DSGVO Tools does not recognize automatically
   the script inside the shortcode.
 * I tried to put the shortcode, inside of DSGVO Tools shortcode for embedded content
   but it won’t work, the shortcode will be just displayed as plain text, instead
   of the Google Map – i.e.:
    [lw_content_block type=”gmaps”][xyz-ips snippet=”MY-
   CUSTOM-SNIPPET”][/lw_content_block]
 * will just show the raw shortcode:
    [xyz-ips snippet=”MY-CUSTOM-SNIPPET”].
 * Do you have any workarround or suggestion here?
    Thanks in advance,

Viewing 1 replies (of 1 total)

 *  Plugin Author [legalweb.io](https://wordpress.org/support/users/legalweb/)
 * (@legalweb)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/blocking-embedded-google-maps-generated-by-shortcode-wont-work/#post-15112244)
 * hi [@mixali](https://wordpress.org/support/users/mixali/),
 * it depends how your plugin embed the map. does it happen on server side or on
   client side? the sortcode only works if the plugin embeds the map on server side
   because shortcodes are processed on the server.
    if the map gets embedded dynamically,
   you could try to enable the “dynamic script blocking option” in our embedding
   section. if this also does not work, we dont support this kind of map plugin.

Viewing 1 replies (of 1 total)

The topic ‘Blocking Embedded Google Maps generated by shortcode won’t work’ is closed
to new replies.

 * ![](https://ps.w.org/shapepress-dsgvo/assets/icon-256x256.png?rev=2197914)
 * [WP DSGVO Tools (GDPR)](https://wordpress.org/plugins/shapepress-dsgvo/)
 * [Support Threads](https://wordpress.org/support/plugin/shapepress-dsgvo/)
 * [Active Topics](https://wordpress.org/support/plugin/shapepress-dsgvo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shapepress-dsgvo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shapepress-dsgvo/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [legalweb.io](https://wordpress.org/support/users/legalweb/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/blocking-embedded-google-maps-generated-by-shortcode-wont-work/#post-15112244)
 * Status: not resolved