Support » Multisite » How to change Dashboard Colors on Multisite under 3.8

How to change Dashboard Colors on Multisite under 3.8

  • With the update to 3.8, WP updated the dashboard colors to a black background. We have 500 sites on a Multisite install and really dont want to change the background color (we were using light grey) in each, individually.

    Is there a way to change the colors themes for all?

Viewing 7 replies - 1 through 7 (of 7 total)
  • MP6uccess – Tips and Tricks

    See “Force a Choice”

    Everyone’s using ecto on my network 😀

    This plugin says “Do not use with WordPress 3.8 or Higher” Anyone else have a suggestions?

    What … plugin? MP6?

    No no no. See “Force a Choice”

    add_filter('get_user_option_admin_color', 'change_admin_color');
    function change_admin_color($result) {
        return 'ectoplasm';

    You DO NOT need to add a plugin. I’ll edit the post to make that clear, but I promise, this works on core WP. Well… not the ectoplasm stuff. You need http://wordpress.org/plugins/admin-color-schemes/ for those colors.

    Thanks! Still a little techie for me… we have 6 different themes on the network… Would I need to add this code to each theme? and can you tell me where? Thanks for the help.

    Hi Jim,

    No, you do not need to add the code to every theme on the network — that’d be a lot of work in some cases 🙂

    Here’s how to set the default color for the entire network.

    (1) With SFTP / FTP / SSH etc, go to /wp-contents/. Create a new folder called “mu-plugins.” Plugins in this folder will be activated by default on all sites within the network.

    (2) Create a single php file and call it whatever you want. Something like admin-color.php.

    (3) Input the code below, customize to your color choice:

    Plugin Name: Admin-Color
    add_filter('get_user_option_admin_color', 'change_admin_color');
    function change_admin_color($result) {
        return 'ectoplasm';

    (4) Log into your Network and the color will be set, woot woot!!

    Hi there,

    This code works excellent. However I wondering if it is possible to do this but then still allow users to change the admin theme?

    Currently the user can change the admin theme but it reverts back to the default theme set by change_admin_color as soon as they visit another page in the admin area.

    add_filter( 'get_user_option_admin_color', function( $color_scheme ) {
    	global $_wp_admin_css_colors;
    	if ( ! isset( $_wp_admin_css_colors[ $color_scheme ] ) ) {
    		$color_scheme = 'ectoplasm';
    	return $color_scheme;
    }, 5 );
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to change Dashboard Colors on Multisite under 3.8’ is closed to new replies.
Skip to toolbar