You should be using a tax_query
for this operation. The category parameters won’t work with custom taxonomies
Instead of
'category' => $catID,
use
'tax_query' => array(
array(
'taxonomy' => 'series',
'field' => 'term_id',
'terms' => $catID,
'include_children' => false
),
),
Related Posts:
- How do I query a custom post type with a custom taxonomy?
- How to get post content by calling ajax?
- Get the ID of the latest post
- WP_List_Table Inside Metabox Not Working on Submit
- Limit the post for differents custom post type in the same wp_query
- how to group custom post type posts by custom taxonomy terms
- Showing current taxonomy terms
- Custom permalinks – post type – hierarchical taxonomy’s
- Posts per Page on custom Taxonomy Template
- How to get the parent’s taxonomy?
- Loading post content in FancyBox
- automatically create taxonomy with same name as post title
- Query posts by custom post type and custom taxonomy
- Query post types with multiple keys
- ascending order custom post type
- Display taxonomy term only if there’s a value
- How to get only one category of custom post type?
- Query for posts in 2 taxonomies
- Get all posts WHERE custom_field is LIKE value
- Quickest way to get last or oldest post date – WP Query
- ‘category__and’ for custom taxonomy?
- Separate Posts and Custom Post Type in Custom Taxonomy archive template
- How to dynamically build a multiple taxonomy query loop within a post type’s single loop?
- Display types of posts in edit.php instead of All, Published, Scheduled and Draft
- Making pages also serve as taxonomies? Or give full pages to taxonomies?
- get_queried_object error How to show post count by month in the taxonomy page
- List custom post type by custom tax term as page title
- How to filter the taxonomy terms based on another taxonomy term
- Custom Taxonomy – Tags Metabox is showing instead of Categories
- Show Two custom Post type and their posts on category page
- how can i get posts from custom post type particular taxonomy category
- How to query custom post types posts filtered by multiple custom taxonomies through a form selection
- Query/list all terms and their custom post count
- Archive for custom taxonomy lists all posts instead of current taxonomy
- Display only one post each WEEK
- Missing Posts in Custom Taxonomy List
- How to use custom taxonomies to reference complex relationships?
- Disable block with taxonomies at post page
- Query Custom posts of same taxonomy as the post itself
- Get latest 3 posts from multiple CPT in one query
- Which post does a taxonomy term belongs to?
- Conditional Query of Custom Post Type and custom taxonomy
- List custom taxonomy specific to one custom post type
- Show a Category X’s custom post type on Category X archive page?
- Get related posts of child term of custom post type
- How to edit this code to get the categories in achieve page?
- Homepage’s content is dependent on the custom field values (set automatically), how do I get homepage to update without manually updating page?
- Limit the post for differents custom post type in the same wp_query
- Listing all term items alphabetically / sorting loop
- How to display Related Posts based on number of taxonomy terms matched
- WP the_posts() on single-cars.php get category link
- How to make WP_Query not to show irrelevant posts?
- Custom query – get_the_terms not work
- Variable not working in WP_Query
- How to Display Posts From Category Within a Custom Taxonomy?
- Custom post type, custom taxonomy, query posts only from taxonomy (children of)
- Display custom posts randomly in custom taxonomy archive
- Not able to export large no. of posts in csv
- Targeting custom post type via functions.php doesn’t work
- display posts of custom post type with custom taxonomy
- Copy/Move selected taxonomy terms to another taxonomy for posts
- Different structure/content for posts from a custom post type
- custom taxonomy listing returns no posts
- Query Multiple Custom Post Types & Exclude a Taxonomy Term
- Making a form for user to add new custom post with custom taxonomies and custom fields
- custom post type and a “sticky” position taxonomy
- Search CPT by tag ids
- Post template with breadcrumb needs to show page navigated from
- What is the best way to structure posts for the same event happening in different years?
- Right way to store a large set of similar information on website? [duplicate]
- Define multiple prefixes for custom post type
- Create a post automatically if search result has zero results
- Posts per Page on custom Taxonomy Template
- minimize wp_query call to database
- I cannot display custom posts in custom taxonomy
- How can I group by Taxonomy on Custom Post Type while filtering out based on custom Meta
- How can I get the last 5 element of this tax query?
- Display title of all custom posts from same taxonomy term on a custom post template
- Use WP pagination functions on a custom page template
- Getting Custom Posts with Custom Taxonomy
- How to get all posts related to a taxonomy?
- update a posts of other custom post type
- Filter By Term Not Working – Custom Post Type
- How to set class to “current-page” on the currently viewed single post within a CPT
- Custom Post Status & Taxonomies
- WordPress custom post type
- Display 2nd category, only once, as sub-heading, in the loop
- Post Editor: display categories from current post type taxonomy only?
- query_post causes the posts to be loaded twice on load more posts
- Linking custom taxonomies and posts
- How to Associate Posts with Pages
- Query Only Show Text on Posts With Certain Taxonomy Tag
- Query Posts From Multiple Post Types
- Advanced Custom Fields: query posts filtered by multiple field values
- WP Build-In Post selector for CPT
- Custom My account page and custom page for editing posts
- Inserting two categories
- Get custom post type parent category
- Sort ACF by custom taxonomy
- How to develop Knowledge center in WordPress Website