Title: What About Adding Code To
Last modified: February 20, 2023

---

# What About Adding Code To

 *  Resolved [Lisa Hogan](https://wordpress.org/support/users/lisascraftiques/)
 * (@lisascraftiques)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/what-about-adding-code-to/)
 * Looking for plugin that will also allow me to add code in <body>. Is this possible
   with this plugin or just header and footer?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/what-about-adding-code-to/#post-16490066)
 * Hi [@lisascraftiques](https://wordpress.org/support/users/lisascraftiques/),
 * Yes, WPCode allows you to insert snippets in the body using either the global
   scripts settings under Header & Footer or adding snippets with the location “
   Site Wide Body”.
 * The only thing to keep in mind here is that your theme has to support the [wp_body_open](https://developer.wordpress.org/reference/functions/wp_body_open/)
   hook. Most modern themes do, but not all.

Viewing 1 replies (of 1 total)

The topic ‘What About Adding Code To’ is closed to new replies.

 * ![](https://ps.w.org/insert-headers-and-footers/assets/icon-256x256.png?rev=2758516)
 * [WPCode - Insert Headers and Footers + Custom Code Snippets - WordPress Code Manager](https://wordpress.org/plugins/insert-headers-and-footers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-headers-and-footers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-headers-and-footers/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-headers-and-footers/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/what-about-adding-code-to/#post-16490066)
 * Status: resolved