{"id":49556,"date":"2016-07-07T20:24:15","date_gmt":"2016-07-07T20:24:15","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/apermo-adminbar\/"},"modified":"2016-12-14T22:43:01","modified_gmt":"2016-12-14T22:43:01","slug":"apermo-adminbar","status":"publish","type":"plugin","link":"https:\/\/jv.wordpress.org\/plugins\/apermo-adminbar\/","author":8521779,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.2","stable_tag":"1.1.2","tested":"4.7.0","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"Apermo AdminBar","header_author":"Christoph Daum","header_description":"","assets_banners_color":"c9c7c5","last_updated":"2016-12-14 22:43:01","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/apermo-adminbar\/","header_author_uri":"http:\/\/apermo.de\/","rating":5,"author_block_rating":0,"active_installs":60,"downloads":3145,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1521394","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1521394","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1519739","resolution":"1544x500","location":"assets"},"banner-1880x609.png":{"filename":"banner-1880x609.png","revision":"1519739","resolution":"1880x609","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1519739","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.9.10","0.9.11","0.9.5","0.9.6","0.9.9","1.0.0","1.1.0","1.1.1","1.1.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1555030","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1555030","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1555030","resolution":"3","location":"assets"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1555030","resolution":"4","location":"assets"},"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1555030","resolution":"5","location":"assets"}},"screenshots":{"1":"The basic idea of the plugin, 3 instances of a website, with 3 distinct color schemes and quicklinks between the instances.","2":"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.","3":"The settings page, with the options for the first of the 3 default stages.","4":"The import and export function on the settings page.","5":"The settings page when the settings are set using the filter <code>add_filter( 'apermo-adminbar-sites', 'sites_filter' );<\/code>"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[83,1339,2761,2275,734],"plugin_category":[55],"plugin_contributors":[125380],"plugin_business_model":[],"class_list":["post-49556","plugin","type-plugin","status-publish","hentry","plugin_tags-admin","plugin_tags-admin-bar","plugin_tags-adminbar","plugin_tags-developer","plugin_tags-development","plugin_category-seo-and-marketing","plugin_contributors-apermo","plugin_committers-apermo"],"banners":{"banner":"https:\/\/ps.w.org\/apermo-adminbar\/assets\/banner-772x250.png?rev=1519739","banner_2x":"https:\/\/ps.w.org\/apermo-adminbar\/assets\/banner-1544x500.png?rev=1519739","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/apermo-adminbar\/assets\/icon-128x128.png?rev=1521394","icon_2x":"https:\/\/ps.w.org\/apermo-adminbar\/assets\/icon-256x256.png?rev=1521394","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/apermo-adminbar\/assets\/screenshot-1.png?rev=1555030","caption":"The basic idea of the plugin, 3 instances of a website, with 3 distinct color schemes and quicklinks between the instances."},{"src":"https:\/\/ps.w.org\/apermo-adminbar\/assets\/screenshot-2.png?rev=1555030","caption":"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."},{"src":"https:\/\/ps.w.org\/apermo-adminbar\/assets\/screenshot-3.png?rev=1555030","caption":"The settings page, with the options for the first of the 3 default stages."},{"src":"https:\/\/ps.w.org\/apermo-adminbar\/assets\/screenshot-4.png?rev=1555030","caption":"The import and export function on the settings page."},{"src":"https:\/\/ps.w.org\/apermo-adminbar\/assets\/screenshot-5.png?rev=1555030","caption":"The settings page when the settings are set using the filter <code>add_filter( 'apermo-adminbar-sites', 'sites_filter' );<\/code>"}],"raw_content":"<!--section=description-->\n<p>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.\nYou 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.<\/p>\n\n<p>If you want to participate in the development <a href=\"https:\/\/github.com\/apermo\/apermo-adminbar\">head over to GitHub<\/a>!<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/apermo-adminbar<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the 'Apermo AdminBar' plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Open Settings -&gt; Apermo AdminBar to set up the links and colors (currently you have to repeat this on all sites)<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>I have more than 3 sites, can I add more?<\/dt>\n<dd><p>You can do so with <code>add_filter( 'apermo-adminbar-types', 'your_filter' );<\/code><\/p><\/dd>\n<dt>I want more color schemes!<\/dt>\n<dd><p>Feel free to add more, there are other plugins that do so. Or have a look at <a href=\"https:\/\/codex.wordpress.org\/Function_Reference\/wp_admin_css_color\">wp_admin_css_color() in the WordPress Codex<\/a><\/p><\/dd>\n<dt>Can I save the color schemes to my theme?<\/dt>\n<dd><p>Yes, you can. Simply add and alter the following example somewhere to the functions.php of your theme<\/p>\n\n<pre><code>add_filter( 'apermo-adminbar-sites', 'sites_filter' );\n\nfunction sites_filter( $sites ) {\n    $sites['dev']['url'] = 'http:\/\/dev.your-site.tld';\n    $sites['dev']['whitelist'] = array( 1,42 );\n    $sites['staging']['url'] = 'http:\/\/staging.your-site.tld';\n    $sites['live']['url'] = 'https:\/\/www.your-site.tld';\n    return $sites;\n}\n<\/code><\/pre><\/dd>\n<dt>Can I hide, for example the development page, for certain users<\/dt>\n<dd><p>Yes, you can use the filter <code>add_filter( 'apermo-adminbar-sites', 'sites_filter' );<\/code> with the option <code>whitelist<\/code> to allow access to the corresponding site only for the whitelisted user ids.\nAn option for this might be added in the future.<\/p><\/dd>\n<dt>Can I change the default capability needed to access the quicklinks?<\/dt>\n<dd><p>Yes, use <code>add_filter( 'apermo-adminbar-caps', 'sites_filter' );<\/code> and just return the desired capability.<\/p><\/dd>\n<dt>I do not need the watermark, how can I remove it?<\/dt>\n<dd><p>The simplest way is to use <code>add_filter( 'apermo-adminbar-watermark', function( $bool ) { return false; } );<\/code> and turn the feature off.<\/p><\/dd>\n<dt>I do not need the statusbox, how can I remove it?<\/dt>\n<dd><p>The simplest way is to use <code>add_filter( 'apermo-adminbar-statusbox', function( $bool ) { return false; } );<\/code> and turn the feature off.<\/p><\/dd>\n<dt>I do not need the keyboard shortcuts, how can I remove it?<\/dt>\n<dd><p>The simplest way is to use <code>add_filter( 'apermo-adminbar-keycodes', function( $bool ) { return false; } );<\/code> and turn the feature off.<\/p><\/dd>\n<dt>How can I help with the development of this plugin?<\/dt>\n<dd><p>Head over to the <a href=\"https:\/\/github.com\/apermo\/apermo-adminbar\">GitHub Repository<\/a> and start reading. Every bit of help is highly appreciated!<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h3>1.1.2<\/h3>\n\n<ul>\n<li>changed: Keyboard shortcuts had to be changed as they colided with windows standards<\/li>\n<li>Hide Watermark: Mac: CMD + CTRL + W - Win\/Linux: ALT + SHIFT + W<\/li>\n<li>Hide Adminbar: Mac: CMD + CTRL + A - Win\/Linux: ALT + SHIFT + A<\/li>\n<li>fixed: backend color scheme was overwritten if being set by a user prior to plugin activation<\/li>\n<\/ul>\n\n<h3>1.1.1<\/h3>\n\n<ul>\n<li>fixed: keyboard shortcut for watermark is now CTRL + D<\/li>\n<li>changed: made status icons bigger &amp; clearer, changed color for scheduled status<\/li>\n<\/ul>\n\n<h3>1.1.0<\/h3>\n\n<ul>\n<li>added: keyboard shortcut CTRL + E to hide\/show the adminbar in frontend<\/li>\n<li>added: watermark for draft\/scheduled post, to remind an editor of the current post status<\/li>\n<li>added: keyboard shortcut CTRL + W to hide\/show the watermark<\/li>\n<li>added: the statusbox, a box containing useful information about the post, directly visible in the frontend<\/li>\n<\/ul>\n\n<h3>1.0.0<\/h3>\n\n<ul>\n<li>fixed: do not add a spacer if no quicklinks are added<\/li>\n<li>added: option to hide stages by whitelisting the stage for given user ids<\/li>\n<li>added: option to set the default capability needed to use the quicklinks<\/li>\n<\/ul>\n\n<h3>0.9.11<\/h3>\n\n<ul>\n<li>fixed: css from admin_bar was loaded late, so &gt;a&lt; tags mostly where miscolored.<\/li>\n<\/ul>\n\n<h3>0.9.10<\/h3>\n\n<ul>\n<li>disable all options if filter is used<\/li>\n<li>fixed: robots.txt defaults were ignored<\/li>\n<\/ul>\n\n<h3>0.9.9<\/h3>\n\n<ul>\n<li>added support for multisite domain mapping<\/li>\n<li>added support for robots.txt<\/li>\n<\/ul>\n\n<h3>0.9.6<\/h3>\n\n<ul>\n<li>fixed typos<\/li>\n<\/ul>\n\n<h3>0.9.5<\/h3>\n\n<ul>\n<li>fixed bug for subfolder installations<\/li>\n<\/ul>\n\n<h3>0.9.4<\/h3>\n\n<ul>\n<li>added an export and import option<\/li>\n<li>minor improvements<\/li>\n<\/ul>\n\n<h3>0.9.3<\/h3>\n\n<ul>\n<li>Removed Scheme URL from saved options<\/li>\n<li>added filter 'apermo-adminbar-sites' to give the option of saving the settings in a theme<\/li>\n<\/ul>\n\n<h3>0.9.2<\/h3>\n\n<ul>\n<li>Some minor code improvements<\/li>\n<\/ul>\n\n<h3>0.9.1<\/h3>\n\n<ul>\n<li>Bug fixes and optimizations - Thanks to @kau-boy for the help<\/li>\n<\/ul>\n\n<h3>0.9.0<\/h3>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"This plugin allows you to add links between a development, staging and live version of your website, and adds them to the AdminBar.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/jv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/49556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/jv.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/jv.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=49556"}],"author":[{"embeddable":true,"href":"https:\/\/jv.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/apermo"}],"wp:attachment":[{"href":"https:\/\/jv.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=49556"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/jv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=49556"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/jv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=49556"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/jv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=49556"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/jv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=49556"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/jv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=49556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}