Commit Graph

2 Commits

Author SHA1 Message Date
Lance Willett e2a1502510 Twenty Eleven: theme options - see #17198
* First pass at Link Color CSS rules
 * Add new function to return default values
 * Implement better validation for hex color value
 * Fix missing esc_attr()

git-svn-id: https://develop.svn.wordpress.org/trunk@17732 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-27 23:03:27 +00:00
Ian Stewart b6894e1703 Twenty Eleven: functions.php cleanup and introduction of theme options; see #17198
* Cleanup functions.php, adding comments and function_exists() checks following Twenty Ten's example
* Theme option for choosing an alternate (dark) color scheme. It currently only loads a placeholder CSS file with dark styles to follow.
* Theme option for selecting a link color that loads an internal style block for resetting link colors. An updated style.css will follow to take advantage of this.
* Theme options for selecting an alternate layout. Adds a class to the body element. An updated style.css will follow to take advantage of this.


git-svn-id: https://develop.svn.wordpress.org/trunk@17721 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-26 22:52:18 +00:00