functions: add thumbnail support the right way
This commit is contained in:
parent
d664f0461f
commit
0977300d88
1 changed files with 3 additions and 1 deletions
|
@ -45,11 +45,13 @@ register_taxonomy_for_object_type( 'niveau', 'post' );
|
|||
|
||||
function wpqdouze_post_supports() {
|
||||
add_post_type_support( 'post', 'excerpt');
|
||||
add_post_type_support( 'post', 'thumbnail');
|
||||
}
|
||||
|
||||
add_action( 'init', 'wpqdouze_post_supports' );
|
||||
|
||||
add_theme_support( 'post-thumbnails' );
|
||||
set_post_thumbnail_size( 825, 510, true );
|
||||
|
||||
/* 4. Social Network */
|
||||
|
||||
function mypost_social_sharing_buttons($content) {
|
||||
|
|
Reference in a new issue