WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Only one category or tag

[Resolved] Only one category or tag

Viewing 6 replies - 1 through 6 (of 6 total)
  • This is why we included the configurable AND/OR logic. Say, for example, someone wanted to search for studio flats in London OR Paris. They could use the search bar to input City: London, City: Paris, Property Type: Studio Flat.. this would then return studio flats from both cities.

    martinleft
    Member

    @martinleft

    I understand the purpose of AND/OR, but as you mentioned above about Cities, I need a possibility to choose only one city. Only one city Paris and then only one Property type. Now if I choose a city, and then I press on search bar it gives me possibility to choose one more city. I bought PRO version, maybe there’s some ways to do it in settings page?

    In most instances, we’d want to allow the user to expand their search by choosing more than one city, but I understand what you’re asking for and I can see how it would be useful in some instances. This would be a pretty easy feature to implement, I’ll add it to our bug tracker and try to get it into the next version.. should be out within a couple of weeks.

    martinleft
    Member

    @martinleft

    Thanks! Maybe there’s a quick fix for now? I could edit js files

    You’d have to be pretty good with js. You’d want to look at the main.js file where the get-facets action is run. You’d need to pass the currently active facets back to the server, then in wp-ultimate-search.php in get_facets() you’d have to check the facets passed in and exclude any that are currently in use.

    martinleft
    Member

    @martinleft

    Ok, I’ll wait :))

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Only one category or tag’ is closed to new replies.