{"id":157666,"date":"2022-05-26T14:24:02","date_gmt":"2022-05-26T14:24:02","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/head-trimmer\/"},"modified":"2025-12-22T23:42:50","modified_gmt":"2025-12-22T23:42:50","slug":"head-trimmer","status":"publish","type":"plugin","link":"https:\/\/srd.wordpress.org\/plugins\/head-trimmer\/","author":18824119,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.4","stable_tag":"1.0.4","tested":"6.9.4","requires":"3.1","requires_php":"5.1","requires_plugins":null,"header_name":"Head Trimmer","header_author":"John Dalesandro","header_description":"Customizable plugin to selectively remove WordPress version information, feeds, shortlinks, xmlrpc, emoji support and other miscellaneous extras from the HEAD element.","assets_banners_color":"","last_updated":"2025-12-22 23:42:50","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/johndalesandro.com\/projects\/head-trimmer\/","header_author_uri":"https:\/\/johndalesandro.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3157,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"dalesandro","date":"2022-05-26 14:28:07"},"1.0.1":{"tag":"1.0.1","author":"dalesandro","date":"2022-06-01 14:07:56"},"1.0.2":{"tag":"1.0.2","author":"dalesandro","date":"2022-06-03 15:05:57"},"1.0.3":{"tag":"1.0.3","author":"dalesandro","date":"2022-10-26 14:31:01"},"1.0.4":{"tag":"1.0.4","author":"dalesandro","date":"2025-12-22 23:42:50"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2740794,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"Head Trimmer admin settings screen."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[4657,3195,683,3511,600],"plugin_category":[54],"plugin_contributors":[210696],"plugin_business_model":[],"class_list":["post-157666","plugin","type-plugin","status-publish","hentry","plugin_tags-clean","plugin_tags-head","plugin_tags-meta","plugin_tags-remove","plugin_tags-security","plugin_category-security-and-spam-protection","plugin_contributors-dalesandro","plugin_committers-dalesandro"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/head-trimmer.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/head-trimmer\/assets\/screenshot-1.png?rev=2740794","caption":"Head Trimmer admin settings screen."}],"raw_content":"<!--section=description-->\n<p>The <strong>Head Trimmer<\/strong> 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.<\/p>\n\n<p>Removal options include:<\/p>\n\n<ul>\n<li>WordPress Version<\/li>\n<li>WordPress Version from URLs for Scripts and Styles<\/li>\n<li>Shortlink<\/li>\n<li>Shortlink from HTTP response headers<\/li>\n<li>Canonical<\/li>\n<li>Relational Links for Posts Adjacent to Current Post<\/li>\n<li>RSS Feeds<\/li>\n<li>Really Simple Discovery Link for xmlrpc (rsd_link)<\/li>\n<li>Windows Live Writer Manifest File Link (wlwmanifest_link)<\/li>\n<li>oEmbed Discovery Links<\/li>\n<li>REST API Link<\/li>\n<li>REST API Link Header<\/li>\n<li>Emoji Support<\/li>\n<li>Global Styles and SVG Filters (duotone filters)<\/li>\n<li>Gutenberg Block CSS Styles (or set 'should_load_separate_core_block_assets')<\/li>\n<li>Classic Theme Styles (classic-theme-styles)<\/li>\n<li>DNS Prefetch for \/\/s.w.org<\/li>\n<li>DNS Prefetch for Google Fonts \/\/fonts.googleapis.com<\/li>\n<li>jQuery<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Install Head Trimmer through the WordPress.org plugin repository or by uploading the .zip file using the Admin -&gt; Plugins -&gt; Add New function.<\/li>\n<li>Activate Head Trimmer on the Admin -&gt; Plugins screen.<\/li>\n<li>Customize settings on the Admin -&gt; Settings -&gt; Head Trimmer screen.<\/li>\n<\/ol>\n\n<p>Uninstall\n1. Deactivate the plugin on the Admin -&gt; Plugins screen. All plugin files and settings will be retained.\n2. Delete the plugin on the Admin -&gt; Plugins screen. This deletes both the plugin files and all plugin settings stored in the database.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='the%20setting%20to%20remove%20a%20particular%20element%20is%20checked.%20why%20do%20i%20still%20find%20the%20element%20in%20the%20source%3F'><h3>The setting to remove a particular element is checked. Why do I still find the element in the source?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id='i%20set%20the%20option%20to%20remove%20the%20wordpress%20version%20number%20from%20scripts%20and%20styles.%20why%20do%20i%20still%20find%20version%20numbers%20in%20script%20and%20style%20urls%3F'><h3>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?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Adds option to remove classic themes CSS styles<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Adds option to set 'should_load_separate_core_block_assets' instead of removing Gutenberg Block CSS Styles entirely<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Minor changes to improve code readability and internationalization<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Minor changes to improve code readability and internationalization<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"Customizable plugin to selectively remove WordPress version information, feeds, shortlinks, xmlrpc, emoji support and other miscellaneous extras from  &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/157666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=157666"}],"author":[{"embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dalesandro"}],"wp:attachment":[{"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=157666"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=157666"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=157666"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=157666"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=157666"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=157666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}