From d664f0461febda7d456858e8ed68e9c9fec6b0b6 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sat, 27 Oct 2018 14:29:52 +0200 Subject: [PATCH] functions: indicate thumbnail support --- functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 8b37b9a..62ec10b 100644 --- a/functions.php +++ b/functions.php @@ -41,10 +41,11 @@ register_taxonomy( register_taxonomy_for_object_type( 'niveau', 'post' ); -/* 3. Excerpt support */ +/* 3. Excerpt and thumbnail support */ function wpqdouze_post_supports() { add_post_type_support( 'post', 'excerpt'); + add_post_type_support( 'post', 'thumbnail'); } add_action( 'init', 'wpqdouze_post_supports' );