Skip to content
Permalink
Browse files

Amélioration articles similaires

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 78ffc3708d3f3568d2b98efc6142e67b04e55cfe
Showing with 7 additions and 0 deletions.
  1. +7 −0 functions.php
@@ -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

0 comments on commit 78ffc37

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.