Title: post loop exclude format quote
Last modified: August 30, 2016

---

# post loop exclude format quote

 *  Resolved [draig](https://wordpress.org/support/users/draig/)
 * (@draig)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/post-loop-exclude-format-quote/)
 * I have a sidebar loop that lists related content like so
 * [loop type=post category=this exclude=this count=6]
 * this works fine… but then I also want to exclude from the loop any posts that
   are using the post-format “quote”
 * Is this possible and if so, how would I do it?
 * [https://wordpress.org/plugins/custom-content-shortcode/](https://wordpress.org/plugins/custom-content-shortcode/)

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

 *  Thread Starter [draig](https://wordpress.org/support/users/draig/)
 * (@draig)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/post-loop-exclude-format-quote/#post-6451888)
 * I resolved this particular case another way, but I would still like to understand
   how to do this… how do I exclude format=quote?
 * Or in the general, how do I exclude a single term for a custom taxonomy that 
   may have 20 terms?
 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/post-loop-exclude-format-quote/#post-6451935)
 * To exclude a taxonomy term:
 *     ```
       [loop taxonomy=tax term=something compare=not]
       ```
   
 * This wasn’t clear in the documentation, so I updated it.
 * For post formats, it’s possible to set `taxonomy=post_format term=post-format-
   X` where X is the post format slug. In the newest plugin update, I added a shorter
   way:
 *     ```
       [loop taxonomy=format term=quote compare=not]
       ```
   
 *  Thread Starter [draig](https://wordpress.org/support/users/draig/)
 * (@draig)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/post-loop-exclude-format-quote/#post-6451959)
 * ahhh… I was close to the right syntax, but not quite
 * Thanks for the clarification
 * and this is a clearer method and good improvement
 * [loop taxonomy=format term=quote compare=not]

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

The topic ‘post loop exclude format quote’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-content-shortcode_766976.svg)
 * [Custom Content Shortcode](https://wordpress.org/plugins/custom-content-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-content-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-content-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-content-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-content-shortcode/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [draig](https://wordpress.org/support/users/draig/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/post-loop-exclude-format-quote/#post-6451959)
 * Status: resolved