Title: Combining Shortcodes
Last modified: April 20, 2021

---

# Combining Shortcodes

 *  [Robin](https://wordpress.org/support/users/infinityonline/)
 * (@infinityonline)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/combining-shortcodes-3/)
 * I’ve been reading through the documentation on short-codes but can’t see how 
   to combine them to get a situation where I only present properties based on meeting
   2 criteria.
 * How would I combine the criteria of location and property_type?
 * Say I had [properties location=”1″] and [property_type=”Office”] how would I 
   merge them so the shortcode only displays Offices in Location 1?
 * [properties location=”1″ &property_type=”Office”]
    [properties location=”1″ AND
   property_type=”Office”]
 * Hopefully trying to figure out an AND solution not an OR solution.

The topic ‘Combining Shortcodes’ is closed to new replies.

 * ![](https://ps.w.org/propertyhive/assets/icon-256x256.gif?rev=3206072)
 * [Property Hive](https://wordpress.org/plugins/propertyhive/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/propertyhive/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/propertyhive/)
 * [Active Topics](https://wordpress.org/support/plugin/propertyhive/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/propertyhive/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/propertyhive/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Robin](https://wordpress.org/support/users/infinityonline/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/combining-shortcodes-3/)
 * Status: not resolved