Hi, for some reason images are not showing up on the search page.
Any idea how to fix this?
Thanks.
Hey DROR!
Please refer to this post – https://kriesi.at/support/topic/add-featured-image-to-search-results/#post-249161
Cheers!
Yigit
Hey!
Please add following code to Quick CSS
.search-result-counter {
box-shadow: none;
}
and change following line
$searchthumb = get_the_post_thumbnail( $post_id, $size, $attr );
echo "<span class='search-result-counter {$counterclass}'>{$searchthumb}</span>";
to following
`$searchthumb = get_the_post_thumbnail( $post_id, $size, $attr ); $permalink = get_permalink(); echo "<a href='{$permalink}'><span class='search-result-counter {$counterclass}'>{$searchthumb}</span></a>";`
Cheers!
Yigit