Adding additional CSS files to WordPress theme editor

I have created a WordPress themes with all the necessary templates (PHP files). However under “Styles” it’s currently only showing the style.css file. I understand I can @import CSS files in style.css but I wanna be able to edit those additional CSS files from my theme directly in the WordPress theme editor, like I can with style.css.

Seems silly to have a whole “Styles” heading in the theme editor if you can’t even add other CSS files?

Read More

So is it possible to make extra CSS files show up in the theme editor?

WordPress theme editor files list

Related posts

Leave a Reply

1 comment

  1. Just create another stylesheet in your theme folder and it will show up in the theme editor. You can then edit that stylesheet from there.

    You can import that css in your style.css or can enqueue style if you want.