Write For Us

WordPress Custom Query - Part 06 - Tax_query

Sponsored Post Vitamin D2 Canada Persia
169 Views
Published
In this WordPress Custom Query tutorial we are going to be learning how to use tax_query to query your posts via either default or custom taxonomies.

We already learned about simple taxonomy queries in this series. And they are cool but in this video I'm going to show you how you can query your posts by taxonomy in a little bit different and more flexible way.

We are going to do that by using tax_query property of WP_Query object. We are also going to learn how you can create a custom taxonomy and also query that taxonomy.

### Code used in this video

https://github.com/ivandoric/WordPress-Custom-Query/releases/tag/06

http://watch-learn.com/video-tutorials/wordpress-custom-query-part-06-tax_query/
Category
Tech
Sign in or sign up to post comments.
Be the first to comment