Ivory Search › Forums › Support › Form doesn’t search only the taxonomies or posts I’ve specified
- This topic has 52 replies, 2 voices, and was last updated 2 years, 6 months ago by Ivory Search.
You must be logged in to create new topic or reply to the topic. Click To Login
- AuthorPosts
- December 30, 2021 at 1:29 AM #10076
Hello,
I created a new search form and there are exclusions, yet it pulls up the results from all the pages and posts. It almost appears that a default wordpress search is overriding my settings. Could that be true?This page isn’t public yet. Can I send you the page URL privately?
You can search a term like common cold. I have the search form set to search only posts with the category that I setup (knowledge base), yet you can see it’s pulling up all pages for the results.
I will reference back to this problem – which seems similar to mine.
- December 30, 2021 at 1:32 AM #10077This reply has been marked as private.
- December 30, 2021 at 2:10 AM #10078
- December 30, 2021 at 2:11 AM #10083
- December 30, 2021 at 2:12 AM #10086
- December 30, 2021 at 2:12 AM #10091
The website also uses Elementor
- December 30, 2021 at 2:21 AM #10092This reply has been marked as private.
- December 30, 2021 at 11:08 AM #10098
Do you want to allow users to search posts having a “Knowledge base” category?
If yes then please enable the plugin options as shown in the attached screenshots.
Attachments:
You must be logged in to view attached files. - January 4, 2022 at 8:09 AM #10143
Hi there!
I checked the options you suggested and it still comes up with the same results.
1. On the knowledge base landing page, I type in the word “cold” and comes back with “Sorry, but nothing matched your search terms. Please try again with some different keywords.”
2. Then I type in “cold” in that search field on that page and it comes up with not only the knowledge base page, but all the other pages that have the word cold in them.1. I only want it to show the results from the tags I listed in the posts.
2. and that still doesn’t answer why the knowledge base landing page gives me the error “Sorry, but nothing matched your search terms. Please try again with some different keywords.”Ideas?
Thank you! - January 4, 2022 at 7:42 PM #10150
1. On the knowledge base landing page, I type in the word “cold” and comes back with “Sorry, but nothing matched your search terms. Please try again with some different keywords.”
On the knowledge base landing page, you have configured the search form to search post type and not knowledge base post type.
Please configure the search form on the below path to search only knowledge base post type.
Admin Area -> Ivory Search -> Search Forms -> Edit Search Form -> Search -> Post Types
If it still does not work then try temporarily using the Default WordPress Search Engine on the below path.
Admin Area -> Ivory Search -> Search Forms -> Edit Search Form -> Options -> Search Engine
- January 4, 2022 at 10:22 PM #10152
So maybe the confusion is that the knowledge base is just a category – it’s not a post type. AND knowledge base is the name of my search form.
So I have 2 search forms. Knowledge Base and the Default Search Form.
(and to add to the confusion – I’ve nicknamed myself “knowledge base admin”)Sooo – it still doesn’t work. Same problems listed as above.
Attachments:
You must be logged in to view attached files. - January 4, 2022 at 10:57 PM #10157
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 the account login details privately by checking the option “Set as private reply” when replying to this topic?
- January 5, 2022 at 12:27 AM #10161This reply has been marked as private.
- January 5, 2022 at 2:17 PM #10164
I logged into your website and it seems this is happening because of the Learndash LMS plugin that you are using on your website because if I deactivate the plugin then the search works fine.
Could you please contact the plugin support to know whether there is any setting to configure to fix the issue?
If not then could you please share the plugin file on admin@ivorysearch.com so that I can further troubleshoot the issue?
- January 5, 2022 at 6:53 PM #10165
Well, good news is that you figured out the conflict! Bad news is it’s not an easy fix i suppose. I will see if i can get you the plugin file or contact their support. The client uses it daily – that much I know.
Thank you for your wonderful responsiveess thus far!
- January 5, 2022 at 7:53 PM #10166
If possible You can also share your website FTP details here privately so that I can troubleshoot it more to fix the issue?
- January 6, 2022 at 1:35 AM #10171
Well – I don’t have ftp access (don’t ask – long story), but I can get to the file manager through the cpanel. If I download the Learndash plugin folder, is that all you would need?
- January 6, 2022 at 1:25 PM #10180
Yes, that will work for me.
- January 7, 2022 at 4:45 AM #10184This reply has been marked as private.
- January 9, 2022 at 7:57 PM #10225
Thank you for sharing the FTP details.
I have downloaded the plugin and troubleshooting it on my website.
I will update you shortly.
- January 11, 2022 at 3:30 AM #10241
Thank you so much!
- January 13, 2022 at 11:47 PM #10292This reply has been marked as private.
- January 14, 2022 at 2:05 PM #10301
Does it work for you using the latest updated LearnDash LMS?
- January 18, 2022 at 1:55 AM #10329
Nope – it still doesn’t work right.
- January 19, 2022 at 5:59 AM #10355
Any luck with this? The client is pushing me to find something.
Thanks! - January 22, 2022 at 6:22 PM #10402
Hey I just checked it and it looks like it’s partly working! So that’s a step in the right direction!
1. When I put in the search term and the term is found, it looks like it’s pulling up only the posts with the tags I specified. So that’s great!
2. If I put in a search term and the term ISN’T found, it pulls up a new page with the error “Sorry, but nothing matched your search terms. Please try again with some different keywords”, which I would expect, so that’s good too.
3. That page with the error has a search field so I can try again, so that’s good, BUT When I type in the search term on that page, it pulls up ALL the pages on the website with my search term (which we don’t want – we only want the posts with the tags I specified).Getting closer!
Thank you!Attachments:
You must be logged in to view attached files. - January 22, 2022 at 6:31 PM #10404This reply has been marked as private.
- January 22, 2022 at 6:50 PM #10406
I also tried it with the Learndash plugin activated and de-activated. Either way, the secondary search term page pulls up the same results with ALL the pages with the search term instead of just the posts with my tags in them.
- January 22, 2022 at 8:28 PM #10407
This was happening because of the Learndash LMS enroll-only search feature as shown in the attached screenshot.
I have resolved the issue by using the attached custom plugin.
Could you please check it now?
Attachments:
You must be logged in to view attached files. - January 22, 2022 at 10:57 PM #10412
Yes!!
It all works!
Thank you thank you!!I do know that Learndash is very important to the client.
What I’m wondering now is, I’m not sure if they use the search feature from within Learndash, but if they do, will it work? - January 23, 2022 at 10:23 AM #10419
You are always welcome here 🙂
Yes, it will work.
- January 24, 2022 at 11:42 PM #10439
ok thank you!
- January 24, 2022 at 11:57 PM #10442
Soooo, I went to page https://energy4wellness.institute/faqs/
and I added a search form that I dragged onto the page from the Elementar basic widgets. I typed in the word “course” and it says Sorry, but nothing matched your search terms. Please try again with some different keywords.So now is the Ivory search the only search field I can use???
- January 25, 2022 at 12:16 AM #10443This reply has been marked as private.
- January 25, 2022 at 4:47 AM #10446This reply has been marked as private.
- January 31, 2022 at 10:10 PM #10553
There is no post containing “course” word on your website so please perform search using different keyword such as “pain”.
- February 1, 2022 at 4:02 AM #10560
Ahhhh – but there ARE pages that have the word “Course” on them.
On the FAQs page, I need it to pull from the whole website, not just the posts.
I only need the search to limit – from the knowledge base page – to the posts I specified using the tags. All other pages need to search the whole website.
Make sense?? - February 2, 2022 at 6:58 PM #10579
I only need the search to limit – from the knowledge base page – to the posts I specified using the tags. All other pages need to search the whole website.
Make sense??Yes, in that case, please use the knowledge base search form on the knowledge base page and use the Default Search Form on all other pages.
Please make sure that you have configured the Default Search Form to search all content or just reset it by clicking on the Reset button.
- February 3, 2022 at 10:00 AM #10584
ok. When you say use the Default Search form, are you talking about the search form that comes with Ivory Search? or the search form that comes with Elementar? or is that one and the same?
- February 3, 2022 at 7:41 PM #10590
Yes, they are the same.
- February 5, 2022 at 3:35 AM #10602
ok I will try that and let you know.
Thank you! - February 5, 2022 at 3:17 PM #10613
Ok
- February 8, 2022 at 4:50 AM #10639
I think the default search form work! I did a reset and it pulled up results from the entire website.
Wonderful!
Thank you so much! - February 8, 2022 at 3:29 PM #10641
You are always 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.
- April 28, 2022 at 12:44 AM #11583
I am trying to reply to this forum, but it doesn’t appear to be going through. Can you please let me know if you’ve received about 3 or 4 duplicates of the same question?
Thank you!
- April 28, 2022 at 12:46 AM #11585
I thought all was working ok, but I am noticing, for some search words,
On the 2nd search page, when you get to the error page (because on the initial search page the search term can’t be found) and put in a different search term (one that CAN be found), it pulls up the search results from many other pages (which we don’t want – we only want it to search the tags on the Posts pages).
Can you please assist with that? I think I’d be ok with it not even having a search field on that error page, forcing people to go back to the original search page (if that 2nd search page can’t easily be fixed).
You will need to be logged in to see it, so please let me know if you need the user id & password again.
Thank you!
- April 28, 2022 at 1:12 AM #11588
ok – so I found a work-around. I added the custom css to the Appearance > Additional CSS section
.search .site-content .content-area .search-form {
display: none;
}That seems to keep the search form field on the initial search page, but not the 2nd “no results” page. Which is ok I guess. It’ll force the user to go back to the initial search page.
Unless you know of another fix.
Thank you!
- April 28, 2022 at 1:15 AM #11589
But if I keep it this way, without another search field, then I would like to edit the text to say “please go back and enter a new search term” or something like that. I can’t figure out where to change those words though.
- April 29, 2022 at 4:33 PM #11614
On the 2nd search page, when you get to the error page (because on the initial search page the search term can’t be found) and put in a different search term (one that CAN be found), it pulls up the search results from many other pages (which we don’t want – we only want it to search the tags on the Posts pages).
Can you please assist with that? I think I’d be ok with it not even having a search field on that error page, forcing people to go back to the original search page (if that 2nd search page can’t easily be fixed).
You will need to be logged in to see it, so please let me know if you need the user id & password again.
Please share the user od and password.
Also, please share the respective page URLs.
- April 30, 2022 at 3:35 AM #11624This reply has been marked as private.
- April 30, 2022 at 10:39 AM #11628
The search form displayed on the search results not found page is a Default Search Form of your theme and not the Knowledge Base search form that you have configured.
You have to also configure the Default Search Form the same way as the Knowledge Base search form as shown in the attached screenshot.
Attachments:
You must be logged in to view attached files. - May 3, 2022 at 12:22 AM #11641
ok. I was afraid of that. I don’t want to change the default search form because I don’t want the entire website using the search criteria of the knowledge base search form, soooo
my solution is to remove the search form on the secondary page by using this custom css code
/*—2nd search form with error—*/
.search .site-content .content-area .search-form {
display: none;
}and that worked.
BUT
now the text that’s shows on the page doesn’t look right (and I’d love to add a link back to the initial search page on the knowledge base page). Do you have any idea how I can change that text? I can’t figure that out.Thank you!
- May 3, 2022 at 8:52 PM #11650
now the text that’s shows on the page doesn’t look right (and I’d love to add a link back to the initial search page on the knowledge base page). Do you have any idea how I can change that text? I can’t figure that out.
It is displayed by the theme that you are using on your website so please contact the theme support to change it.
- AuthorPosts
You must be logged in to create new topic or reply to the topic. Click To Login