Commit 4567f923 authored by Jakob Moser's avatar Jakob Moser
Browse files

Improve documentation for post thumbnails, improve spacing

parent 65ffe5bc
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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));