Comments huubangbkhn started the conversationSeptember 20, 2019 at 2:12amDear all!Soledad theme: Can you explain where these images are displayed? I want to remove unused image sizes. // Post thumbnails add_theme_support( 'post-thumbnails' ); add_image_size( 'penci-full-thumb', 1170, 99999, false ); add_image_size( 'penci-slider-thumb', 1170, 663, true ); add_image_size( 'penci-magazine-slider', 780, 516, true ); add_image_size( 'penci-slider-full-thumb', 1920, 800, true ); add_image_size( 'penci-single-full', 1920, 0, false ); add_image_size( 'penci-thumb', 585, 390, true ); add_image_size( 'penci-masonry-thumb', 585, 99999, false ); add_image_size( 'penci-thumb-square', 585, 585, true ); add_image_size( 'penci-thumb-vertical', 480, 650, true ); add_image_size( 'penci-thumb-small', 263, 175, true ); Thank you! 501Penci repliedSeptember 20, 2019 at 3:01pmHi,1/ penci-full-thumb use with list of layoutcontent classiccontent overlaycontent pagecontent single fullcontent standardfeatured slider 32, 36 2/ penci slider thumb use on featured slider3/ penci-magazine-slider use on featured slider and layout magazine4/ penci-slider-full-thumb use on featured slider5/ penci-single-full use with style of single post, page6/ penci-thumb: the image size use many layout on soledad theme. We recommend you don't disable the image size7/ penci-masonry-thumb use with layout content-masonrycontent-masonry-2content-list8/ penci-thumb-square use when you want show type of image is square9 / penci-thumb-vertical use when you want show type of image is vertical Best Regards,PenciDesign1 Likehuubangbkhn repliedSeptember 21, 2019 at 1:31amThank you!huubangbkhn repliedSeptember 21, 2019 at 2:00amIf I use the code to resize an image in LATEST POSTS to 290 * 190, do I need to create another 290 * 190 image size? as attached file. add_image_size ('penci-slider-thumb', 290, 190, true); Thank you! 501Penci repliedSeptember 21, 2019 at 2:40pmHi,After you add image size, please install and active regenerate thumbnails plugin then regenerate thumbnails your siteBest Regards,PenciDesign Sign in to reply ...
Dear all!
Soledad theme: Can you explain where these images are displayed? I want to remove unused image sizes.
// Post thumbnails
add_theme_support( 'post-thumbnails' );
add_image_size( 'penci-full-thumb', 1170, 99999, false );
add_image_size( 'penci-slider-thumb', 1170, 663, true );
add_image_size( 'penci-magazine-slider', 780, 516, true );
add_image_size( 'penci-slider-full-thumb', 1920, 800, true );
add_image_size( 'penci-single-full', 1920, 0, false );
add_image_size( 'penci-thumb', 585, 390, true );
add_image_size( 'penci-masonry-thumb', 585, 99999, false );
add_image_size( 'penci-thumb-square', 585, 585, true );
add_image_size( 'penci-thumb-vertical', 480, 650, true );
add_image_size( 'penci-thumb-small', 263, 175, true );
Thank you!
Hi,
1/ penci-full-thumb use with list of layout
2/ penci slider thumb use on featured slider
3/ penci-magazine-slider use on featured slider and layout magazine
4/ penci-slider-full-thumb use on featured slider
5/ penci-single-full use with style of single post, page
6/ penci-thumb: the image size use many layout on soledad theme. We recommend you don't disable the image size
7/ penci-masonry-thumb use with layout
8/ penci-thumb-square use when you want show type of image is square
9 / penci-thumb-vertical use when you want show type of image is vertical
Best Regards,
PenciDesign
Thank you!
If I use the code to resize an image in LATEST POSTS to 290 * 190, do I need to create another 290 * 190 image size? as attached file.
add_image_size ('penci-slider-thumb', 290, 190, true);
Thank you!
Hi,
After you add image size, please install and active regenerate thumbnails plugin then regenerate thumbnails your site
Best Regards,
PenciDesign