Post Titles in Search Results, but not on Posts

  • Eva

    #9248

    Hi. My site is here.

    First, please note that I tried to use this support thread to fix my search results, but was unsuccessful. When I add that code to my child style sheet, the search results show blank lines where the results should be. So…please read my questions. I have tried to be very specific.

    1st Question

    If you search “Yokogawa”, 5 results are listed. I don’t mind the excerpt, but I’d like to show the post/page title also. The issue is that in my child theme’s style.css, I have this listed to prevent the post/page titles from displaying on the posts/pages:

    .page-title {
    display: none;
    }

    .post-title {
    display: none;
    }

    The titles will show up in my search results if I remove that code from my child style sheet, but then titles show up on everything. How can I specify that I want titles on my search results, but nowhere else?

    2nd Question

    How can I add a statement similar to “Your search for ‘Yokogawa’ returned 5 results:” at the top of my search results page?

    3rd Question

    Least important, but is there also a way to not have the post/page images show in the search results? I’d like to try and see what that looks like.

    Thank you very much in advance for your help!

    Eva

Viewing 1 post (of 1 total)

  • You must be logged in to reply to this topic.