Support Forums

Hey there, it looks like you've been redirected from designsandcode.com - as you can see we have a new home - read more

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro Search certain custom category only

Viewing 10 posts - 1 through 10 (of 21 total)
  • Robin Port
    #83370

    Hello,

    so I made a CPT with some categories and multiple posts within each category.
    I made some Subpages, one for each category. There I only want to search and display specific posts of this category.
    I made taxonomies for categories I want to use on this page as well.

    Problem:
    The taxonomie filters always show all events of all categories instead of just the one I selected. It must only show the results of only one category.

    The result grid (tiles) it only shows the correct tiles / posts. But as soon as I use the filter options I have all posts available.

    Settings:
    I searching my cpt checked
    Checked use correct shortcode on page
    Specific category selected.
    Tested excluding all other categories as well

    Shortcode:
    [searchandfilter id=”1261″]
    [searchandfilter id=”1261″ show=”results”]

    Thanks

    Trevor Moderator
    #83391

    Is the category you want it restricted to available as a field in the form?

    Robin Port
    #83641
    This reply has been marked as private.
    Trevor Moderator
    #83718
    This reply has been marked as private.
    Robin Port
    #84021
    This reply has been marked as private.
    Trevor Moderator
    #84060

    Hi

    I notice that you have posts set at 99 per page. v2.3.0 of our plugin (you have 2.2.0 installed) supports infinite scroll, and, in WordPress, -1 is the number to use for unlimited.

    On the page example you gave me, will that search form only ever be used on that page, or is it used on other pages?

    Robin Port
    #84085
    This reply has been marked as private.
    Trevor Moderator
    #84094

    So, did you try in the Tags, Categories & Taxonomies settings tab to include just the Category you want?

    Robin Port
    #84552
    This reply has been marked as private.
    Trevor Moderator
    #84561
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 21 total)

The topic ‘Search certain custom category only’ is closed to new replies.