This article is for you if you are tired of the default WordPress header but don’t know how to change it without scripts. After reading this post, you will be able to remove all unwanted scripts from your WP Header and enjoy a clean design.
I’ve noticed that WordPress adds tons of unwanted scripts to the header. I understand why, but I like to remove them as much as I can for highly focused themes. This decreases page load times, eliminates render-blocking resources, and optimizes the First Link Priority Rule.
The Script
Using the script below, add it to your themes function files. Adjust accordingly for WP version + updates: