WP Local Toolbox
A simple plugin to help manage development over local, staging and production servers.
The facts
- Rating
- 4.6★ from 7
- Active installs
- 80+
- Price
- Free
- Last updated
- 25 Jun 2015
- Added
- Apr 2015
- Tested up to
- WP 4.2.39
- Downloads
- 7,346
Our analysis
AI-assistedWP Local Toolbox is a WordPress plugin designed for managing various aspects of your site during development and staging. It allows you to disable plugins, control admin bar visibility, and set search engine visibility through constants defined in wp-config.php, without the need to alter the database.
This plugin is suitable for developers and site administrators who want to streamline their workflow by managing server environments and notifications efficiently. It offers features like custom admin bar colours and post update notifications via email or Slack.
Best for: This plugin suits developers and site administrators managing local or staging WordPress environments.
What it does well
- ✓Disables plugins without database changes
- ✓Customises admin bar colour based on server environment
- ✓Controls visibility of the admin bar on the frontend
- ✓Sends notifications for post updates via email or Slack
- ✓Free to use from the WordPress.org directory
Where it falls short
- •Requires installation as an mu-plugin for some features
- •Limited information available about support and updates
Verdict
WP Local Toolbox offers useful features for managing development environments, but its reliance on mu-plugin installation may limit its accessibility for some users.
From the developer
joeguilmette's own description of WP Local Toolbox, lightly tidied.
Through constants defined in wp-config, you can disable plugins, disable the loading of external files, set search engine visibility, display or hide the admin bar, display the server name and change the color of the admin bar, or literally anything else you can think of. All without touching the database, so you can push and pull without worrying.
For support, pull requests, and discussion: https://github.com/joeguilmette/wp-local-toolbox
Admin Bar
Change the color of your admin bar and display the name of the current server environment. Green for local, orange for staging, and of course, red for production. You can also force the front end admin bar to hide, to display, and can even set it to display when logged out.
-
WPLT_SERVER: The name of your server environment. It will be displayed in the admin bar at browser widths greater than 1030px. If left undefined, the plugin will make no changes to the admin bar.
If not defined as
PRODUCTIONorLIVE, the plugin will enable ‘Discourage search engines from indexing this site’ to prevent your development and staging servers from being indexed. This option is not stored in the database, so your production server will still look to the actual setting on the Reading page. -
WPLT_COLOR: Determines the color of the admin bar. You can set this to any CSS color. If left undefined, will use the following defaults:
- PRODUCTION / LIVE: red
- STAGING / TESTING: orange
- LOCAL / DEV: green
WPLT_ADMINBAR: Show or hide the admin bar on the frontend.
FALSEwill force it to be hidden,TRUEwill force it to display,ALWAYSwill display the admin bar even when logged out. These settings will override the ‘Show toolbar’ setting in the ‘Users > Your Profile’ options panel andadd_filter('show_admin_bar', '__return_false');in functions.php, but doesn’t attempt to overcome any CSS based hiding of the admin bar.In wp-config.php:
// set server environment to 'LOCAL' define('WPLT_SERVER', 'local'); // set admin bar color to #800080 define('WPLT_COLOR', 'purple'); // show the admin bar even when logged out define('WPLT_ADMINBAR', 'always');Disable Plugins
Pass a serialized array in this constant to disable plugins. This does not store any data in the database, so plugins that are manually deactivated or activated through the admin panel will stay so.
In order for this feature to function properly, WP Local Toolbox must be installed as an mu-plugin. You can read more about mu-plugins here: https://codex.wordpress.org/Must_Use_Plugins. We’re investigating ways to avoid this requirement; if you have any ideas we’d love to hear it!
- WPLT_DISABLED_PLUGINS: A serialized array of plugins to disable.
In wp-config.php:
// deactivate a set of plugins define('WPLT_DISABLED_PLUGINS', serialize( array( 'hello-dolly.php', 'w3-total-cache/w3-total-cache.php', 'updraftplus/updraftplus.php', 'wordpress-https/wordpress-https.php' ) ));Post Update Notifications
Receive notifications when any page, post, or attachment is added or updated. Notifications can be received via email, or can be sent to a Slack channel via their Incoming WebHook API.