2

So I have a css file that is called blue.css and a universal one called style.css I have a few css colors inside a /css folder. How do I get all those css files to show up in my Admin panel editor?

  • Admin panel editor? – EAMann Jan 13 '12 at 17:53
  • Yeah, I have a css file in css/blue.css but it isn't showing up in the admin panel editor. What can I do to make it show up there? – Howdy_McGee Jan 13 '12 at 17:56
  • OK, the visual editor. I had no idea what you were talking about ... it sounded like you had an editor for the "admin panels." But I see you got your answer below. – EAMann Jan 13 '12 at 18:40
3

Use the add_editor_style() function in your functions.php:

add_editor_style( 'css/blue.css' );

You can call that function multiple times to load additonal stylesheets in to the admin editor.

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.