Title: Multiple Statuses In Shortcode
Last modified: December 1, 2016

---

# Multiple Statuses In Shortcode

 *  [Collin Condray](https://wordpress.org/support/users/ccondray/)
 * (@ccondray)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/multiple-statuses-in-shortcode/)
 * Is there any way to specify multiple statuses in the shortcode? This shortcode
   works:
 * [listings taxonomy=”status” term=”available”]
 * But this shortcode doesn’t:
 * [listings taxonomy=”status” term=”available,active”]
 * Also, is there a version of the shortcode that shows all properties without statuses?
   That would also solve my problem.
 * Please let me know there is a way to do this or I can provide more detail about
   my issue.
 * Thanks for the help!

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [agentevolution](https://wordpress.org/support/users/agentevolution/)
 * (@agentevolution)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/multiple-statuses-in-shortcode/#post-8503482)
 * [listings] will show all of the listings and if you want to limit this to show
   a certain amount or control how many columns are shown you can expand on that
   shortcode.
 * limit
    = limit the number of posts to show, defaults to all columns = display
   output in columns, accepts values 2-6, default is 1 column
 * `[listings limit="12" columns="3"]` for example.
    -  This reply was modified 9 years, 5 months ago by [agentevolution](https://wordpress.org/support/users/agentevolution/).
 *  Thread Starter [Collin Condray](https://wordpress.org/support/users/ccondray/)
 * (@ccondray)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/multiple-statuses-in-shortcode/#post-8505081)
 * Thanks for the reply however, I’m not sure I explained things correctly. I wasn’t
   referring to the display parameters of the shortcode. Those are working as expected.
 * My question was about the custom taxonomy part of the shortcode parameters. I
   have a Status taxonomy that shows the property’s current status (Available, Active,
   For Rent, etc.). I would like to either show all properties that have no status
   taxonomy set. If that is not possible, I would like to bo able to set multiple
   status to be displayed.
 * I don’t think this is possible based on the code starting at line 47 of includes/
   shortcode.php. It just looks like it handles a single parameter as described 
   in the Simple Taxonmy Query as describe the WP docs ([https://codex.wordpress.org/Class_Reference/WP_Query#Taxonomy_Parameters](https://codex.wordpress.org/Class_Reference/WP_Query#Taxonomy_Parameters)).
   Do you recommend any other way of specifying multiple taxonomy values?
 * Thank you for your help.
 *  Plugin Author [agentevolution](https://wordpress.org/support/users/agentevolution/)
 * (@agentevolution)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/multiple-statuses-in-shortcode/#post-8507452)
 * For that you would need to use different shortcodes to handle that.
 *  Thread Starter [Collin Condray](https://wordpress.org/support/users/ccondray/)
 * (@ccondray)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/multiple-statuses-in-shortcode/#post-8515341)
 * Are you referring to another shortcode within the plugin or will we have to create
   our own shortcode? If there is another shortcode in the plugin, can you tell 
   me what the syntax of it is?
 * Thanks,
 * Collin
 *  [AardvarkGirl](https://wordpress.org/support/users/aardvarkgirl/)
 * (@aardvarkgirl)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/multiple-statuses-in-shortcode/#post-8544886)
 * I’m trying to do the same thing as Collin. Use the shortcode to pull in two status
   terms, for example “new” and “reduced”.
 * I tried using a comma and just a space, and neither method work:
 * `[listings taxonomy="status" term="new,reduced" limit="10" columns="3"]`
    `[listings
   taxonomy="status" term="new reduced" limit="10" columns="3"]`
    -  This reply was modified 9 years, 4 months ago by [AardvarkGirl](https://wordpress.org/support/users/aardvarkgirl/).
 *  Thread Starter [Collin Condray](https://wordpress.org/support/users/ccondray/)
 * (@ccondray)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/multiple-statuses-in-shortcode/#post-8884496)
 * Our client has asked for this functionality from this plugin again. Is there 
   any way to specify multiple statuses in the shortcode? Are there different shortcodes
   I can use to achieve this effect? If so, what are they and what is their syntax?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Multiple Statuses In Shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-listings_978e8f.svg)
 * [IMPress Listings](https://wordpress.org/plugins/wp-listings/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-listings/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-listings/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-listings/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-listings/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-listings/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Collin Condray](https://wordpress.org/support/users/ccondray/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/multiple-statuses-in-shortcode/#post-8884496)
 * Status: not resolved