The <head> section is a really important part of a website that needs looking after!

Cleaning Up “<head>” in WordPress

WordPress is great. I work with it every day of my life. I’ve always been an incredibly neat person, and I’ve found that WordPress does a really bad job of keeping the <head> neat. When you “View Source” or check out the DOM in Chrome Developer Tools, you can immediately tell its a WordPress site with all the junk that’s injected in as meta data.

Function to Clean Up WordPress <head>

| I tinker with Front-end at | Conference Speaker | Writer | Traveller | Runner | Indie Games | Xbox | Coffee | Bourbon

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store