Title: How to paste code between and tags
Last modified: June 16, 2019

---

# How to paste code between and tags

 *  [Angie101](https://wordpress.org/support/users/angie101/)
 * (@angie101)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/how-to-paste-code-between-and-tags/)
 * Hello,
 * I cannot find the following in my editor:
 * the <body> and </body> tags of colormag
 * Where do I find this please?
 * Example HTML page with the ad unit code added in the body
    <html> <head> This
   is the head of your page <title>Example HTML page</title> </head> <body> This
   is the body of your page.
 * XXX add code XXXX
 * </body>
    </html>

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

 *  [Nitu – ThemeGrill Support](https://wordpress.org/support/users/nitushrestha10/)
 * (@nitushrestha10)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/how-to-paste-code-between-and-tags/#post-11643930)
 * [@angie101](https://wordpress.org/support/users/angie101/)
 * If you want to do the customization within the theme then, prefer on using the
   child theme to do the customization work. And about it’s location, you can duplicate
   the header.php file within child theme and then, paste the required script/code
   as needed. Also, you can find the opening body tag within this same file. Hope
   you have got it.
 * Thanks.
 *  Thread Starter [Angie101](https://wordpress.org/support/users/angie101/)
 * (@angie101)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/how-to-paste-code-between-and-tags/#post-11647181)
 * Thanks for the fast reply.
 * I downloaded the child theme but in the dashboard the theme editor only works
   on the colormag theme not child.
 * Also duplicate header?
 * I don’t understand why and how?
 * Why doesn’t the HTML have a body tag, as
 * <body> …. </body>
 *  [Nitu – ThemeGrill Support](https://wordpress.org/support/users/nitushrestha10/)
 * (@nitushrestha10)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/how-to-paste-code-between-and-tags/#post-11647365)
 * [@angie101](https://wordpress.org/support/users/angie101/)
 * There is body tag already within the header.php file, however it is only opening
   body tag and for closing, it is in the footer.php file. And via the theme editor
   page, there in the right side, you will see: `Select theme to edit:`. There, 
   select the required theme to edit. And what we mean by duplicate is, just copy
   the header.php file of the parent theme inside the child theme folder and just,
   modify the code as needed. You can see the opening of body tag in that file as
   this code: `<body <?php body_class(); ?>>`. So, just put the required code below
   it and it should be all fine.
 * Thanks.

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

The topic ‘How to paste code between and tags’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/colormag/4.1.2/screenshot.jpg)
 * ColorMag
 * [Support Threads](https://wordpress.org/support/theme/colormag/)
 * [Active Topics](https://wordpress.org/support/theme/colormag/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/colormag/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/colormag/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Nitu – ThemeGrill Support](https://wordpress.org/support/users/nitushrestha10/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/how-to-paste-code-between-and-tags/#post-11647365)
 * Status: not resolved