Smart & Safe Custom Code Insertion
HeadBodyCode is a lightweight, developer-friendly plugin by AdverGroup Web Design that makes it simple to add custom code to the <head> and <body> sections of your WordPress website — including WooCommerce product pages.

🧠 Why You Need HeadBodyCode
Stop editing theme files just to add tracking scripts or structured data. HeadBodyCode provides per-page, per-post, and per-product fields so you can paste code safely — all from the WordPress Admin.
⚙️ Key Features
- Insert custom HTML, JavaScript, or Meta Tags directly into <head> or <body>.
- Supports WordPress Pages, Posts, and WooCommerce Products.
- Choose where to insert code: after opening or before closing tags.
- Safe Hooks Mode (default): Uses
wp_head,wp_body_open, andwp_footerfor maximum theme compatibility. - Built for SEO experts, marketers, and developers who need precise control.
- Fully GPLv2+ licensed — open and extendable.
🚀 Perfect For
- Google Analytics or Tag Manager tracking scripts
- Facebook, TikTok, or Meta Pixel
- Schema markup, JSON-LD, and OpenGraph tags
- Landing pages or product-specific tracking
🧩 WooCommerce Integration
Version 1.1.1 fully supports WooCommerce Products. You’ll now see the HeadBodyCode meta box when editing a product — perfect for per-product scripts like remarketing pixels or structured product data.
🔒 Safe Hooks Mode
This new default mode ensures your custom code is inserted safely via WordPress core hooks (wp_head, wp_body_open, wp_footer) — preventing broken layouts or malformed HTML from output buffering conflicts.
📜 License & Compliance
HeadBodyCode is 100% GPLv2 or later. All code and assets comply with WordPress.org guidelines.
👨💻 Developed by USA-Based WordPress Developers and Experts
AdverGroup Web Design — located in Oak Brook, Illinois — specializes in custom WordPress plugin development, WooCommerce integration, and SEO optimization. We build smart, lightweight tools for local businesses and web professionals.
Contact AdverGroup Web Design to learn more about our WordPress and WooCommerce solutions.






