• Resolved wicaksanaengage

    (@wicaksanaengage)


    Dear support,

    I am showing faq question on my web page by a certain category, for example [ultimate-faqs include_category=’vegetables’]

    How can I have a filter function for the questions within the same page?

    I am now using the short code [ultimate-faq-search] and I have 2 problems:
    1. it shows the result on top of the questions list,
    2. it shows the result from other category (not part of the shown list).

    How can I fix this problem?

    Best regards,

    Wicaksana

    https://ww.wp.xz.cn/plugins/ultimate-faqs/

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

    Could you provide a little more detail about what you’re looking to achieve with the filter function you mentioned? Perhaps a link to your site to go along with the explanation might help.

    For the search:

    1. Normally the results appear below the search box. Could you provide a link to your FAQ search page so we can see the behaviour you’re talking about?

    2. The search query will show all results that match the search term, regardless of category.

    Thread Starter wicaksanaengage

    (@wicaksanaengage)

    Hi,

    I managed to achieve what I want with this code : [ultimate-faq-search include_category=’vegetables’] and modifying the file ‘ewd-ufaq-js.js’ with the following code in order to show all the questions after loading the page:

    jQuery(function(){ //DOM Ready
    ufaqSetClickHandlers();
    UFAQSetAutoCompleteClickHandlers();
    Ufaq_Ajax_Reload();
    });

    It would be nice if there is an attribute or short code to show all search results at the beginning.

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

The topic ‘Filter faq within a category’ is closed to new replies.