I am working on a Genesis Wordpress theme. What I want is to add a custom header to the theme. How do I get a header selector in the code snipper below?
// Add support for custom header.
add_theme_support( 'custom-header', array(
'width' => 600,
'height' => 160,
'header-text' => false,
'flex-height' => true,
) );
Adding the following 'header-selector' => '.site-title a',
should do the job.
So it would like this.
// Add support for custom header.
add_theme_support( 'custom-header', array(
'width' => 600,
'height' => 160,
'header-selector' => '.site-title a',
'header-text' => false,
'flex-height' => true,
) );