Title: Combine multiple terms in shortcode
Last modified: April 20, 2017

---

# Combine multiple terms in shortcode

 *  [bfisseler](https://wordpress.org/support/users/bfisseler/)
 * (@bfisseler)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/combine-multiple-terms-in-shortcode/)
 * Hi,
 * is it possible to combine multiple terms like this?
    `term='(cat1 OR cat2) AND
   cat3'`
 * I want to display the Person entries of people who belong either to cat1 or cat2,
   and are all in cat3.
 * Kind regards
 *  Bjoern

Viewing 1 replies (of 1 total)

 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/combine-multiple-terms-in-shortcode/#post-9050470)
 * It’s possible to use multiple terms and an operator; terms would be comma-separated
   and the operator is entered using the ‘operator’ attribute in the shortcode. 
   However, it’s not possible to use mixed operators to do a query like what you’re
   trying to do.
 * If you know what you’re doing with WP_Query arguments, you can use the ‘mcm_pre_query_args’
   filter to do your own customization of the queries, but it’s not an option in
   the shortcode.

Viewing 1 replies (of 1 total)

The topic ‘Combine multiple terms in shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/my-content-management_699eca.svg)
 * [My Content Management](https://wordpress.org/plugins/my-content-management/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/my-content-management/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/my-content-management/)
 * [Active Topics](https://wordpress.org/support/plugin/my-content-management/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/my-content-management/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/my-content-management/reviews/)

## Tags

 * [combine](https://wordpress.org/support/topic-tag/combine/)
 * [logical](https://wordpress.org/support/topic-tag/logical/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)
 * [terms](https://wordpress.org/support/topic-tag/terms/)

 * 1 reply
 * 2 participants
 * Last reply from: [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/combine-multiple-terms-in-shortcode/#post-9050470)
 * Status: not resolved