Skip to content

Instantly share code, notes, and snippets.

@wpsmith
Last active December 11, 2015 00:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wpsmith/4515883 to your computer and use it in GitHub Desktop.
Save wpsmith/4515883 to your computer and use it in GitHub Desktop.
Genesis Custom Header Theme Support
<?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