• Looking to find out how to change my content.php code to add the thumbnail image of the specific posts to my search results located here for example

    search results

    I would like a thumbnail of the featured post’s image listed along with the smaller blurb of the post in the search results.

    I have been told that this code is what points to content.php
    <?php get_template_part( 'content', get_post_format() ); ?>

    by somehow changing content.php I can have it include a small thumbnail along with each search result.

    Any help on doing this would be appreciated.

    PS. I do have a child theme installed

    • This topic was modified 7 years, 11 months ago by jmarc4312.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing content.php so it adds thumbnail in search’ is closed to new replies.