functions: indicate thumbnail support
This commit is contained in:
parent
6169fd44ac
commit
d664f0461f
1 changed files with 2 additions and 1 deletions
|
@ -41,10 +41,11 @@ register_taxonomy(
|
||||||
|
|
||||||
register_taxonomy_for_object_type( 'niveau', 'post' );
|
register_taxonomy_for_object_type( 'niveau', 'post' );
|
||||||
|
|
||||||
/* 3. Excerpt support */
|
/* 3. Excerpt and thumbnail support */
|
||||||
|
|
||||||
function wpqdouze_post_supports() {
|
function wpqdouze_post_supports() {
|
||||||
add_post_type_support( 'post', 'excerpt');
|
add_post_type_support( 'post', 'excerpt');
|
||||||
|
add_post_type_support( 'post', 'thumbnail');
|
||||||
}
|
}
|
||||||
|
|
||||||
add_action( 'init', 'wpqdouze_post_supports' );
|
add_action( 'init', 'wpqdouze_post_supports' );
|
||||||
|
|
Reference in a new issue