Title: map code in to an iframe
Last modified: September 1, 2016

---

# map code in to an iframe

 *  Resolved [hssouthall](https://wordpress.org/support/users/hssouthall/)
 * (@hssouthall)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/map-code-in-to-an-iframe/)
 * Hi
 * Does anyone know if it is possible to add the place marks code in to an iframe?
   The theme I am hoping to use has a contact us section and I would really like
   to show the map with place marks added in this spot.
 * Thanks for your help!
 * Harriet
 * [https://wordpress.org/plugins/basic-google-maps-placemarks/](https://wordpress.org/plugins/basic-google-maps-placemarks/)

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

 *  Plugin Author [Ian Dunn](https://wordpress.org/support/users/iandunn/)
 * (@iandunn)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/map-code-in-to-an-iframe/#post-7516388)
 * Hi Harriet. Based on your description, I don’t see anything that would necessitate
   putting the map into an iframe, but that might just be because I don’t understand
   all of the context.
 * Are you wanting to put it inside an iframe in order to affect how the page scrolls
   or something like that?
 * I ask because putting it inside an iframe would probably require making modifications
   to your theme so that the URL being embedded into the iframe would only show 
   the map, rather than your entire site. There’s probably an easier way to achieve
   your goal.
 * It might help to link to the page so I can see what you’re trying to do.
 *  Thread Starter [hssouthall](https://wordpress.org/support/users/hssouthall/)
 * (@hssouthall)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/map-code-in-to-an-iframe/#post-7516425)
 * Hi Ian
 * Thanks for your quick response
 * I’m in the process of moving my blog to a new theme.. ONE theme.
 * At the bottom there is the Contact Us map – this is where I would really like
   to embed the map I have created using google maps placemarks.
 * But in the customisation settings it just says “Paste iframe code of map for 
   the contact section” and a blank box. I have tried putting the placemarks code
   in there but it just goes through as text.
 * My blog is [http://www.anoutdoorlifestyleblog.com](http://www.anoutdoorlifestyleblog.com)
 * Thanks so much!
 * Harriet
 *  Plugin Author [Ian Dunn](https://wordpress.org/support/users/iandunn/)
 * (@iandunn)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/map-code-in-to-an-iframe/#post-7516448)
 * Ah, ok, I see the problem now. The theme is assuming that you’ll use an external
   Google Map, rather than a custom one living on your site, which is why it asks
   for an iframe URL.
 * Unfortunately it looks like the theme was built in an inflexible way, and makes
   too many assumptions about how it’s going to be used. It should have built that
   footer area to hold Widgets that you can customize with whatever you want, but
   instead it just hard-coded a contact form and map.
 * There may be some ways around that, but they’d be specific to the theme, so the
   best person to ask is the theme developer.
 *  Thread Starter [hssouthall](https://wordpress.org/support/users/hssouthall/)
 * (@hssouthall)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/map-code-in-to-an-iframe/#post-7516477)
 * Thanks Ian – I think I will just stick with my current theme as love your custom
   map!

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

The topic ‘map code in to an iframe’ is closed to new replies.

 * ![](https://ps.w.org/basic-google-maps-placemarks/assets/icon-128x128.png?rev
   =1152531)
 * [Basic Google Maps Placemarks](https://wordpress.org/plugins/basic-google-maps-placemarks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/basic-google-maps-placemarks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/basic-google-maps-placemarks/)
 * [Active Topics](https://wordpress.org/support/plugin/basic-google-maps-placemarks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/basic-google-maps-placemarks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/basic-google-maps-placemarks/reviews/)

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [hssouthall](https://wordpress.org/support/users/hssouthall/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/map-code-in-to-an-iframe/#post-7516477)
 * Status: resolved