add_theme_support( 'custom-header' );
-
My dashboard has disappeared after placing the following code into my functions.php file in Editor;
add_theme_support( ‘custom-header’ );
$defaults = array(
‘default-image’ => ”,
‘width’ => 0,
‘height’ => 0,
‘flex-height’ => false,
‘flex-width’ => false,
‘uploads’ => true,
‘random-default’ => false,
‘header-text’ => true,
‘default-text-color’ => ”,
‘wp-head-callback’ => ”,
‘admin-head-callback’ => ”,
‘admin-preview-callback’ => ”,
);
add_theme_support( ‘custom-header’, $defaults );Now when I try to login to dashboard I only see a white page with the above code at the top of the page.
What must I do to correct things .. please note I am using a localhost MAMP Pro
Thanks in advance
The topic ‘add_theme_support( 'custom-header' );’ is closed to new replies.