$blabla = new Query($args);
should be
$blabla = new WP_Query($args);
UPDATE
Your actual code should be something like:
$args = array(
'post_type' => 'fb',
'tax_query' => array(
array(
'taxonomy' => 'fbcate_category',
'field' => 'id',
'terms' => '35',
),
),
'order' => 'DESC',
'posts_per_page' => -1,
);
$posts_array = new WP_Query($args);
Where taxonomy
is your taxonomy name.
Let me know how it goes.
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
- 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
- Are custom posts included when getting a categories’ posts?
- Is it possible to make is_category() recursive?
- Meta query with boolean true/false value
- Search multiple custom fields by using meta_query
- How can I list all the categories under a Custom Post Type (taxonomy)?
- Displaying Posts Related to Other Posts by a Taxonomy Term?
- Date query for a custom meta field
- Querying Posts by Taxonomy From Alternate Network Site
- Set default option in dropdown of WP_Query?
- How can I add single catogory for custom post type?
- Custom query form submission pagination
- Paginated Taxonomy Term Archive including one post per term
- Exclude the parent custom post-type posts only
- Get a permalink structure of /%posttype%/%category%/%postname%
- tax_query returning all posts instead of selective posts in WP_Query
- wp_query to find posts by year and month
- Should I use custom menu, C.P.T. or theme options, or something else for this?
- Including Custom Meta with posts_where query
- Very Slow Page – How to Optimize # of Queries?
- Get latest 3 posts from multiple CPT in one query
- Display upcoming Events for next 7 Days
- Orderby CPT custom fields not working
- Custom WP Query on custom meta and sort by multiple meta keys value
- Woocommerce search pagination not working
- How to order WP_Query by parent for hierarchical Custom Post Type?
- Custom Post Type + Categories
- Add Custom Post Type of specific Custom Taxonomy to regularly blog loop
- How can I show 1 featured post in a styled element, and the next few below differently styled
- How can I list Custom Post Types created with the Types plugin under categories?
- How to get specific post meta by title or id
- WP_Query of custom post type sorted by meta_key has unexpected results
- Get assigned post categories
- How to query for posts (hierarchical custom post type) that have children but are NOT top level?
- Post Query not working
- Shortcode / WP_Query in post changes context
- Am I mixing up the concept of posts pages and categories?
- Display custom-post type based on the Title matching the current selected value
- Custom front-end form for adding post – Category problem
- Custom Post Type Category Displaying ALL Sub Categories as well
- Feature image Gallery made from Custom Post type + Categories
- Numeric pagination custom post type
- Filter custom WP_Query by first letter of a custom field – hopefully using Search and Filter Pro?
- WP Query filter search. Result show all posts instead just custom post type
- Display posts of a hierarchical custom post type excluding parent posts
- Why get_posts() returns empty array while I am trying to get posts from some specific taxonomies and work properly with others?
- get_post_meta for Custom Post Type ( CPT )
- How to query posts by meta keys AND under specific category?
- Shortcode display CPT Query only showing 1 post?
- Query stopped working
- How can I base a query off of the current page post type AND a meta value from another custom post type
- Fallback if statement based on the number filtered from it
- how to show perticular category posts in custome page
- Problem with menu categories doubling up when updating database?
- Remove slug from Custom Category Permalink + dual-category permalinks
- How to query posts by category with the_title();
- Get images only from a certain post type
- Can I add a wordpress page using the slug for a CPT rewrite