0

How can I add additional admin color schemes into Wordpress 3.8?

I want to add two more with a yellow shade and a green shade.

  • Please explain your question better. Do not just repeat the title. Share your research efforts, show us what you have tried. Read How to Ask again. – fuxia Dec 16 '13 at 8:50
  • means there are 8 color options are available like Default,light,blue,coffee,Ectoplasm,Midnight,Ocean,Sunrise ect. but i want add two more yellow shade and green shade . – Chirag Pipariya Dec 16 '13 at 8:55
  • i hope now understand @toscho . – Chirag Pipariya Dec 16 '13 at 8:56
0

I would like to recommend you to learn Admin Color Schemes plugin which provides 8 new color schemes.

You need to install Grunt.js and SASS compiler. More information you can find during investigation the plugin stuff. Use it as a copy to create your own plugin.

3

You can use:

wp_admin_css_color( $key, $name, $url, $colors, $icons ); 

Docs: http://codex.wordpress.org/Function_Reference/wp_admin_css_color

It's really straightforward, you add a CSS file and your color options.

  • +1 for pointing all of us in the right direction with this. the file is well structured and easy to read and add color combinations too. My only question is if there is a way from my plugin to concatenate data to register_admin_color_schemes(), so that I don't have to modify core files every time there is a wordpress upgrade. Thanks! – klewis Nov 3 '16 at 15:46
0

In WP 3.8, there is a folder called /wp-admin/css/colors

This folder contains the 7 additional (other than default) admin color schemes you can select when editing your user profile.

I'd assume you could copy one of these folders into a new folder, with your own folder name, and then you can edit the CSS contained in the folder.

Upload your new folder to /wp-admin/css/colors and voilà!

  • there is not available custom code or can i change there without admin folder . – Chirag Pipariya Dec 16 '13 at 9:28
0

enter image description here

Yes, you can have a closer look at the plugin Admin Color Schemes in the repository and at http://wptavern.com/admin-color-schemer-the-easiest-way-to-customize-wordpress-admin-colors

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.