On This Page
On This Page
Header & Footer Code
Overview
Adds site-wide code injection for header (wp_head), body open (wp_body_open with a buffer fallback), and footer (wp_footer). Use it for analytics, pixels, chat widgets, and meta tags without editing the theme. Strips PHP/ASP, expands shortcodes (up to five passes), and enforces a max snippet length. Three admin panels with code-friendly editing.

- Marketers adding pixels and analytics without a developer
- Agencies injecting the same tracking stack across client sites
- Anyone replacing theme
header.phpedits for scripts
Features
Header, body, and footer slots
Shortcode support
PHP/ASP stripped
Body-open fallback
Code-friendly admin
Use Cases
- Analytics and pixelsAdd GA4, Meta Pixel, or LinkedIn Insight Tag site-wide without theme edits.
- Chat widgetsDrop a support chat script in the footer from one admin screen.
- Meta verification tagsPlace search-console or domain verification meta in the header.
Frequently Asked Questions
What does Header & Footer Code do in WP PowerSuite?
It injects site-wide header, body, and footer snippets for analytics, pixels, chat, and meta tags without editing the theme.
How do I enable Header & Footer Code in WP PowerSuite?
Enable the module, paste snippets into the header/body/footer panels, and save.
Who should use Header & Footer Code?
Marketers and agencies who need portable site-wide scripts without theme file edits.
Can I run PHP here?
No. PHP/ASP is stripped. Use Code Snippet for managed PHP (Pro).
Is Header & Footer Code a free or Pro module in WP PowerSuite?
It is included (free) with WP PowerSuite.

