Is there a code that I can add to functions.php to change the default thumbnail size? I know that I can change the size in settings but I need a function that will do that automatically for my theme. I’m not referring to post thumbnails.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t change them but what you should do is register your own image sizes instead and use those in your theme. See
add_image_size()for documentation. Then instead of using the built-in thumbnail sizes, just use that custom one you define in your theme.