Form doesn’t search only the taxonomies or posts I’ve specified

Ivory Search Forums Support Form doesn’t search only the taxonomies or posts I’ve specified

Viewing 48 reply threads

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

  • Author
    Posts
    • #10076
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      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.

      search does not exclude pages

    • #10077
      lteachum
      Participant
      • Topics: 1
      • Replies: 36
      This reply has been marked as private.
    • #10078
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      Items you may find useful in helping me figure this out:

      We are using the Astra theme with a child developed by the original website designers.

      Attachments:
      You must be logged in to view attached files.
    • #10083
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      More general settings

      Attachments:
      You must be logged in to view attached files.
    • #10086
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      Settings from the Knowledge Base named Search I created

      Attachments:
      You must be logged in to view attached files.
    • #10091
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      The website also uses Elementor

    • #10092
      lteachum
      Participant
      • Topics: 1
      • Replies: 36
      This reply has been marked as private.
    • #10098
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      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.
    • #10143
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      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!

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

      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

    • #10152
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      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.
    • #10157
      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 the account login details privately by checking the option “Set as private reply” when replying to this topic?

    • #10161
      lteachum
      Participant
      • Topics: 1
      • Replies: 36
      This reply has been marked as private.
    • #10164
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      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?

    • #10165
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      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!

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

      If possible You can also share your website FTP details here privately so that I can troubleshoot it more to fix the issue?

    • #10171
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      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?

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

      Yes, that will work for me.

    • #10184
      lteachum
      Participant
      • Topics: 1
      • Replies: 36
      This reply has been marked as private.
    • #10225
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      Thank you for sharing the FTP details.

      I have downloaded the plugin and troubleshooting it on my website.

      I will update you shortly.

    • #10241
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      Thank you so much!

    • #10292
      lteachum
      Participant
      • Topics: 1
      • Replies: 36
      This reply has been marked as private.
    • #10301
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      Does it work for you using the latest updated LearnDash LMS?

    • #10329
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      Nope – it still doesn’t work right.

    • #10355
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      Any luck with this? The client is pushing me to find something.
      Thanks!

    • #10402
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      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.
    • #10404
      lteachum
      Participant
      • Topics: 1
      • Replies: 36
      This reply has been marked as private.
    • #10406
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      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.

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

      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.
    • #10412
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      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?

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

      You are always welcome here 🙂

      Yes, it will work.

    • #10439
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      ok thank you!

    • #10442
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      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???

    • #10443
      lteachum
      Participant
      • Topics: 1
      • Replies: 36
      This reply has been marked as private.
    • #10446
      lteachum
      Participant
      • Topics: 1
      • Replies: 36
      This reply has been marked as private.
    • #10553
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      There is no post containing “course” word on your website so please perform search using different keyword such as “pain”.

    • #10560
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      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??

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

      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.

    • #10584
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      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?

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

      Yes, they are the same.

    • #10602
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      ok I will try that and let you know.
      Thank you!

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

      Ok

    • #10639
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      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!

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

      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.

      • #11583
        lteachum
        Participant
        • Topics: 1
        • Replies: 36

        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!

      • #11585
        lteachum
        Participant
        • Topics: 1
        • Replies: 36

        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!

      • #11588
        lteachum
        Participant
        • Topics: 1
        • Replies: 36

        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!

      • #11589
        lteachum
        Participant
        • Topics: 1
        • Replies: 36

        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.

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

      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.

    • #11624
      lteachum
      Participant
      • Topics: 1
      • Replies: 36
      This reply has been marked as private.
    • #11628
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      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.
    • #11641
      lteachum
      Participant
      • Topics: 1
      • Replies: 36

      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!

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

      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.

Viewing 48 reply threads

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