I have created a custom theme in WordPress, with its own set of stylesheets in a CSS directory. I want to be able to edit them through the WordPress backend (i.e. through Appearance>Editor).
I presume it will just be a couple of lines of code to add to functions.php
, but I have searched around and can't find anything that will work out (I'm thinking because most of the solutions I've found are 4 years old...and WordPress has been updated a few times since then).
I tried adding filters and playing with wp_enqueue_style
to no avail. Thanks for any help anyone can offer.