*
* @package Elegant Grunge
*/
/**
* Setup the WordPress core custom header feature.
*
* @uses elegant_grunge_header_style()
* @uses elegant_grunge_admin_header_style()
* @uses elegant_grunge_admin_header_image()
*
* @package Elegant Grunge
*/
function elegant_grunge_custom_header_setup() {
add_theme_support( 'custom-header', apply_filters( 'elegant_grunge_custom_header_args', array(
'default-text-color' => 'd3d3d3',
'default-image' => '',
'width' => 956,
'height' => 160,
'wp-head-callback' => 'elegant_grunge_header_style',
'admin-head-callback' => 'elegant_grunge_admin_header_style',
'admin-preview-callback' => '',
) ) );
}
add_action( 'after_setup_theme', 'elegant_grunge_custom_header_setup' );
if ( ! function_exists( 'elegant_grunge_header_style' ) ) :
/**
* Styles the header image and text displayed on the blog
*
* @see elegant_grunge_custom_header_setup().
*
*/
function elegant_grunge_header_style() { ?>
Header admin panel.
*
* @see elegant_grunge_custom_header_setup().
*
*/
function elegant_grunge_admin_header_style() {
?>