functions: support explicitaly excerpt

This commit is contained in:
Kazhnuz 2018-10-25 11:04:50 +02:00
parent 8dc9825566
commit 0233ebf8b9

View file

@ -40,3 +40,11 @@ register_taxonomy(
);
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' );