• Resolved wpuser199

    (@wpuser199)


    Hi,

    I am buildinig a new FAQ page and I want to use the search function. After entering a search word, all correct FAQs will be displayed.
    After deleting the characters in the search field, all FAQs are displayed twice. Once as search result and once as it is without the search function.

    How can fix this issue?

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi wpuser199,

    Just like we mentioned in our FAQ’s on wordpress, you can add the attribute “show_on_load” to the shortcode, and set it to “Yes” to display all FAQs when the page first loads. That way you only need to use the search shortcode.
    You can copy the shortcode given below:

    [ultimate-faq-search show_on_load='Yes']
    
    Thread Starter wpuser199

    (@wpuser199)

    Dear EtoileWebDesign,

    thank you for your fast reply. Now, it works! My mistake was that I diplayed the search [ultimate-faq-search] and the categories [ultimate-faqs include_category =“a,b”].
    After adding the show-on-load parameter and removing the category line, everything works fine.

    Thank you for your help!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Search function doesn’t clear result’ is closed to new replies.