[theme-reviewers] Best practice CSS options

Jonny Cauvain furcifer at furcifer.me
Sat May 7 12:19:57 UTC 2011


Personally I'd include as a plugin, with a style.php and having all the
changeable classes stored in the database.
Have a read up on the settings api if you haven't already..

On 7 May 2011 12:59, "Tony Crockford" <tonyc at boldfish.co.uk> wrote:

Not sure if this is the appropriate place to ask, but it feels like I might
get a good set of opinions, so here goes.

What would be the best way to implement a style options admin area for a
theme - e.g. so that a specific set of CSS values, could be easily changed
by non technical users.

Things like header text color, box border colors, box background colors etc.

Every theme I look at does it differently and some respected theme authors
say it shouldn't be an option, but that the CSS files should be edited (I
think I agree, but have a client requirement for an easily changeable
theme).

I'm concerned about performance issues, is there a way to have an options
panel write out a CSS file that is then used, instead of having to get
over-ride values from the database and dropping them into the header.

TIA for any help.




_______________________________________________
theme-reviewers mailing list
theme-reviewers at lists.wordpress.org
http://lists.wordpress.org/mailman/listinfo/theme-reviewers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110507/df58c671/attachment.htm>


More information about the theme-reviewers mailing list