WordPress plugin
Insert Headers and Footers Code Pro
Insert Headers and Footers Code Pro gives WordPress website owners one place to add code to a website's header or footer without modifying theme files. Each entry brings together the code itself, its insertion location, and the parts of the site where it should appear.
Insert Headers and Footers Code Pro gives WordPress website owners one place to add code to a website's header or footer without modifying theme files. Each entry brings together the code itself, its insertion location, and the parts of the site where it should appear.
Manage scripts and custom code
Create unlimited script entries for Google Analytics, Facebook Pixel, or other scripts. You can also add custom CSS, JavaScript, and HTML. Custom CSS and JavaScript additions work with any theme.
Choose a location and show scope
The header or footer setting controls where an entry is inserted. Its display setting controls which content receives it. Use the full-site option for code intended across the site. Pro controls can target the homepage, selected pages or posts, categories, or tags. You can also exclude pages and posts.
These options let you manage code for the whole site alongside entries intended for specific content. For example, an entry can use a header or footer location while its display rules limit it to selected pages or posts.
Create and publish an entry
- Install and activate Insert Headers and Footers Code Pro in WordPress.
- In the dashboard, open Header and Footer scripts and create a new script entry.
- Add the script, CSS, HTML, Google Analytics code, Facebook Pixel code, or JavaScript, and select the header or footer location.
- Choose the full-website option or, when targeted placement is needed, select the homepage, pages, posts, categories, or tags. Set page or post exclusions where required.
- Review the entry's location and display scope, then publish it.