Found the problem. In my args, I should have included this line:
'post_type' => array( 'one', 'two', 'three', 'four', 'five', 'six' ),
above the ‘tag’ arguments
Related Posts:
- Order posts by tags count?
- How do I search inside specific taxonomies in WordPress
- Query posts intersecting tags and categories
- Filter products on category AND tag
- Get posts that match defined arrays of tags
- Order posts by tags count?
- post_type not working when tag__in is present?
- Random posts in WP_Query when searching by tag
- Get posts that were most recently tagged
- Wp get all the sub pages of the parent using wp query
- Posts with at least 3 tags of a list of tags
- Usage of the new “posts_clauses” filter in WordPress 3.1?
- Changing the meta_query of the main query based on custom query_vars and using pre_get_posts
- How to uniquely identify queries?
- Better way to get tag stats?
- Get posts by meta data OR title
- WP_Query ordered by custom field that is a date string?
- How to make an activities stream mixing posts and comments?
- Duplicate Queries
- How to query for a week using key => value WP_Query argument notation?
- SQL query equivalent to WP User Query
- How to count post type that has a particular term?
- WP Query for Posts (Products) in Specific Category that has 2 Specific Tags (*AND* both tags not *OR*)
- Foreach-generated custom tax queries, each with an ajax “Load more” button
- meta_query on a date range using an array of values
- WP_Query Performance Issues with meta_query
- How to detect custom query inside `posts_where` hook?
- Is temporarily overwriting $wp_query a bad idea?
- Query Set Order By Author
- How to exclude products by tag from woocommerce shop page?
- wp_query for displaying attachments with a tag
- How to output different posts per page?
- How can I pick a single post from the latest 3?
- Pass array of taxonomy terms to wp_query
- How to orderby meta_value_num with dollar ($) sign
- merge two query arguments into one WP_Query call
- Using WP_Query in “parse_query” or “pre_get_post” in Posts2Posts
- Query: offset post list, unless it’s a specific category
- How to reduce the number of queries?
- Setting get_queried_object
- reducing the amount of wp_query calls
- WordPress Related Post by tags in Single.php
- List of the years with posts presented
- Query custom post type by custom taxonomy (category slug)
- Display posts from only one post form in custom query and exclude in main query
- Custom Query num_rows returns wrong amount
- How to orderby multiple meta fields if some fields are empty
- Editing the default wordpress search
- Weird orderby => post__in issue
- Slow page loads due to WordPress Core Query
- Set global $wp_query/$post variable for dynamic page generation
- Display tags with random thumbnail from selection of posts with that tag
- WP_Query with ‘rand’, but equal number of posts from the taxonomy terms given
- Combining categories (Query posts with multiple taxonomy terms)
- Meta Query relation “AND” then set array accordingly
- Sort WordPress Posts Meta value by Week not Day
- Is_single() conditional tag returns null in query
- 2 wordpress loops showing 1 post from same post type – how to avoid showing the same post?
- How to not display tags with less than X posts
- Query posts that contain video?
- Show a 404 error page if Public query variable’s value doesn’t exist?
- Set front_page programatically after user login via query, while leaving site option alone
- Query where ANDing slug values not working
- How to filter query loop block with a search string from the query parameters
- mysql query order by
- Notice thrown when creating numeric pagination on custom query
- Creating attachments archive in tags and categories
- How to SQL query posts IDs by categories AND authors?
- Query multiple post types, but different order for each
- setting offset to category number in archive page
- How to do WP_User_Query for Nested Array value Inside Nested Array field
- Fix wp_term_relationships slow query in get_posts
- Query Posts | Combining multiple form inputs into query arguments to generate one filter result
- How to get_comments() ordered by date and parent?
- How to query 5 users in random who have published more than 10 posts
- Search with WP_Query, but ignore href URLs in anchor tags?
- Slow wp_posts and wp_postmeta query using Advance Custom Fields
- How to show post title in content editor in backend?
- Adding Category in WP_Query Not Working
- Merge two queries and remove duplicate
- What is the best way to reset a search on a meta_key / meta_value?
- Exclude all tagged posts from WP_Query loop
- How to create page that lists tags by initial letter?
- Using the same WP_Query for shop and widgets in WooCommerce shop
- How can I get all the posts that are related with a specific taxonomy term?
- Fetch only categorized posts
- Bring a post to the top of the query if it’s in a certain category?
- WP_Query with child element
- Custom pagination (Title, date and teaser)
- Using URL variables on a custom WP_Query
- Pagination in custom query in a category page
- Get a list of the last posts grouped by author and filtered by category
- When should you use WP_Query vs query_posts() vs get_posts()?
- How to query post ids liked by the Author
- Modify query after meta value
- Custom post types loop on a page template
- Showing posts from 4 categories along with all latest posts
- Pagination in WP query with transient API
- Main loop querying current template’s info only in custom category archive pages, not my posts
- How to get posts that have certain meta key value and order based on another meta key’s value