Forums Forums Search & Filter Pro Filter by same taxonomy twice

Viewing 7 posts - 1 through 7 (of 7 total)
  • Anonymous
    #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.

    Trevor
    #42335

    What you should be doing is having 2 separate taxonomies.

    Anonymous
    #42336

    Hi Trevor,
    thank you for your response. I understand that it would be best if cities were a separate taxonomy, but they aren’t. Can you help me find the best solution that S&F can do if this is not possible?

    Trevor
    #42338

    Sadly, I think it IS the answer. But, I could easily be wrong. So, I will ask Ross if he has any ideas.

    Anonymous
    #42345

    Thanks 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 to name="_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
    #42350

    If 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
    #43326

    Hey 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:

    http://www.designsandcode.com/documentation/search-filter-pro/getting-started/adding-new-fields/#Note_Some_Restrictions

    And below this you can see how to create new custom fields & taxonomies.

    Thanks

Viewing 7 posts - 1 through 7 (of 7 total)