Site icon Hip-Hop Website Design and Development

Using theme options to change link colours

I’m developing a WordPress theme with some theme options (using the ThemeShaper sample theme options page), and one of the options I want is to allow users to set their own link colours.

At the moment I can get the hex value they set (say #134679 or something) and spit it out somewhere, but I don’t know how to include it in the theme.

Presumably it needs to be dynamically added to a stylesheet (or a new stylesheet dynamically generated?) or something like that, in order to then be linked to from the theme’s pages and all start to work. If so, how is this done? And what’s the ‘best’ way to do it?

Thanks.

Edit: I’m not a PHP person, at all, so… layman’s language, please. 🙂