Machete is a simple suite of tools that solve common WordPress annoyances using as few resources as posible. Machete doesn’t cover every single user case, but there is a huge amount of sites that would require less plugins if they used Machete.

So far, Machete includes the following tools:

Header cleanup:

WordPress places a lot of code inside the tag just to keep backward compatiblity or enable optional features. You can disable most of it and save some time from each page request while making your installation safer.

Cookie law warning:

We know you hate cookie warning bars. Well, this is the less hateable cookie bar you’ll find. It is really light, it won’t affect your PageSpeed score and plays well with static cache plugins.

Analytics and custom code:

You don’t need a zillion plugins to perform easy task like inserting a verification meta tag (Google Search Console, Bing, Pinterest), a json-ld snippet or a custom styleseet (Google Fonts, Print Styles, accesibility tweaks…).
The Google Analytics tracking code if PageSpeed optimized, GPDR friendly and has the option to track Contact Form 7 events.

Maintenance mode:

The maintenance mode that ships with WordPress is just a basic lockdown that is activated whenever you do a major update. With machete Maintenance Mode you can hide your uncomplete page from visitors and search engines, give your clients a secure temporary access and lock you site without affecting your SEO.

Post & Page cloner:

Adds a “duplicate” link to post, page and most post types lists. Also adds “copy to new draft” function to the post editor.


  • Machete Welcome screen
  • Cookie bar configuration. Why can't it be all so simple?
  • This is not your typical tracking script...


  1. Upload the plugin files to the /wp-content/plugins/machete directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Configure each tool using the corresponding link on the Machete side menu


Installation Instructions
  1. Upload the plugin files to the /wp-content/plugins/machete directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Configure each tool using the corresponding link on the Machete side menu
Doesn’t plugin X does that better?

Yes, but Machete does it well enough and probably is much lighter.


Beautiful, helpful and effective

Machete is what it says it is: a tool to cut through the bloating functions of WordPress (by easily deactivating them in a perfectly reversible way) and thus optimize performance even further (once the basics are covered: hosting, caching, asset management…). Every single function is carefully described with helpful texts and I found Machete to be a helpful addition to my WordPress installation. Thanks!


Son funcionalidades que deberían estar incluidas en el core de wp 😀

Gran plugin

Un buen plugin para solventar con el solo bastantes necesidades a la hora de insertar codigo en diferentes secciones.


No lo había probado hasta ahora y ya es uno de mis favoritos.

Muchas gracias 🙂

Read all 23 reviews

Contributors & Developers

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


“Machete” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Machete” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Improved Clone Module to make it work better with Gutemberg and complex page builders
  • Fix: In some cases the clone module didn’t copy the featured image.
  • Fix: In some cases the clone module could break the post metas.


  • Maintenance URL whitelist made more restrictive by request. Only ‘wp-login.php’ and ‘wp-admin’ accepted now
  • Changed the admin stylesheet handle to prevent HUGE SVG icons on update


  • Urgent fix: Fixes typo that prevented the maintenance page to work properly.


  • Improved the compliance of the code with the WordPress Coding Standards
  • Made some interface changes. The redundant tab menu is gone, navigation is now made using the admin sidebar menu.
  • Dropped the use of PHP sessions in the maintenance page. It uses session cookies now.
  • New: New ‘Clone item’ button on the back-end admin bar to make the admin bar compatible with the Gutenberg interface.
  • New: Added option to PowerTools to enable upload of SVG images
  • Fix: Fixed ampersand escaping error in the code editor
  • Fix: Typo in the Disabled REST API notice (props @carloslongarela)
  • Fix: PHP 5.4 empty() syntax error. Dou you realize Machete only supports PHP 5.6+? (props @luisrull and @Selupress)


  • Added option to reduce Thumbnail JPEG quality
  • Fix to allow HTML in the cookie warning text
  • Added option to PowerTools to disable RSS feeds
  • Powertools fix


  • Fixed a stupid PHP 5.4 bug (props @cheteronda)


