How to create standard post thumbnail sizes

[ad_1]

Hello,

Currently working on a demo theme to learn WordPress. I am trying to get the thumbnails to a standard square size but so far unable to do so. They seem to be printed as the same size they were uploaded, at least on the index page.

How can I get them upload to a standard size say 250 x 250? Embedded in the parent functions file, there is a function with this code:

add_theme_support(‘post-thumbnails’);
set_post_thumbnail_size(1600, 9999, false);

If I change the parameters of the set post function would that change the size of the thumbnails? I am currently using a child theme, and `set_post_thumbnail_size` is inside a very large function called `unblock_setup.` Would I have to copy and past the whole function definition inside the functions.php file of the child theme and then change it in order to work?

Here is a screenshot of what website looks like, and here is link to the parent theme files.

[https://github.com/xVicissitudex/WordPress-Themes/blob/94066711fe6d105f8412613a5c69853eab094595/unblock/functions.php#L145])

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer