This plugin allows you to add links between a development, staging and live version of your website, and adds them to the AdminBar.
This plugin enhances the AdminBar and adds links to development, staging and live version of your website, furthermore it allows you to choose a color scheme of your AdminBar for all users on a website, including the frontend.
You also have to option to control the robots.txt visibility settings, in the newest version you get a watermark for posts that are in draft or scheduled, and a keyboard shortcut to hide the adminbar.
If you want to participate in the development head over to GitHub!
/wp-content/plugins/apermo-adminbar
directory, or install the plugin through the WordPress plugins screen directly.The basic idea of the plugin, 3 instances of a website, with 3 distinct color schemes and quicklinks between the instances.
The Adminbar on the frontend, showing the info panel on the right and the watermark for a draft post. The info panel can be hidden with a click. And there are keyboard shortcuts to hide the whole adminbar and the watermark to see what the site looks like for a regular user.
The settings page, with the options for the first of the 3 default stages.
The import and export function on the settings page.
The settings page when the settings are set using the filter add_filter( 'apermo-adminbar-sites', 'sites_filter' );
You can do so with add_filter( 'apermo-adminbar-types', 'your_filter' );
Feel free to add more, there are other plugins that do so. Or have a look at wp_admin_css_color() in the WordPress Codex
Yes, you can. Simply add and alter the following example somewhere to the functions.php of your theme
add_filter( 'apermo-adminbar-sites', 'sites_filter' ); function sites_filter( $sites ) { $sites['dev']['url'] = 'http://dev.your-site.tld'; $sites['dev']['whitelist'] = array( 1,42 ); $sites['staging']['url'] = 'http://staging.your-site.tld'; $sites['live']['url'] = 'https://www.your-site.tld'; return $sites; }
Yes, you can use the filter add_filter( 'apermo-adminbar-sites', 'sites_filter' );
with the option whitelist
to allow access to the corresponding site only for the whitelisted user ids.
An option for this might be added in the future.
Yes, use add_filter( 'apermo-adminbar-caps', 'sites_filter' );
and just return the desired capability.
The simplest way is to use add_filter( 'apermo-adminbar-watermark', function( $bool ) { return false; } );
and turn the feature off.
The simplest way is to use add_filter( 'apermo-adminbar-statusbox', function( $bool ) { return false; } );
and turn the feature off.
The simplest way is to use add_filter( 'apermo-adminbar-keycodes', function( $bool ) { return false; } );
and turn the feature off.
Head over to the GitHub Repository and start reading. Every bit of help is highly appreciated!