Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #455504

    Hi, for some reason images are not showing up on the search page.

    Any idea how to fix this?

    Thanks.

    #455911

    Hey DROR!

    Please refer to this post – https://kriesi.at/support/topic/add-featured-image-to-search-results/#post-249161

    Cheers!
    Yigit

    #455964
    This reply has been marked as private.
    #455970

    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

    • This reply was modified 9 years, 5 months ago by Yigit.
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.