Skip to content

Commit

Permalink
Amélioration articles similaires
Browse files Browse the repository at this point in the history
Amélioration de la qualité des images utilisées pour les articles
similaires.
  • Loading branch information
nicolinuxfr committed Jan 22, 2015
1 parent 2ca25ee commit 78ffc37
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,13 @@ function jetpackme_filter_exclude_category( $filters ) {
}
add_filter( 'jetpack_relatedposts_filter_filters', 'jetpackme_filter_exclude_category' );

// Bonne taille d'images
function jetpackchange_image_size ( $thumbnail_size ) {
$thumbnail_size['width'] = 1000;
$thumbnail_size['height'] = 572;
return $thumbnail_size;
}
add_filter( 'jetpack_relatedposts_filter_thumbnail_size', 'jetpackchange_image_size' );


// FIN DES AJOUTS PERSOS
Expand Down

0 comments on commit 78ffc37

Please sign in to comment.