You haven’t specified the ‘field’ value e.g. 'field' => 'slug',
http://codex.wordpress.org/Class_Reference/WP_Query#Taxonomy_Parameters
Related Posts:
- How to get the parent’s taxonomy?
- tax_query returning all posts instead of selective posts in WP_Query
- Pagination is not working on single-{slug}.php but works fine on page-{slug}.php
- Query Multiple Taxominies Across Multiple Post type’s
- Change or update WordPress loop based on dropdown selection
- How to Filter custom post type by taxonomy?
- Custom post taxonomies as tax_query terms?
- Using meta_query and tax_query at the same time
- How do I display the grand child items of a taxonomy term?
- How to display Related Posts based on number of taxonomy terms matched
- Running a custom query inside another cpt single and trying to grab a variable
- Query Multiple Custom Post Types & Exclude a Taxonomy Term
- “Menu order” being ignored when querying posts from a parent taxonomy with “include_children” set to true
- Custom Query: Multiple CPTs and a taxonomy filter
- Custom post type archive page filters
- Display related CPT with custom taxonomy
- custom post type and a “sticky” position taxonomy
- tax_query not working?
- Getting Custom Posts with Custom Taxonomy
- How to show post which has the specific taxonomy terms?
- Query Distinct Taxonomies of Custom Post Type
- Custom taxonomy not showing up when adding a new custom post type
- How to list all categories and tags in a page?
- show tags of custom post type ONLY
- Querying custom posts and regular posts
- Create an archive page for custom taxonomies
- Taxonomy terms with edit/filter link in wp-admin, in the list of custom posts
- Using Offset in Custom Post Type Query
- Using Query Posts With Multiple Post Types And A Taxonomy
- Internationalize / translate custom post types & taxonomies
- Query posts by custom post type and custom taxonomy
- Rewrite custom post & taxonomy to share same URL path
- Add Taxonomy Values Within a Custom Post Type RSS Feed
- Get list of terms of current taxonomy archive for another taxonomy
- Associate Taxonomies Across Post Types
- How to get current post id of a custom post type in a loop using template singel-{custom type}.php?
- Quickest way to get last or oldest post date – WP Query
- ‘category__and’ for custom taxonomy?
- Post the content of a specific “Custom Post Type” post within a post using a shortcode
- Separate Posts and Custom Post Type in Custom Taxonomy archive template
- Order WordPress Custom Taxonomy Pages & Pagination Not Working
- Relationship between two taxonomies and a custom post type [closed]
- Have a Custom Post Type index page display taxonomy items instead of posts
- Setting posts per page in query_posts
- How to insert content from another Custom Post type into Post?
- How to get the post type from a category id?
- Custom Post type is being ignored in query
- Hide specific parent categories from post edit
- Metadata for a taxonomy – is there any WordPress way of doing this?
- Query custom post type by category slug
- How to query custom post types posts filtered by multiple custom taxonomies through a form selection
- Get posts between custom dates
- Using default WP menu functionality to link to custom post-type listing?
- How to display custom taxonomies with links in filter menu?
- Show child custom post types list inside single parent custom post type
- Several post types on WP Query by tag and taxonomy
- Is it better to use WordPress Custom Post Types or Taxonomies?
- Filter date from post meta when date is in string format
- Unable to link categories to custom post type using standard function
- Enable taxonomies by post type in an array of CPTs
- Hide specific taxonomies from a taxonomy list using ‘get_object_taxonomies’
- How does the ‘the_post_navigation()’ work for CPT’s?
- Custom post type – list posts based on meta_key and display them divided by CPT taxonomy category
- Custom query – get_the_terms not work
- 3 random images from custom post type, each in a div with a diffrent class
- get_category_link() for custom post type does not include custom slug rewrite?
- Targeting categories in custom fields
- why is the current page title being output?
- I need to add a filter to prepend the term ‘National – ‘ to the post title if the post is tagged to multiple states
- Targeting custom post type via functions.php doesn’t work
- Get category if used in a custom post type
- Shortcode to return single custom post based on post taxonomy
- Custom Taxonomy Terms in Menu lead to which page?
- Display 1 Post per taxonomy with polylang
- Query for bbPress replies to current topic?
- WP query_posts group by meta field related
- Menu for taxonomies and posts belongs to taxonomy
- How to automatically create a terms based on each post of a post type
- Custom taxonomy returns 404 even with saving permalinks
- Create custom post type categories
- Set a Default CPT taxonomy by taxonomy id
- how to create custom taxonomy drop downs for parents and child
- Get name CPT with slug taxonomy
- How can I get the last 5 element of this tax query?
- Add other all taxonomies as meta boxes to custom post type
- How to get post type archive category title
- Automatically / dynamically populating tags in custom post type
- How to create groups like that in buddypress?
- Organising custom taxonomies and custom post types
- Filter Term By Parent Term – Custom Post Type
- Query breaking with ‘posts_per_page’ => -1
- get children from current variable (taxonomy) via shortcode
- List all posts from custom post type by taxonomy
- Using $seed on a custom post type for randomly displayed posts
- What’s the best way to show custom post types? With page template it’s not perfect!
- How to grab data (titles, thumbnails and custom fields) from multiple posts to populate a new array efficiently?
- Get all active posts that are tied to a custom taxonomy for a custom post type
- Is there a function that replace category name with a icon?
- Assign a tag to custom post type using a query
- Show custom category archive as front page and remove taxonomy slug from urls