Hiding page titles in search result

Ivory Search Forums Support Hiding page titles in search result

Viewing 3 reply threads

You must be logged in to create new topic or reply to the topic.

  • Author
    Posts
    • #4767
      basketballblokes
      Participant
      • Topics: 1
      • Replies: 3

      Hi there,

      If I have set my search form to show pages only, how can I hide the titles in the search result?

      I only wish to have the content display.

      Thanks in advance!

    • #4769
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      I hope you are well today and thank you for your question.

      Could you please share the search results page URL from your site where it is displaying so that I can help you to hide the page titles?

      Best regards,
      Ivory Search Support

      • #4778
        basketballblokes
        Participant
        • Topics: 1
        • Replies: 3

        Thanks for the reply.

        http://basketballblokes.com/?s=cotton&id=4649&post_type=page

        I’m wanting to remove the page titles in the result, but the search also seems to un-format the title below the search result from the page in which the search was conducted. eg. The title below the search results “Player Game Logs” is smaller and aligned to the far left for some reason, but wasn’t prior to conducting a search.

        Thanks again for your help!

      • #4779
        basketballblokes
        Participant
        • Topics: 1
        • Replies: 3

        Meaning the text within the list of results is not centered anymore.

        Thanks

    • #4782
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      I’m wanting to remove the page titles in the result,

      I am not sure which title on the page you want to remove so could you please describe it a bit more in detail or share the screenshot of it?

      but the search also seems to un-format the title below the search result from the page in which the search was conducted. eg. The title below the search results “Player Game Logs” is smaller and aligned to the far left for some reason, but wasn’t prior to conducting a search.
      Meaning the text within the list of results is not centered anymore.

      You can center align it by adding the below CSS code in the Custom CSS option of Ivory Search plugin settings on the path Ivory Search -> Settings -> Settings

      .search-results .articles-classic .text-box h2 {
          text-align: center;
          display: block;
      }
      • #4785
        basketballblokes
        Participant
        • Topics: 1
        • Replies: 3

        Thank you! The css worked.

        I have come up with a work around for the titles.

        Thanks again!

    • #4786
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      You are most welcome, I’m glad I was able to help you with this matter. There is no obligation but by your kind words I wonder if I could trouble you to leave a review based on this experience here:

      https://wordpress.org/support/plugin/add-search-to-menu/reviews/?filter=5

      I’d really appreciate that. 🙂

      And if I can be of any further assistance please don’t hesitate to ask.

Viewing 3 reply threads

You must be logged in to create new topic or reply to the topic.