Default thumbnail – archive, category, and search instead of resized full image?
-
I’m using a theme (pupul V1.3.2) with a created child theme which uses loop files. In the loop-index.php,
echo get_the_post_thumbnail($post_id, 'thumbnail');
will load the actual thumbnails (instead of resizing the full size) for the indexed pages.What needs to be done to accomplish the same thing for the thumbnails loaded when loading results from the category, archive, and search features? Instead of resizing the posts’ featured image, I want it to grab its thumbnail-default size.
Please be specific when helping me. I need to know if I stick with using
get_the_post_thumbnail($post_id, 'thumbnail');
(which doesn’t do anything in the loop-index.php archive entry-summary area) or do I need a different code? If so, what file and where in that file would it need to be inserted?I’m assuming a link to my blog isn’t necessary. I prefer to keep it private.
Thanks
- The topic ‘Default thumbnail – archive, category, and search instead of resized full image?’ is closed to new replies.