Forums › Forums › Search & Filter Pro › Not working on taxonomy archive
- This topic has 5 replies, 2 voices, and was last updated 7 years, 3 months ago by
Trevor.
-
Anonymous(Private) November 27, 2017 at 1:26 pm #144079
Hi,
We’re trying to get Search & Filter up and running on taxonomy archives, specifically archives for child terms. So far we’re getting totally no results, or with other settings the filters just don’t influence the results, a weird detail is that the counter in the menu’s does change!
I wanted to share some screenshots of the current settings, but I don’t see any possibilities for that on this support forum. So I’ve uploaded a zip here: https://drive.google.com/file/d/0B4GZTx5U1Brfd0l2MFNvQUpENnM/view?usp=sharing
The form can be seen in action over here (filters are on the right side):
https://www.dynamo-workshops.nl/doelgroepen/mbo-hbo-wo/The support documents are pretty thin on this subject, so I’m a bit stuck at this moment. Any help would be greatly appreciated.
Trevor(Private) November 27, 2017 at 2:11 pm #144088Hi
To test whether it works or not, in the first instance can you set it up using the Shortcode Display Results method, as shown here:
https://www.designsandcode.com/documentation/search-filter-pro/search-results/using-a-shortcode/
And switch off ajax and test. If that works, then we need to consider how to integrate the form to your theme templates.
Anonymous(Private) November 27, 2017 at 5:11 pm #144119Hi Trevor,
Switching to using the shortcode for results helped me greatly, it’s also working with Ajax. Is this the way to go when showing results on a taxonomy archive?
I’ve created a custom template for showing the results and this works good as well. The only problem I’ve got is that the template file needs to be called ‘results.php’ or ‘166.php’ (the ID of the form). It doesn’t seem to be possible to use the slug of the form for the template name, am I right about that? This gives me problems since the ID’s are different locally and on the server.
Also, I want to use the same form for all taxonomy archive pages (would be better not to need to create a form per term), but in that case I’ve got a problem with the ‘Results URL’ for the shortcode display. What do I need to insert there in this case? For now I’ve just disabled the ‘make searches bookmarkable option’.
Trevor(Private) November 27, 2017 at 5:33 pm #144123That issue is one I too have faced, but at the moment, there is no resolution. The theme I use has built in support for Search & Filter pro, so instead of the Shortcode method it uses the Custom method. At least you can use one template that way, but you would still need specific results URLs, and still have the issue of using post ID’s for the form results.
-
AuthorPosts