functions: support explicitaly excerpt
This commit is contained in:
parent
8dc9825566
commit
0233ebf8b9
1 changed files with 8 additions and 0 deletions
|
@ -40,3 +40,11 @@ register_taxonomy(
|
||||||
);
|
);
|
||||||
|
|
||||||
register_taxonomy_for_object_type( 'niveau', 'post' );
|
register_taxonomy_for_object_type( 'niveau', 'post' );
|
||||||
|
|
||||||
|
/* 3. Excerpt support */
|
||||||
|
|
||||||
|
function wpqdouze_post_supports() {
|
||||||
|
add_post_type_support( 'post', 'excerpt');
|
||||||
|
}
|
||||||
|
|
||||||
|
add_action( 'init', 'wpqdouze_post_supports' );
|
||||||
|
|
Reference in a new issue