If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

WordPress. How to change the related posts images dimensions

WordPress. How to change the related posts images dimensions

Our Support team is ready to present you a new tutorial that shows how to change the Related posts images dimensions in CherryFramework3 templates.

wordpres_how_to_change_related_posts_image_dimensions_1

  1. Open wp-content\themes\themexxxxx\includes\custom-function.php file. You can access the file on the server via FTP or Hosting File manager and in Appearance > Editor via WordPress Dashboard.

  2. Locate the code for the Related Posts, it should look like the following example:

    	 $default = array(
                    'post_type' => get_post_type($post),
                    'class' => 'related-posts',
                    'class_list' => 'related-posts_list',
                    'class_list_item' => 'related-posts_item',
                    'display_title' => true,
                    'display_link' => true,
                    'display_thumbnail' => true,
                    'width_thumbnail' => 170,
                    'height_thumbnail' => 170,
                    'before_title' => '<h3 class="related-posts_h">',
                    'after_title' => '</h3>',
                    'posts_count' => 4
                );
    	 
  3. Change the width_thumbnail and height_thumbnail values.

  4. Save changes to file when you are done and check the result on your website:

    wordpres_how_to_change_related_posts_image_dimensions_2

Feel free to check the detailed video tutorial below:

WordPress. How to change the related posts images dimensions