Title: Query posts from taxonomy term
Last modified: August 22, 2016

---

# Query posts from taxonomy term

 *  [zel](https://wordpress.org/support/users/zel/)
 * (@zel)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/query-posts-from-taxonomy-term/)
 * Hello!
    I have created a single taxonomy, inside which I created terms “floor-
   x”. I’ve assigned a term “floor-1” to some custom post and know I wanna print
   them, using my taxonomy.php, based on what’s inside url.
 * Well let’s say I have a link:
    mywordpress.com/custom_post_slug/taxonomy_slug/
   floor-x
 * How to write query for wordpress, to show only posts assigned with floor x? And
   x can be 1, 2, 3 etc.
 * Thanks for help!

The topic ‘Query posts from taxonomy term’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [zel](https://wordpress.org/support/users/zel/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/query-posts-from-taxonomy-term/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
