You need to do:
WP_Query('cat=1&post_type=any')
Or if you want just your custom post to show, put the name of it instead of any. More info in Codex
Related Posts:
- WP_Query by a category id and a custom post_type
- Exclude a category from WP_Query
- WP_Query ignores post_type in category view
- category__in not working on custom post type
- List with categories, subcategories and posts of custom posttype
- New WP_query in template not working with CPT+category on some pages
- WP Query group/order by category name
- List all custom post type posts from a given category?
- Display Posts of a Category in Alphabetical Order (Custom Post Type)
- WP_Query with custom post_type and cat retrieving unwanted posts with the custom posts
- Query Custom Post by Category
- Loop through categories and create tab for each
- Getting all custom posts with a certain category
- Query Custom Post Types & category_name?
- Show Post Count of a Category
- CPT posts listed by category with custom rewrite URL, please help!
- Querying Term Posts in Loop
- Pagination on category page with custom post types
- How to show CPTs in term archive
- showing custom post types of a certain category only
- Linking to the most recent post in a Custom Post Type
- Show custom post type filtered by category
- forming WP_Query for posts of all post types but from specific categories
- WP Query with categories only shows one post and ignores the category
- Why is my category template ignoring post type?
- WP the_posts() on single-cars.php get category link
- WP_Query Custom Post Type if Category ID Equals
- Custom post types and ‘new WP_Query’
- How to include category name/id in wp_query for retrieving “custom post type” from a particular category?
- List categories, subcategories and posts from custom taxonomy and custom post type
- WP Query results showing posts outside of category ID
- How to get Custom Post Type with Categories wise in WordPress using wp_query
- Create query for both custom post type and category
- How to properly use Categories with Custom Post Types
- How to output custom post type title on custom page with category next to it?
- Custom Post By Category
- Only show categories that have posts within custom post type
- Query the title of the page to show posts with matching category in the loop
- Only show current category post
- Can’t seem to filter wp_query by current category ID
- Custom Post Type + Category archive
- category_name not working in WP_Query
- Get all custom_post_type posts + blog posts from one category in a single query
- Using tax_query to get single post per category
- Is it possible to make is_category() recursive?
- Query all posts where a meta key does not exist
- How to display regular posts & custom post types that fall under a category using just the generic category template?
- How to filter custom post types by custom category taxonomy
- Syntax to get the Nth item in a list of custom post types?
- remove support for ‘Categories’ for a custom post type
- Remove date and category filters when editing custom post types
- WP_Query to loop a Custom Field, Custom Post Types do not show
- Using Query Posts With Multiple Post Types And A Taxonomy
- How to show posts from multiple post types in a single loop? And display them separately on the same template
- Custom Taxonomy List links being re-written
- wp_list_categories and custom post types
- Want to filter only parent post in admin area
- How to display the categories of the post? (custom post type)
- Display posts if a custom field value is equal to another custom field value
- WP_Query and using a variable for ‘cat’=> in the args array = WP Bug?
- Custom post query by taxonomy
- Insert HTML inside link in a walker
- Using global $post; to get featured image for custom post via WP_Query
- Can’t query tag and post_type at the same time
- Getting posts under the custom post type ui category
- Separate custom categories from default category
- Converting the_content string to an array?
- A method for ordering mixed dates in search result loop (theory only, no actual code)
- How to get custom posts sub category link
- Pagination with custom query, custom search form, single and pages, ajax and no plugins
- CPT category hierarchy
- Creating two loops based on different logic
- get_category_link() for custom post type does not include custom slug rewrite?
- Getting a custom post’s custom field based on another custom post’s custom field select
- category list with cutom post count
- Show message when query has no posts
- Foreach loop returning more than one item when querying taxonomy
- how to compare different timestamps in wp-query for events custom post types?
- Is there a (preferable built-in) way to check what custom queries are used in a theme?
- Sorting the Loop by Taxonomy Value
- Ordering by meta value not working
- Custom wp-query display post only today
- Display Custom Post Type Based on Taxonomy With WP_Query()
- How can I fetch all the dates from custom fields from various different custom post types and show / list them at one place in ascending order?
- Pagination for a cpt filtered with a category
- assign array of category to custom post type
- How to manage a dynamic multi-level page hierearchy system?
- Query for a custom post taxonomy
- Update Cateogory Taxonomy Count for Attachment Post Type
- Strange behavior on WP_query
- Help with Multi Level Category Archive Page
- Get posts associated with custom taxonomy alternate way
- Calling specific page with wp query
- display news with pictures 3 small and one large (loop)
- Trying to combine multiple WordPress queries
- Display a custom post type list by taxonomy term
- Cannot query custom post type taxonomy from theme options array
- Adding custom shortcode to page leads to page without styling
- create category upon saving post and save post in that category
- Query order by meta value force specific tag first