Categories

Featured templates

WordPress. How to change the related posts images dimensions

Carey Burns February 23, 2016
Rating: 5.0/5. From 1 vote.
Please wait...

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

Best Responsive Wordpress Themes
This entry was posted in WordPress Tutorials and tagged dimension, image, post, Related, WordPress. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket