Filter Member Loop by taxonomy and based with ‘OR’.
Hi I am trying to create a filter for the members loop ( bp_has_members()) and combining it with taxonomies I have connected with the wp_profile is that possible ?
get_user_meta( $user_id, 'profession', true );this is where the taxonomies are stored.
On second hand I would also like to have fallbacks possibilities and if by taxonomy doesn’t produce enough results filter by ’email’ for example. So instead of taxonomy AND email, taxonomy OR email. I thought of creating another query under the first one but that would result very messy.
- You must be logged in to reply to this topic.