Hide Excerpt/Page Content from Search Results
Ivory Search › Forums › Support › Hide Excerpt/Page Content from Search Results
Tagged: excerpt, page content
- This topic has 11 replies, 2 voices, and was last updated 3 years, 11 months ago by Ivory Search.
You must be logged in to create new topic or reply to the topic. Click To Login
- AuthorPosts
- November 21, 2020 at 2:56 AM #6438
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.
- November 21, 2020 at 2:53 PM #6443
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 - November 23, 2020 at 11:57 PM #6458
Great, thank you!
Now, is it also possible to hide the images in search results?
- November 24, 2020 at 9:27 PM #6463
Please also use the below CSS code to hide the images on the search results page.
.search-results article .post-thumb { display: none; }
- December 1, 2020 at 10:40 PM #6519
Thank you! One last thing… Can I also hide the Entry Meta? The Leave a Comment/Categories/Author line?
- December 2, 2020 at 12:26 PM #6527
Please also use the below CSS code to hide the meta data.
.search-results .entry-meta { display: none; }
- December 15, 2020 at 11:41 PM #6660
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!
- December 17, 2020 at 3:07 PM #6680
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. - December 17, 2020 at 10:35 PM #6686
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.
- December 18, 2020 at 12:57 PM #6691
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?
- December 18, 2020 at 8:30 PM #6692This reply has been marked as private.
- December 19, 2020 at 1:00 PM #6695
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.
- AuthorPosts
You must be logged in to create new topic or reply to the topic. Click To Login