Embed Google Map  

  RSS

Mariosgr
(@mariosgr)
Member Customer
Joined: 3 months ago
Posts: 54
02/02/2019 5:54 pm  

Is it possible to embed a google map in the post?

<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3144.6154101802385!2d23.73220151532378!3d37.98610367972145!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x14a1bd36b873fb35%3A0x2389047f81f84cbf!2sThemistokleous+68%2C+Athina+106+81!5e0!3m2!1sen!2sgr!4v1549113872042" width="600" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 1 year ago
Posts: 1726
02/02/2019 6:03 pm  

Hi @mariosgr,

Please read this support topic: https://gvectors.com/forum/wpforo-embeds/support-for-google-maps/#post-8209

Please note : we've removed iframe tag from post content by default. This is an insecure tag. Please navigate to Dashboard > Forums > Tools admin page, and in Antispam tab find the option to enable extra HTML tags. Put this in the textarea:

iframe(src width height),


Mariosgr liked
ReplyQuote
Mariosgr
(@mariosgr)
Member Customer
Joined: 3 months ago
Posts: 54
02/02/2019 6:24 pm  

Already added the iframe to a post and now I can't edit it, when I open the post the wordpress bar disappear and is now all white. Is there a way to edit the post from inside the admin to remove the offending iframe?


ReplyQuote
Mariosgr
(@mariosgr)
Member Customer
Joined: 3 months ago
Posts: 54
03/02/2019 2:40 pm  

Although the map appears properly while editing after I click on update to update the post it looks like this:

[googlemaps  https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3144.6154101802385!2d23.73220151532378!3d37.98610367972145!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x14a1bd36b873fb35%3A0x2389047f81f84cbf!2sThemistokleous+68%2C+Athina+106+81!5e0!3m2!1sen!2sgr!4v1549113872042&w=600&h=450]

Original:

"<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3144.6154101802385!2d23.73220151532378!3d37.98610367972145!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x14a1bd36b873fb35%3A0x2389047f81f84cbf!2sThemistokleous+68%2C+Athina+106+81!5e0!3m2!1sen!2sgr!4v1549113872042" width="600" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>"

Looks like a shortcode?


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 1 year ago
Posts: 1726
04/02/2019 12:17 pm  

Hi @mariosgr,

It seems some of the plugins affect this. We've checked on our test websites and it works fine. Please deactivate other plugins one by one check again after each deactivation.  


ReplyQuote
Share: