Title: Head Trimmer
Author: John Dalesandro
Published: <strong>May 26, 2022</strong>
Last modified: December 22, 2025

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/head-trimmer.svg)

# Head Trimmer

 By [John Dalesandro](https://profiles.wordpress.org/dalesandro/)

[Download](https://downloads.wordpress.org/plugin/head-trimmer.1.0.4.zip)

 * [Details](https://wordpress.org/plugins/head-trimmer/#description)
 * [Reviews](https://wordpress.org/plugins/head-trimmer/#reviews)
 *  [Installation](https://wordpress.org/plugins/head-trimmer/#installation)
 * [Development](https://wordpress.org/plugins/head-trimmer/#developers)

 [Support](https://wordpress.org/support/plugin/head-trimmer/)

## Description

The **Head Trimmer** plugin for WordPress is a customizable plugin to remove automatically
generated information from the HEAD element across a site. These extras add bloat
to a website and expose WordPress version information as well as other potential
security signatures in the generated source code.

Removal options include:

 * WordPress Version
 * WordPress Version from URLs for Scripts and Styles
 * Shortlink
 * Shortlink from HTTP response headers
 * Canonical
 * Relational Links for Posts Adjacent to Current Post
 * RSS Feeds
 * Really Simple Discovery Link for xmlrpc (rsd_link)
 * Windows Live Writer Manifest File Link (wlwmanifest_link)
 * oEmbed Discovery Links
 * REST API Link
 * REST API Link Header
 * Emoji Support
 * Global Styles and SVG Filters (duotone filters)
 * Gutenberg Block CSS Styles (or set ‘should_load_separate_core_block_assets’)
 * Classic Theme Styles (classic-theme-styles)
 * DNS Prefetch for //s.w.org
 * DNS Prefetch for Google Fonts //fonts.googleapis.com
 * jQuery

## Screenshots

 * [[
 * Head Trimmer admin settings screen.

## Installation

 1. Install Head Trimmer through the WordPress.org plugin repository or by uploading
    the .zip file using the Admin -> Plugins -> Add New function.
 2. Activate Head Trimmer on the Admin -> Plugins screen.
 3. Customize settings on the Admin -> Settings -> Head Trimmer screen.

Uninstall
 1. Deactivate the plugin on the Admin -> Plugins screen. All plugin files
and settings will be retained. 2. Delete the plugin on the Admin -> Plugins screen.
This deletes both the plugin files and all plugin settings stored in the database.

## FAQ

### The setting to remove a particular element is checked. Why do I still find the element in the source?

Please verify settings for other installed plugins which may re-add an element. 
As an example, various SEO plugins may include an option to add the canonical or
relational links.

### I set the option to remove the WordPress version number from scripts and styles. Why do I still find version numbers in script and style URLs?

Head Trimmer removes the installed WordPress version number from script and style
URLs. It does not remove version numbers generated by other plugins such as caching
and optimization plugins.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Head Trimmer” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ John Dalesandro ](https://profiles.wordpress.org/dalesandro/)

[Translate “Head Trimmer” into your language.](https://translate.wordpress.org/projects/wp-plugins/head-trimmer)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/head-trimmer/), check
out the [SVN repository](https://plugins.svn.wordpress.org/head-trimmer/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/head-trimmer/) by
[RSS](https://plugins.trac.wordpress.org/log/head-trimmer/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.4

 * Adds option to remove classic themes CSS styles

#### 1.0.3

 * Adds option to set ‘should_load_separate_core_block_assets’ instead of removing
   Gutenberg Block CSS Styles entirely

#### 1.0.2

 * Minor changes to improve code readability and internationalization

#### 1.0.1

 * Minor changes to improve code readability and internationalization

#### 1.0.0

 * Initial Release

## Meta

 *  Version **1.0.4**
 *  Last updated **4 months ago**
 *  Active installations **20+**
 *  WordPress version ** 3.1 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 5.1 or higher **
 * Tags
 * [clean](https://wordpress.org/plugins/tags/clean/)[head](https://wordpress.org/plugins/tags/head/)
   [meta](https://wordpress.org/plugins/tags/meta/)[remove](https://wordpress.org/plugins/tags/remove/)
   [security](https://wordpress.org/plugins/tags/security/)
 *  [Advanced View](https://wordpress.org/plugins/head-trimmer/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/head-trimmer/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/head-trimmer/reviews/)

## Contributors

 *   [ John Dalesandro ](https://profiles.wordpress.org/dalesandro/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/head-trimmer/)