Support » Themes and Templates » Default header image not listed

  • Hi All!

    I was experimenting with WordPress today and creating a new theme and all went well until I noticed a small issue – even though my default header image does appear when I use the code below, when you go to Appearance -> Themes -> Customize, the image is not listed under Default. I’ve also noticed that it’s not available under Appearance -> Header. Is that the default behaviour and what would I have to do to have it listed in both places? Thank you!

    $header_properties = array('default-image' => get_stylesheet_directory_uri().'/images/head.jpg');
    add_theme_support( 'custom-header', $header_properties);

  • The topic ‘Default header image not listed’ is closed to new replies.