Created
October 11, 2015 09:01
-
-
Save joedooley/504dba860d101d8e20ed to your computer and use it in GitHub Desktop.
add_theme_support for custom header, custom background and an array of style options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Add support for custom header | |
add_theme_support( 'custom-header', array( 'width' => 250, 'height' => 70, 'header-selector' => '.site-title a', 'header-text' => false ) ); | |
//* Add theme support for custom background | |
add_theme_support( 'custom-background' ); | |
//* Add theme support for additional color style options | |
add_theme_support( 'genesis-style-selector', array( | |
'envy-pro-green' => __( 'Green With Envy Pro', CHILD_DOMAIN ), | |
'envy-pro-orange' => __( 'Orange With Envy Pro', CHILD_DOMAIN ), | |
'envy-pro-purple' => __( 'Purple With Envy Pro', CHILD_DOMAIN ), | |
'envy-pro-pink' => __( 'Pink With Envy Pro', CHILD_DOMAIN ), | |
'envy-pro-blue' => __( 'Blue With Envy Pro', CHILD_DOMAIN ), | |
) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment