WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] embedding google map html code (3 posts)

  1. qzha017
    Member
    Posted 1 year ago #

    Hi,

    I understand how to place the html map code in the php file and show the map I want, ie home.php and paste the long code there, but what if I wanted to put that map in a post, not in pages but in posts?

    <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.co.nz/maps/ms?msa=0&msid=206809597945320768203.0004d30aab2531c937494&ie=UTF8&t=m&ll=-36.878522,174.732056&spn=0.192239,0.291824&z=11&output=embed"></iframe><br /><small>View <a href="https://maps.google.co.nz/maps/ms?msa=0&msid=206809597945320768203.0004d30aab2531c937494&ie=UTF8&t=m&ll=-36.878522,174.732056&spn=0.192239,0.291824&z=11&source=embed" style="color:#0000FF;text-align:left">example</a> in a larger map</small>

    so how do I show the above google map in one of my post? I tried, adding post and switch to the html editor and paste the code there but it didn't work.

    Anyone know how to embed google map html code in posts?

    Thanks everyone

  2. iteamweb
    Member
    Posted 1 year ago #

  3. qzha017
    Member
    Posted 1 year ago #

    I want to thank you sir iteamweb!
    it is exactly what I wanted only much easier

Topic Closed

This topic has been closed to new replies.

About this Topic