Hi I am trying to show admin bar to editors, but is not working. I am using Buddypress pluging. I dont know if this is the reason but I cant show admin bar for editors and admin. Anybody can help me?
Thanks.
add_action('wp_head', 'show_top_admin_menu_bar', 100);
function show_top_admin_menu_bar() { if (current_user_can('editor')) { show_admin_bar(true); } }