Machete 3.1 is a completely new beast. Almost all the code has been rewritten, taking great care no to break existing sites. That is the reason version 3.0 wasn’t pushed to the WordPress directory, everything had to be tested thoroughly first.


  • Added Contact Form 7 tracking to the Analytics & Code module
  • Updated machete PowerTools
  • Added option to Machete PowerTools to disable RSS feeds
  • Refactor of Optimization module. Code is now lighter and faster.


  • Added native WordPress code editor to the custom code module
  • Added new designs for the cookie bar warning
  • Deleted old icons
  • Added option to remove Contact Form 7 refill scripts
  • Fixed option to remove jquery-migrate to reduce compatibility issues


  • New module estructure, modules are lighter and more isolated now.
  • New import-export module to backup and restore machete settings
  • Huge code refactor
  • Huge module cleanup
  • Fix module management issues in about tab
  • Fixed false ‘error saving to database’ notice


  • Optimization functions are now divided in header cleanup, feature cleanup and optimization tweaks.
  • Added options to remove medium_large thumbnail size
  • Added option to disable plugin and theme editor
  • Added option to remove comment autolinks


  • Added an option to remove the capital_P_dangit filter
  • Fixed the mobile styles of the admin tabs
  • Switched the welcome check from a transient to an option saving 3 queries from each admin pageload


  • renamed the admin.css file to admin_v2.css to prevent display problems to users who have the old stylesheet cached


  • Huge internal refactor. Machete modules can now be disabled individually.
  • New Post & Page Cloner module
  • redefined user role system. Authors can now access some function and backend actions are executed with all user levels
  • Shiny new Icons!


  • Rollback to re-enable the option to remove oEmbed Scripts. WordPress 4.8 doesn’t need the oembed script but the JSON API


  • Disabled Remove oEmbed Scripts as it interferes with WordPress 4.8 video widget


Added new actios to the optimization module:

  • Remove oEmbed Scripts
  • Slow Heartbeat
  • JS Comment reply
  • Empty trash every week

Thank you, @fpuente

  • Added ‘Anonymize user IPs’ option to analytics code


  • Fixed magic link session reported in some servers
  • Fixed the jQuery-migrate remover. It shout play better with complex themes now


  • Fixed some language strings


  • Some mayor internal changes
  • “Header cleanup” is now “WordPress Optimization”
  • Added option to disable PDF thumbnails
  • Added option to limit post revisions
  • Added option toremove jQuery-migrate
  • Updated language strings


  • Fixed an error that caused an error 500 in some environments (thanks cheteronda)
  • Some minor usability fixed on the maintenance settings page


  • Fixed a typo that prevented the use of custom content in the maintenance page
  • Updated language strings


  • Fixed a weird unexpected bug when calling get_post()


  • New maintenance and coming soon module!
  • Huge code cleanup
  • Added cursor:pointer to ‘accept cookies’ button (thanks frantorres)
  • Added ‘Restore default warning text’ link to cookie page’
  • Finished WordPress 4.7 testing
  • Updated language strings


  • (hopefully) the last modification to the cookie bar styles


  • Redesign of cookie bar. Now it looks better on small-screen devices.
  • By popular request, default cookiebar warning text is now shorter
  • minor javascript fixes


  • fixed TinyMCE error when activating emoji cleanup (thanks soyrafaramos)


  • fixed cookie bar save error on some systems (thanks carlos.herrera)


  • some minor debugging
  • saved some database writes


  • Updated language strings
  • some minor error fixes


  • huge internal cleanup
  • security improvements
  • Updated language strings
  • fixed slashes bug in cookie toolbar


  • improved error control
  • Updated language strings
  • added .pot file
  • some minor debugging


  • Some tweaks and assets added for the WordPress repository


  • Some minor cosmetical changes
  • Updated language strings


  • First publicly available version