Commit 9f6d3991 authored by Jakob Moser's avatar Jakob Moser
Browse files

Improve documentation for custom-header

parent 8badf686
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -10,10 +10,14 @@

// We support post thumbnails (now known as "featured images"). A post thumbnail is displayed
// in the header of a post.
// If there is no post thumbnail specified, we fall back to a default header image...
add_theme_support('post-thumbnails');

// - add support for header image
add_theme_support('custom-header', array('default-image'=>get_template_directory_uri().'/img/header.jpg', 'uploads'=>true));
// ...which can also be customized (site-wide)
add_theme_support('custom-header', array(
    'default-image' => get_template_directory_uri().'/img/header.jpg', 
    'uploads'       => true)
);

// - add support for custom menus
add_theme_support('menus');