Manuel Demetz
asked 6 years ago

See example http://www.regdev-eurac.com/category/tourism/

1 Answers
Kido D
answered 6 years ago

Hi Manuel,

To resolve this issue, you need to set the thumbnail size to 250x250px, please see our guide here for more details: http://cmspioneer.com/designwall/guide/dw-argo/#featured_images
About the post thumbnails in Metro content, you can follow the steps here to force crop for featured image:
1) Open up the functions.php file in themes/dw-argo folder, and add the code below to the bottom of the file:

// crop thumbnail in metro area
if ( function_exists( 'add_image_size' ) ) {
add_image_size( 'metro-thumb', 500, 500, true ); //(cropped)
}

2) Open up the feature-metro-layout.php file in themes/dw-argo folder, find the code below (around line 51):

<?php the_post_thumbnail(array($thumbnail_size, $thumbnail_size)); ?>

.. and change it into this:

<?php the_post_thumbnail('metro-thumb'); ?>

P/S.: You’ll need to re-upload the post images so that WordPress can recreate the thumbnails for you.
Hope this helps!

Powered by DW Question & Answer Pro