WordPress Speed Up Service | WordPress Website Maintenance Packages Reply To: A plugin that auto inserts code into the theme Header.php file?, by Tom Morton @zopfan, The wp_head action would be your best bet, and you could create a quick plugin that does what you need, but it sounds like you’d like this feature without having to write any code. I did some quick searching and found https://wordpress.org/plugins/header-footer/. Not sure if this is the same plugin you are referencing (and if it is, my apologies) but it seems to hook into wp_head and wp_footer to insert the code you post inside the options panel. Note: I haven’t used this plugin. Always backup your site before installing something new. Hope this helps! Tom Reply To: A plugin that auto inserts code into the theme Header.php file?