Forums

[Plugin: WordPress Admin Bar] using in the admin backend for non-admin users (3 posts)

  1. wjdennen
    Member
    Posted 2 years ago #

    This works fine in the backend for my admin account. But, if I log in as some other account (editor, for example), it does not show up in the backend unless I enable it for that user.

    Is there a way to ALWAYS have it displayed in the backend?

    http://wordpress.org/extend/plugins/wordpress-admin-bar/

  2. As you discovered, all settings are on a per-user basis. However you can modify this plugin's defaults using a filter. Drop this in your own plugin or your theme's functions.php file:

    add_filter( 'wpabar_defaults', 'xyzzy_wpabar_defaults' );
    
    function xyzzy_wpabar_defaults( $defaults ) {
    	$defaults['show_admin'] = 1;
    	return $defaults;
    }
  3. wjdennen
    Member
    Posted 1 year ago #

    thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic