Forums Forums Search & Filter Pro add a filter on an archive page

Tagged: 

Viewing 10 posts - 1 through 10 (of 52 total)
  • Anonymous
    #226360

    Hi!

    I’ve read this doc https://searchandfilter.com/documentation/search-results/as-an-archive/ but my archive isn’t displaying the filters. I suspect that I’m doing something wrong but I’m not sure what it is!

    Can someone help me out?

    Thanks!

    Trevor
    #226410

    You can either:

    #1 Add it to a sidebar or other widget area in Appearance -> Widgets

    #2 Edit the archive page PHP template (always use a child theme to do this) and add the form as a shortcode

    Both methods are described here, in this documentation page:

    https://searchandfilter.com/documentation/getting-started/display-search-form/

    Anonymous
    #226426

    thanks! that did help.

    now i have a follow up 🙂

    i added the filter to the widget on the right and that works. 2 questions though:

    1. Is there a way to just list the tags that I want to INclude? I have 750 tags and for one search, I literally only want to include 2 of them.

    2. If I select something that has more than a page’s worth of items, pagination is visible but doesn’t work. What am I doing wrong?

    Anonymous
    #226430

    and i found out one more thing that will probably help you.

    With #2, the pagination only breaks when i select multiple items from the checkbox. Pagination DOES work if i only select 1 item.

    Trevor
    #226538

    For #1, see here, use the Includes:

    https://www.screencast.com/t/Sfbmyis4M

    Click the Search icon for the taxonomy (tags) and select the ones you want to use.

    Trevor
    #226540
    This reply has been marked as private.
    Anonymous
    #226544
    This reply has been marked as private.
    Trevor
    #226548
    This reply has been marked as private.
    Anonymous
    #226550
    This reply has been marked as private.
    Trevor
    #226566

    Yes

Viewing 10 posts - 1 through 10 (of 52 total)