Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #261352
    tracyrosen
    Participant

    Hello,
    When I do a category search, the results are displayed with featured image. But a search through the search bar does not include the featured image. What is the best way to include the image in the search results?
    Thank you!
    And bonus question – I’d prefer the search and category results have the image float to the left of the title, meta info, and excerpt (excerpt is currently blank). Is there a good way to do this?
    Thanks again!

    #261415
    Skandha
    Participant

    @tracyrosen: Hello there,
    To include image in search results you will need to create a child theme and do a little bit of customization. Let me know if you are familiar with child theme customization otherwise I suggest you to hire a customizer.

    Kind Regards,
    Skandha

    #261439
    tracyrosen
    Participant

    Hello, Yes, I am familiar with child theme customization. I am not sure the best way to add the image to the search results. Thank you!

    #261707
    tracyrosen
    Participant

    @Skandha I noticed that you included the @ in your message to me. Do you not see the message without it?
    Thanks 🙂

    #261794
    Skandha
    Participant

    @tracyrosen: Hello there,
    To create a child theme you can use our plugin Generate Child Theme.

    Install and Activate the plugin
    Then,
    Go to => Dashboard => Generate Child Theme => Select Parent Theme as Catch Revolution and fill in remaining fields and Click on Generate.

    Now,
    Go to => Child Theme Folder => create new folders template-parts/content. Under content folder create a file content-search.php and add the code in this link.

    Let me know if this works out!
    Kind Regards,
    Skandha

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Best way to include featured image in search results?’ is closed to new replies.