Notifications
Clear all

Embed Google Map

5 Posts
2 Users
1 Reactions
2,727 Views
Posts: 230
Customer
Topic starter
(@mariosgr)
Member
Joined: 6 years ago

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>

4 Replies
Astghik
Posts: 6147
Admin
(@astgh)
Illustrious Member
Joined: 7 years ago

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),

Reply
Posts: 230
Customer
Topic starter
(@mariosgr)
Member
Joined: 6 years ago

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?

Reply
Posts: 230
Customer
Topic starter
(@mariosgr)
Member
Joined: 6 years ago

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?

Reply
Astghik
Posts: 6147
Admin
(@astgh)
Illustrious Member
Joined: 7 years ago

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.  

Reply
Share:
Scroll to top