I am trying to change the size of a post thumbnail
In the file function.php I change one line to set:
line 46 set_post_thumbnail_size( 100, 100, true );
and unfortunately it doesn’t work
However in the browser, parameters img are correct ( “hight=100 and with=56”), but still the picture looks like it has its original parameters
Also the picture is in scale, no matter if the parameter is set to true or false
So, does anybody know why it doesn’t work?
Maybe I need to change paramteres somewhere else?
@aldmor: Hello there,
I suggest you not to edit core theme files directly as all your edits will be lost when you update the theme. Please create a child theme before making any changes to the theme files.
To change the size of post thumbnail you will need to create a child theme and do a little bit of customization. Let me know if you are familiar with child theme customization so that I can help you out.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.