• Resolved AytacM

    (@aytacm)


    Hello,
    You mentioned that it is possible to use an AND operator in options page. But I can’t see any example.

    Is it possible to use your plugin to narrow down the results by selecting multiple tags/categories as in amazon.com? I mean making the faceted search.
    Example:
    Content A > Category-d and Category-e
    Content B > Category-d only
    When user selects Category-d only, it should be seen Content A and Content B.
    However, when the user selects Category-e AND Category-d at the same time, it should be seen Content A only.

    Is it possible?
    Best regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter AytacM

    (@aytacm)

    Hello,
    I just realized that this AND operator is the default option with the shortcode as below:
    [searchandfilter headings=”Select categories:” types=”checkbox” fields=”category”]

    I also found out that it can be changed to OR operator with this:
    [searchandfilter headings=”Select categories:” types=”checkbox” fields=”category” operators=”OR”]

    Thanks anyway, it is a very useful and life saver plugin ??

    Thanks.. I was looking for the same solution! Luckily it’s still keeping the selections across taxonomies as “AND” while making the selections within one taxonomy as “OR” upon putting the operators= parameters. An example case from my end : Look for articles under Biology or Chemistry, but they should all be of high school level. I have kept “biology”, “chemistry” in one taxonomy and “high school” in another taxonomy.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using an AND operator’ is closed to new replies.