Tweakr Toolkit


This plugin is a collection of common used tweaks and features – each of them can be controlled independently
It is designed as compact all-in-one solution espacially for Web-Agencies and Advanced Users with security in mind: just audit and trust a single plugin.

Visual Editor

  • VisualComponent Extension visualizes the HTML Element Structure (headings,section,p)
  • Remove the fixed-width restriction of the Editor-Area (set to 80% max)


  • Use External SMTP Mailserver to deliver mails transmitted by wp_mail
  • No Third Party libraries required! WordPress Internal PHPMailer class is used
  • Support for TLS/SSL Connections
  • Set the Mail-From-Name and Mail-From-Address manually
  • Fix phpmailerExceptions by setting the mail-from parameter to a valid address
  • Control New User Registration E-Mails (send to admin and/or user)

Permalinks/Rewrite Rules

  • Add .html extension to pages – e.g. privacy-protecton.html
  • Add .html extension to categories – e.g. category/uncategorized.html
  • Remove embed Rewrite Rules
  • Remove feed Rewrite Rules

XML Sitemap

  • Automatical XML Sitemap generation sitemap.xml (SEO)
  • Modern Search-Engines like Google, Bing can easier index your posts/pages
  • Only Posts and Pages are displayed
  • Password protected posts/pages or unpublished content is ignored!
  • XML Format regarding the specification


  • Disable XMLRPC API (Really!)
  • Restrict REST (JSON) API Access to Admin and Editor User

System Tweaks

  • Disable Emojis
  • Disable oEmbeds
  • Hide Admin Toolbar
  • Hide WordPress Generator Tag
  • Hide Windows Live Writer manifest file link
  • Hide Meta Pagination Links
  • Hide Feed Links
  • Hide Resource Hints
  • Disable RSS Feeds
  • Disable Atom Feeds
  • Disable RDF Feeds

Google Analytics

  • Google Analytics Support – just add your Tracking-ID
  • AnonymizeIP Option
  • OPT-OUT Shortcode/Button – also works with Caching Plugins or CDN Servers
  • IE8 Compatible

Piwik Analytics

  • Piwik3 Support – add your Piwik Host URL + Site ID – thats it!
  • OPT-OUT Shortcode/Button – also works with Caching Plugins or CDN Servers
  • Simple Page Name Option (Records the Document Title without Blog Name)
  • DoNoTrack Option
  • Option to add the Hostname to your Document Title (useful for multidomain sites)


  • Settings Page Overview
  • VisualComponent Extension
  • Google Analytics Options
  • Piwik Analytics Options
  • E-Mail SMTP Settings
  • Analytics OPT-OUT Button


System requirements

  • PHP 5.4 or greater
  • WordPress 4.7


  1. Upload the complete tweakr folder (WordPress Plugin) to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Settings -> Tweakr and configure it


A lot of the Tweaks/Extensions are already available as Single Plugins

Of course! But as a professional Web Agency it is much easier to develope, maintain and audit a single plugin instead of a set of 20+ plugins from different authors!

Why do you use your custom tracking code for Piwik/Google Analytics

Because of the Opt-Out Buttons code and the possibility to control the options via the settings page.

I miss some features / I found a bug

Send an email to Andi Dittrich (andi _D0T dittrich At a3non .dOT org) or or open a New Issue on GitHub

Contributors & Developers

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




  • Added: XML Sitemap Generator
  • Bugfix: Plugin Re-Activation doesn’t flush (initialize) the rewrite rules


  • Added: VisualComponents Extension to visualize the HTML Element Structure in Visual Editor Mode (headings,section,p)
  • Added: SMTP Mail Transport settings to deliver mails via external Mailserver
  • Added: Option to remove Rewrite Rules for all types of Feeds (RSS, RTF, ATOM, RSS2)
  • Added: Option to add .html extensions to Pages or Categories
  • Added: E-Mail settings to set the mail-from-address as well as mail-from-name manually
  • Changed: Settings Page Structure has been modified
  • Changed: New Piwik and Google Analytics Code
  • Changed: “Disable XMLRPC” will now force the xmlrpc.php Endpoint to return a HTTP403 Response
  • Changed: TinyMCE Autowidth is set to 95%
  • Changed: Disable oEmbeds removes also the related Rewrite Rules as well as the endpoint (embed.php template page)
  • Changed: Renamed the setting of “Fix Mail-From” – has to be activated again


  • Added: Google Analytics Tracking Option
  • Added: Piwik Analaytics Tracking Option
  • Added: Option to set the VisualEditor width to auto (max 80 percent)
  • Added: Mailfrom-Fix – it solves problems with phpmailerExceptions which are caused by a malformed/invalid email-from-address.
  • Added: New User Notification Control – enable/disable notification E-Mails for admin and/or the new user
  • PHP >= 5.4 is required


  • Initial public release.