Aprašymas
A simple way to makes your Admin Bar hidden for non-logged users but visible for you.
You can also add the code to your functions.php if you don’t want the plugin:
// Hide Admin Bar for non-logged users function hide_admin_bar() { if( is_user_logged_in() ){ return true; }else{ return false;
} }
add_filter(‘show_admin_bar’, ‘hide_admin_bar’);
Diegimas
- Upload the
private_admin_bardirectory to the/wp-content/plugins/directory of your site or just through the ’Plugins’ menu in WordPress. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Enjoy your admin bar when nobody else can do.
Atsiliepimai
Įskiepis neturi atsiliepimų.
Programuotojai ir komandos nariai
“Private Admin Bar” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.
AutoriaiIšverskite “Private Admin Bar” į savo kalbą.
Domina programavimas?
Peržiūrėkite kodą, naršykite SVN repozitorijoje, arba užsiprenumeruokite kodo pakeitimų žurnalą per RSS.