Hide Excerpt/Page Content from Search Results

Ivory Search Forums Support Hide Excerpt/Page Content from Search Results

Viewing 10 reply threads

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

  • Author
    Posts
    • #6438
      eylercreative
      Participant
      • Topics: 1
      • Replies: 5

      Hello! Is it possible to hide the excerpt/page content from search results? See here for an example: https://jcsbalt.org/?s=disabilities

      Thank you.

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

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

      You can hide 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 article .entry-content {
          display: none;
      }
      
      .search-results #content article {
          padding: 20px 0 0;
      }

      Best regards,
      Ivory Search Support

    • #6458
      eylercreative
      Participant
      • Topics: 1
      • Replies: 5

      Great, thank you!

      Now, is it also possible to hide the images in search results?

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

      Please also use the below CSS code to hide the images on the search results page.

      .search-results article .post-thumb {
          display: none;
      }
      • #6519
        eylercreative
        Participant
        • Topics: 1
        • Replies: 5

        Thank you! One last thing… Can I also hide the Entry Meta? The Leave a Comment/Categories/Author line?

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

      Please also use the below CSS code to hide the meta data.

      .search-results .entry-meta {
          display: none;
      }
    • #6660
      eylercreative
      Participant
      • Topics: 1
      • Replies: 5

      Thanks for the help. We’ve run into a new issue.

      If you search for “teens,” for example, not all of the blog posts show up that are tagged with “teens.” For example, none of the “teens” tagged posts (found https://jcsbalt.org/tag/teens/ here) are appearing in search results. Please advise!

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

      Please make sure that you have configured the search form to search tags as shown in the attached screenshot.

      Attachments:
      You must be logged in to view attached files.
    • #6686
      eylercreative
      Participant
      • Topics: 1
      • Replies: 5

      Unfortunately, we did try that, but it doesn’t seem to resolve the issue… This post, for example (https://jcsbalt.org/uncategorized/the-pressure-path/) is tagged with “teens” but doesn’t come up for “teens” in search.

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

      Would you mind if I log in to your site and do quick troubleshooting? If this is ok then could you please temporarily create an admin user account and share me the account login details privately by checking the option “Set as private reply” when replying to this topic?

    • #6692
      eylercreative
      Participant
      • Topics: 1
      • Replies: 5
      This reply has been marked as private.
    • #6695
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      I logged into your website and saw it is not working because you have excluded it from the search as shown in the attached screenshot.

      Attachments:
      You must be logged in to view attached files.
Viewing 10 reply threads

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