WordPress plugin
Insert Headers and Footers Code Pro
Insert Headers and Footers Code Pro lets you add code to a WordPress website header or footer without editing theme files. It works with unlimited script entries, custom CSS and JavaScript for any theme, and custom HTML. You can also add Google Analytics and Facebook Pixel code.
Keep WordPress code entries in one place
Insert Headers and Footers Code Pro lets you add code to a WordPress website header or footer without editing theme files. It works with unlimited script entries, custom CSS and JavaScript for any theme, and custom HTML. You can also add Google Analytics and Facebook Pixel code.
Set the display scope for each entry
Use the full-website option for code intended to appear throughout the website. Pro controls can target the homepage, selected pages, posts, categories, or tags. You can also exclude pages and posts. For example, a script intended for one section can be limited to the relevant content instead of appearing website-wide. Check the location, selected content, and exclusions for each entry before saving.
Install and configure
- Install and activate Insert Headers and Footers Code Pro in WordPress.
- Open the add-on settings and make a code entry for the header or footer.
- Add the required script, CSS, HTML, Google Analytics code, Facebook Pixel code, or JavaScript.
- Choose full-website display or select the homepage, pages, posts, categories, or tags where the entry should appear. Set page or post exclusions when needed.
- Review the entry's location and display scope, then save the configuration.
This gives site owners and administrators a central interface for organizing additions separately from theme files. The display controls let each entry use a site-wide or more focused scope.