Forums › Forums › Search & Filter Pro › Adding a Custom Field Relationship between Two Custom Fields
Tagged: conditions, field relationship, operator, V3
- This topic has 2 replies, 2 voices, and was last updated 4 years, 5 months ago by Anonymous.
-
Anonymous(Private) May 18, 2020 at 8:01 pm #244678
Hi-
I’m really enjoying your plugin and the flexibility it provides for searching/filtering custom post types.
I have custom post type that has ACF custom fields and taxonomies. As I familiarize myself with the Search & Filter Pro plugin, I see that there is general Field Relationship that can be set for all fields and taxonomies. It’s either AND or OR. Great.
I have also discovered the Search Operator that can be used for specific taxonomy. This allows for AND or OR filtering for all the terms of specific taxonomy. Super Awesome!
So everything is configured and running great. Currently I’m using AND as the Field Relationships:
Grant Types (taxonomy using the OR Search Operator) AND Start Date (custom field using Date Range Input Type) AND City (custom field) AND State (custom field).
However, I’d really like to add a custom condition between the City and State custom fields. That way the query would work like:
Grant Types AND Start Date AND ( City OR State )
Is there a way for me to override the Field Relationship between two specific custom fields?
Thank you for the great plugin!
Trevor(Private) May 19, 2020 at 8:46 am #244726In the current version of our plugin that is not possible. We are working hard now to get V3 ready for release, and we hope to have it for late June (but that may flex a little). It has been a long time in coding and has a lot of new features, one of which should be what you need.
-
AuthorPosts