Hi
When I search for a particular page I get this error message:
Is there a way to solve this?
Thank you in advance for your time.
-
This topic was modified 10 years by
wmdein.
Hello,
This error comes up in the search when a post has no featured image set to it. This is the case because the search uses the default WP thumbnail. We are working on a fix for this and until we can implement it, you can use this workaround:
You need to edit td_config.php and add this code:
td_api_thumb::add('thumbnail',
array(
'name' => 'thumbnail',
'width' => 150,
'height' => 150,
'crop' => array('center', 'top'),
'post_format_icon_size' => 'normal',
'used_on' => array(
'Big grid 1, 3, 7 - small image'
)
)
);
It should look like so: http://screencast.com/t/RTkWKH6me
Basically you are just adding another thumbnail to the list in between the existing ones. Then the error will not display anymore.
Thank you!
I tried to add that code but doesn’t work here http://ko.kanglaonline.com/category/articles-opinion/.
My bad, that was due to cache, I have added the code above and it is looking fine now. New link is http://kanglaonline.com/category/articles-opinion/
Please fix this. Just did the latest update and it was not resolved. Of course I forgot that I had done it last time and have complaints about the “weird” code on the page.
-
This reply was modified 10 years by
evetsreklaw.
Hello,
It seems this fix was not included in the current update. We overlooked it as it only affects module 16. You can easily switch modules from here: http://screencast.com/t/2XfGcUk8QKZM and there will not be any error on other modules. We will fix it in the next update. Sorry for the inconvenience.
Thank you!