152 posts
  • Exclusive Author
  • Has been a member for 4-5 years
partnuz says
digitalimpact said
If it had the correct width (200), but a different height than 200, then that’s WordPress’ auto cropping for you :)

When using set_post_thumbnail_size(200,200, true) with hardcrop this still used admin settings instead of specified.

152 posts
  • Exclusive Author
  • Has been a member for 4-5 years
partnuz says

But guys you can test this thing to make things clear.

1.Open a theme doesn’t matter which one

2. Add post thumbnails support

3. Add this line

set_post_thumbnail_size(200,200,true);

4. Now add support to post thumbnails by pasting following code into the post loop

the_post_thumbnail(‘thumbnail’)

5. Add new post with with featured image

What is the result. Does your theme use settings from function or admin panel -> settings/media/thumbnail size ?

by
by
by
by
by
by