I had a look around and I couldn’t find an exact answer to this question…
I’m making a theme at the moment, and I’m including some theme options. I have the basics working, but I need to know the ‘best practice’ ways of doing a couple of things.
Specifically, I want users of my theme to be able to set their own link colour. To do this, I need to re-write the default link colour in my CSS file with whatever they want. As far as I am aware, you can’t directly use PHP in a CSS file (not without renaming it to something like styles.css.php, which I don’t want to do).
A lot of themes allow this ability to set link colours — is there a standard or accepted way that they do this? How do they do it without using PHP in their CSS?