This plugin allows you to add extra scripts to the header and footer of your blog by hooking into wp_head and wp_footer.
Insert Headers and Footers is a simple plugin that lets you insert code like Google Analytics, custom CSS, Facebook Pixel, and more to your WordPress site header and footer. No need to edit your theme files!
The simple interface of the Insert Headers and Footers plugin gives you one place where you can insert scripts, rather than dealing with dozens of different plugins.
If you find this plugin useful to insert header and footer scripts, please leave a good rating and consider checking out our other projects:
To learn more about WordPress, you can also visit WPBeginner for tutorials on topics like:
…and many more WordPress tutorials.
Insert Headers and Footers is the easiest way to insert code in your WordPress headers and footers.
I feel that we have done that here. I hope find Insert Headers and Footers useful to insert scripts on your site.
insert-headers-and-footersdirectory to the
/wp-content/plugins/directory. (See instructions on how to install a WordPress plugin.)
Pluginsmenu in WordPress.
Settings > Insert Headers and Footersmenu.
Yes, you can insert your Google Analytics code in the
Scripts in Header field.
Yes, to verify your account or to tag your page for Auto ads, paste the code AdSense gives you, into the Scripts in Header field.
You can use one of the three available boolean filters: disable_ihaf, disable_ihaf_footer, disable_ihaf_header and return true value in order to disable printing either on the entire page or specifically in the header or footer of a given page.