diff --git a/functions.php b/functions.php index 62ec10b..6a7dc05 100644 --- a/functions.php +++ b/functions.php @@ -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) {