This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Taxonomy image on Search result

#41356
Ernest MarcinkoErnest Marcinko
Keymaster

Hi,

Okay, that might be possible to do via the theme functions. Generally wordpress does not support taxonomy terms on the results page, neither the images.

Within the theme results loop, try something like this to fetch the image:

<img src="<?php the_asp_result_field('image', true); ?>" />

You may need to check for the image existence, so something like:

<?php if ( !empty(get_asp_result_field('image') ): ?>
    <img src="<?php the_asp_result_field('image', true); ?>" />
<?php endif; ?>