Forums › Forums › Search & Filter Pro › add a filter on an archive page
Tagged: archive
- This topic has 51 replies, 2 voices, and was last updated 5 years ago by Anonymous.
-
Anonymous(Private) November 12, 2019 at 2:34 pm #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(Private) November 12, 2019 at 6:06 pm #226410You 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(Private) November 12, 2019 at 6:56 pm #226426thanks! 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?
Trevor(Private) November 13, 2019 at 4:40 pm #226538For #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.
-
AuthorPosts