- November 6, 2015 at 7:32 pm #14876СергейNovember 6, 2015 at 7:32 pmdont work BlogPosts Widget thumbnail
okay. my site i-vkusno-i-prosto.com.
on my site thumbnail in BlogPosts widget works incorrect.
because in the “icefit-blogposts.php” in 194 string code “$thumbnail = wp_get_attachment_image_src( get_post_thumbnail_id(), ‘thumbnail’)”
but I found solution, instead this I write “$thumbnail = the_post_thumbnail();”
please can you say for me, why your code doesn’t worked on my site.
PS. Sorry for my mistakes, and I can give you Russian translate Chooko Pro.
Attachments:You must be logged in to view attached files.November 6, 2015 at 7:42 pm #14878СергейNovember 6, 2015 at 7:42 pmReply to: dont work BlogPosts Widget thumbnail
I use Chooko Pro 1.4.2 on WordPress 4.1.3November 7, 2015 at 8:15 am #14881iceableNovember 7, 2015 at 8:15 amReply to: dont work BlogPosts Widget thumbnail
iceableKeymasterSupportHappy with my help?
Buy me a beer!
This code is working correctly, however it could have been causing an issue on your site if your thumbnails were generated prior to using this theme.
If you were using another theme with different settings when you uploaded your images, then thumbnails could have been generated in a different way.
When this happen, the best thing to do is to “regenerate the thumbnails” for your images, so WordPress will re-create all thumbnails according to the current theme settings.
This free plugin does exactly this at the click of a button in just a few minutes: https://wordpress.org/plugins/regenerate-thumbnails/
Running it should fix your issue completely without the need to change any code from the theme.November 7, 2015 at 12:24 pm #14885СергейNovember 7, 2015 at 12:24 pmReply to: dont work BlogPosts Widget thumbnail
but “regenerate the thumbnails” didn’t help me, o try use this plugin. =\
this code work now “$thumbnail = the_post_thumbnail();” and I’m gladNovember 9, 2015 at 9:13 am #14899
The topic ‘dont work BlogPosts Widget thumbnail’ is closed to new replies.