WordPress.org

Forums

Advance WP Query Search Filter
Multiple field search (2 posts)

  1. dherold
    Member
    Posted 1 year ago #

    Having trouble with a search involving two custom fields.

    One field is for city, one for activity.

    If I check City X, I get all City X results.
    If I check Activity Y, I get all Activity Y results.

    If I check City X AND Activity Y (separate fields), I DO NOT get City X results that are also Activity Y, as logic would suggest.

    If this is not possible, why does the plugin allow BOTH fields in ONE search form? The form should be limited to searching one field, or at least come with the PROMINENT caveat that searching multiple fields at once is an OR operation only?

    I appreciate the work that went into this plugin, and really appreciate that it is free, but I wonder if the "ADVANCE" in the name is a bit of a stretch ...

    http://wordpress.org/plugins/advance-wp-query-search-filter/

  2. TC.K
    Member
    Plugin Author

    Posted 1 year ago #

    Have you choose "AND" in the Boolean relationship between the meta queries, in the Custom Meta Field section?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advance WP Query Search Filter
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic