Loading functions.php +4 −2 Original line number Diff line number Diff line Loading @@ -8,11 +8,13 @@ * @see https://developer.wordpress.org/themes/basics/theme-functions/ */ // add support for theme functions // - add support for post thumbnails // We support post thumbnails (now known as "featured images"). A post thumbnail is displayed // in the header of a post. add_theme_support('post-thumbnails'); // - add support for custom menus add_theme_support('menus'); // - add support for header image add_theme_support('custom-header', array('default-image'=>get_template_directory_uri().'/img/header.jpg', 'uploads'=>true)); Loading Loading
functions.php +4 −2 Original line number Diff line number Diff line Loading @@ -8,11 +8,13 @@ * @see https://developer.wordpress.org/themes/basics/theme-functions/ */ // add support for theme functions // - add support for post thumbnails // We support post thumbnails (now known as "featured images"). A post thumbnail is displayed // in the header of a post. add_theme_support('post-thumbnails'); // - add support for custom menus add_theme_support('menus'); // - add support for header image add_theme_support('custom-header', array('default-image'=>get_template_directory_uri().'/img/header.jpg', 'uploads'=>true)); Loading