Title: Adding an iframe code to the header.php
Last modified: August 20, 2016

---

# Adding an iframe code to the header.php

 *  [sandra408](https://wordpress.org/support/users/sandra408/)
 * (@sandra408)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/adding-an-iframe-code-to-the-headerphp/)
 * Hello, I am not sure what is the safest way to put a <div> containing some text(
   with html tags linked to style.css file): <h1>business name</h1> <p>a business
   address</p> and an iframe with Google maps code (address locator). Is it ok to
   put it in the header.php (using absolute positioning), or is it better to use
   pages content area in Word Press?
 * Theme TwentyTen.
 * Thanks.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/adding-an-iframe-code-to-the-headerphp/#post-3295053)
 * Use the page content area unless you want to start creating a [child theme](http://codex.wordpress.org/Child_Themes).
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [13 years, 3 months ago](https://wordpress.org/support/topic/adding-an-iframe-code-to-the-headerphp/#post-3295054)
 * You can put as much content as you want within the header.php file. If you’re
   talking about the `<header>` section, then you should really only have a at least
   1 heading and your navigation in there.
 * Remember, you shouldn’t modify the theme’s files. When the theme updates, modifications
   to the theme’s files will erase. You can also compromise the theme by modifying
   it. There’s another issue with debugging if you’ve modified the original theme.
 * To save yourself a migraine, create a [Child Theme](http://codex.wordpress.org/Child_Themes)
   and make modifications within there.
 *  Thread Starter [sandra408](https://wordpress.org/support/users/sandra408/)
 * (@sandra408)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/adding-an-iframe-code-to-the-headerphp/#post-3295061)
 * OK, thanks everyone.

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

The topic ‘Adding an iframe code to the header.php’ is closed to new replies.

 * 3 replies
 * 3 participants
 * Last reply from: [sandra408](https://wordpress.org/support/users/sandra408/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/adding-an-iframe-code-to-the-headerphp/#post-3295061)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
