Here is how the theme looks so far below, it seems the thumbnails are being loaded in with the original size they were uploaded with to the media library.
So first thing I did was put this in the child theme functions file:
function thumbnail_posts () {
add_theme_support(‘post-thumbnails’);
set_post_thumbnail_size(250, 250, false);
}
add_action(‘after_setup_theme’, ‘thumbnail_posts’);
and then I checked out the file in the main theme where the thumbnail posts and it’s this code:
<figure class=”post-thumbnail<?php if ($thumbnail_caption) : ?> has-caption<?php endif; ?>”>
<a class=”post-thumbnail-link ” href=”<?php esc_url(the_permalink()); ?>” aria-hidden=”true”>
<?php the_post_thumbnail(‘post-thumbnail’, array(‘class’ => ‘default-thumbnail’, ‘alt’ => get_the_title())); ?>
</a>
<?php
if ($thumbnail_caption && !is_search()) {
printf(‘<figcaption class=”wp-caption-text post-thumbnail-caption”>%s</figcaption>’, $thumbnail_caption);}
?>
</figure>
As you can see the\_post\_thumbnail functions is not altering the size at all, so it should be posting at 250x250px dimensions. What am I missing? The files for main theme are here.
[https://github.com/xVicissitudex/WordPress-Themes/blob/94066711fe6d105f8412613a5c69853eab094595/unblock/inc/template-tags.php#L266])
