Plugin Author
Vova
(@gn_themes)
Hi Antal,
teaser-loop does not have this <?php the_post_thumbnail( '' ); ?>
, instead it uses <?php the_post_thumbnail(); ?>
. These are different things.
According to the Codex article here, the_post_thumbnail()
uses post-thumbnail
as the default value. This predefined size may be different depending on your theme. Please read the article to learn more.
Thank you for your quick reply Vladimir. Yes I know that, but the thing is that for some reason it only loads thumbnail sized images if I specify ‘thumbnail’. Then it loads the correct thumbnail size image, so I think the thumbnail settings for the theme are fine.
Otherwise it looks like a thumbnail, but when you check the image file size it loads a larger image if we don’t specify ‘thumbnail’.
So I am not sure about this if it is a WordPress issue or something else, because it should be the same if I specify thumbnail or if I don’t. Anyway we just keep replacing the file.
Have a nice day!
Plugin Author
Vova
(@gn_themes)
Hi Antal,
you don’t have to replace the file on each update. Just create a custom template instead. Follow the steps below.
1. Copy the teaser-loop.php file from /wp-content/plugins/shortcodes-ultimate/templates/ to /wp-content/themes/YOUR_THEME/templates/.
2. Add the 'thumbnail'
parameter to it.
Big thanks Vladimir! Sorry for the late reply.