pages search results

Posted in: Newspaper
Post count: 11

Hello

When search results appear, pages tend to have this

wp booster error:
td_api_base::mark_used_on_page : a component with the ID: thumbnail is not set.
/home/wp/disk/wordpress/wp-content/themes/Newspaper/includes/wp_booster/td_api.php

How can I fix this? There is no option of adding featured images to pages

Post count: 23312

Hello,

This error -> http://screencast.com/t/XW2ZouO2hQe comes up in the search/block 21/module 16 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.

I recommend you to change the module for Search from Theme panel, like this -> http://screencast.com/t/I0AmPRbybZZN

Hope this helps and let us know how it goes!

Thank you for the message!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.