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.

All Machete tools have two things in common: they solve a problems faced by many web developers and they do it using as few server resources as possible.

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.

Social Sharing Buttons:

Social sharing made the Machete way. The icons are made as a custom webfont embedded in a CSS minified file that only weights 5.8Kb. The sharing actions are made uning each platform\’s native share URLs.

Tangkapan Layar

  • 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


Doesn’t plugin X does that better?

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

Is there any set-it-and-forget it alternative to Machete?

Machete is meant to be used as a development suite. If you are looking for a simpler solution to cut out WordPress bloat, you should have a look at WordPress WPO Tweaks & Optimizations by fernando Tellado

Why does Wordfence show a warning when I save my options?

Machete caches some of its options to files located in wp-content\uploads\machete\ lo speed up loading. This is completely safe, but it’s not a normal WordPress behaviour and it might make plugins like WordFence raise a warning. Just whilelist the action, save again and you’ll be fine.

Why doesn’t Machete have an option to disable Gutenberg?

Like it or not, the WordPress Block Editor (codenamed Gutenberg) is here to stay. Instead of disabling Gutenberg, you should be focusing on updating you workflow to use it. If you need to disable gutenberg during the transion, you should use the official Classic Editor plugin


21 Desember 2019
cool plugin many option , you need to add more tool in it , its still very usefull allready
25 Oktober 2019
Todo lo básico en un solo plugin que no te satura de código innecesario. 10/10.
Baca semua 32 tinjauan

Kontributor & Pengembang

“Machete” adalah perangkat lunak sumber terbuka. Berikut ini mereka yang sudah berkontribusi pada plugin ini.

Para Kontributor

“Machete” telah diterjemahkan kedalam 2 lokale. Terima kasih kepada para penerjemah untuk kontribusi-nya.

Terjemahkan “Machete” dalam bahasa Anda.

Tertarik mengembangkan?

Lihat kode, periksa repositori SVN , atau mendaftar ke log pengembangan melalui RSS.

Log Perubahan


  • Minor CSS fix


  • New: remove generator tag from RSS feeds
  • Fixed social share title that dissapears if no placeholder
  • Fixed social share WhatsApp URL
  • Updated description wp_generator also removes woocommerce generator tag


  • New Social Sharing Buttons module
  • Lots of tiny changes to adhere to WordPress Coding standards
  • Minor Gutenberg compatibility fixes
  • Fixed the position of the admin notices on Machete admin pages
  • Fixed WP-Cli Warnings (finally). Props to @angelfplaza and @oterox


  • 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