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…).

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.



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

Muchas gracias 🙂

Simple and very useful plugin

Genial para poner un poco de orden y limpieza en el código sin tener que usar el archivo functions.php ¡Muy recomendable!

Great to put some order and cleanliness in the code without having to use the functions.php file. Highly recommended!

Es una maravilla

El plugin me ha dado unos resultados sorprendentes, de hecho mejores de lo que esperaba sinceramente y ademas me ahorra la necesidad de instalar plugins adicionales tan necesarios como el de Google Analytics. Me ha convencido tanto que estoy instalando en todas las páginas que administro.

Muy recomendable

Hace lo que dice y te evita tener que instalar otros que son muchos más pesados y que realmente no te merece la pena. Gracias por esta gran herramienta.

Read all 18 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.



  • 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