public
Last active

Create color style options for your site using the Genesis Framework.

  • Download Gist
functions.php
PHP
1 2 3 4 5 6 7 8 9 10
<?php
//* Do NOT include the opening php tag
 
//* Create color style options
add_theme_support( 'genesis-style-selector', array(
'theme-blue' => __( 'Blue', 'custom-theme-text-domain' ),
'theme-green' => __( 'Green', 'custom-theme-text-domain' ),
'theme-orange' => __( 'Orange', 'custom-theme-text-domain' ),
'theme-red' => __( 'Red', 'custom-theme-text-domain' )
) );

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.