Last active
December 11, 2015 00:19
-
-
Save wpsmith/4515883 to your computer and use it in GitHub Desktop.
Genesis Custom Header Theme Support
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_theme_support( | |
'genesis-custom-header', | |
array( | |
//'header_image' => '%s/images/logo.png', // default is header.png in the child images folder | |
'width' => 350, | |
'height' => 100, | |
'textcolor' => 'blank', // replace with Hex colors | |
// Optional as Genesis has its own header_callback & admin_header_callback but samples provided in gs-functions.php for customizations | |
//'header_callback' => 'gs_header_style', // my custom frontend function | |
//'admin_header_callback' => 'gs_admin_style', // my custom backend function to match the frontend, used when bg is not white typically | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment