Forums › Forums › Search & Filter Pro › Filter by same taxonomy twice
- This topic has 6 replies, 3 voices, and was last updated 8 years, 6 months ago by Ross.
-
Anonymous(Private) April 11, 2016 at 7:15 pm #42332
Hi,
I’m trying to filter by the same taxonomy (member-category) twice. S&F appears to only apply 1 of the 2 filters. Is there anything I can do to make this work?See this page for an example:
http://selkirkloop.org/wordpress/member-category/cities/idaho/sandpoint/The Cities and Member Categories are both the tax member-category .
Thanks.
Anonymous(Private) April 11, 2016 at 7:52 pm #42345Thanks for asking Ross.
What I’m seeing happen is that due to the fact that both fields share the same
name="_sft_member-category[]"
, only one value is passed along for filtering. If I change either one of them toname="_sft_member-category1[]"
then both values are passed into to URL. Obviously it doesn’t actually search since I’ve changed what it is searching for, but is there any way to give the second a field a unique identifier so it doesn’t cover up the first one?Anonymous(Private) April 11, 2016 at 8:23 pm #42350If I type in
http://selkirkloop.org/wordpress/?sfid=3906&_sft_member-category=hotels-motels&_sft_member-category=restaurants
or ‘http://selkirkloop.org/wordpress/?sfid=3906&_sft_member-category=hotels-motels+restaurants’ I receive the same correct results. Is there a way of having the plugin include the ‘&_sft_member-category’ instead of overwriting?(btw, the previous unique identifier idea probably wont work)
Ross Moderator(Private) April 20, 2016 at 1:10 am #43326Hey Christopher
Sorry for the delay on this, going through old threads and just seen this.
I’m afraid you can’t use the same field twice, to have more fields you need to create custom taxonomies – please see the restrictions noted here:
And below this you can see how to create new custom fields & taxonomies.
Thanks
-
AuthorPosts