Insert Headers and Footers Code Pro gives WordPress site owners one interface for adding code to a site's header or footer without editing theme documents. Keep unlimited script entries together, and add custom CSS or JavaScript to any theme.
Code entries and site locations
Create entries for Google Analytics, Facebook Pixel, custom JavaScript, CSS, or HTML. Choose the header or footer for each entry, then set which parts of the site display it.
Choose where each entry appears
Use the full-website option for code intended across the site. Pro controls can show an entry on the homepage, selected pages, selected posts, categories, or tags. You can also exclude pages and posts. The insertion location and display conditions together determine where the entry appears.
Create and publish an entry
- Install and activate the add-on in WordPress.
- Open the dashboard's Header and Footer scripts menu and make an entry.
- Choose the header or footer, then add the script, CSS, JavaScript, HTML, Google Analytics, or Facebook Pixel code.
- Choose full-website display or select the homepage, pages, posts, categories, or tags where the entry should appear. Add page or post exclusions where needed.
- Review the entry's location and display scope, then publish it.
