functions: indicate thumbnail support

This commit is contained in:
Kazhnuz 2018-10-27 14:29:52 +02:00
parent 6169fd44ac
commit d664f0461f
1 changed files with 2 additions and 1 deletions

View File

@ -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' );