Try below methods:
-
Try by adding term ID in array like this
'exclude'=> '60'in array -
If this is not working you can try with below
WP_Queryloop:
$args = array(
'post_type' => 'careers',
'tax_query' => array(
'relation' => 'AND',
array(
'taxonomy' => 'careers_categories',
'field' => 'term_id',
'terms' => array( 60),
'operator' => 'NOT IN',
),
),
);
$query = new WP_Query( $args );
Related Posts:
- Display Custom Taxonomy Alphabetically
- Listing all term items alphabetically / sorting loop
- Query for specific taxonomy that executes a particular loop depending on volume of posts?
- posts_per_page is not working by term
- Display title of all custom posts from same taxonomy term on a custom post template
- Add active class to foundation 6 tabs while looping categories
- How to show terms used only for particular custom post type. Filter creation perpose
- Get Posts by Custom Post Type ,Taxonomy, and Term
- Get The Post Type A Taxonomy Is Attached To
- How to limit the number of terms (terms acts like categories)
- wp_get_object_terms(): count relative to passed IDs?
- Not Able to Insert Taxonomy Term Using wp_insert_post()
- array_pop() expects array, boolean given for $event_type_term ->slug
- Order custom posts by taxonomy?
- Maintaining strict one-to-one association between terms and custom posts
- If on term-page -> get the current term?
- Conditional two level dropdown filter for custom post type
- Show all custom post type posts sorted by custom taxonomy then by another custom taxonomy
- Should unaltered default loop/query return a list of custom posts belonging to a custom taxonomy?
- 404 error PageNavi custom type taxonomy | wordpress
- Creating a function that receives the taxonomy terms that have been changed in a custom post type
- Query for posts in 2 taxonomies
- Get all taxonomies for all post types
- How do I provide a “show all posts” link in a paginated term archive?
- How to dynamically build a multiple taxonomy query loop within a post type’s single loop?
- How to get posts from multiple custom post types according to it’s custom taxonomy terms?
- Custom Post Type Loop within Shortcode
- get_template_part for each level of taxonomy term
- Displaying a custom post types custom taxonomy value?
- get_post_meta returns empty array for terms
- Display CPT posts based on specific taxonomy
- Update post terms with custom taxonomy
- Custom Post Type Archive Page Filtering
- Filtering WP_Query Dynamically on the Front-End
- Get posts by querying taxonomy and certain terms of the taxonomy?
- Loop custom taxonomy to get lists of cutom post types?
- Displaying custom taxonomy in the admin list of a custom post type
- Show a Category X’s custom post type on Category X archive page?
- How do I display the taxonomy term alongside the post type post title?
- Post count by month of taxonmy term
- How do I display the taxonomy for a custom post type in an array
- Custom Post, set object Taxonomy terms in plugin
- Custom while loop for hierarchical display of a taxonomy
- Lists custom taxonomy terms that has specific custom field value assigned to the term (not post)
- Display taxonomy terms, child terms and posts in a template
- Use custom walker to add taxonomy terms to main nav menu
- Add term to custom post type on draft
- Display related custom taxonomy posts in sidebar
- Custom Post Type Category Link
- Custom Post type category pages template and loop
- Three Most Recent Posts, One Per Term
- Targeting custom post type
- How to get WordPress term attached to the Post?
- Get parent category id from child category page for custom taxonomy
- How to get only child terms from a custom taxonomy of current post type?
- Custom Post Types Archives and Single Pages not showing custom taxonomy data
- looping though custom post types and only return results in a given taxonomy
- Dynamically insert code to custom post type loop
- Get terms of a post but only if they’re also the child of a specific term
- Get taxonomy term by slug in post on archive page
- Pull in taxonomy field of custom post type in new query
- How to display custom taxonomy term meta on custom post type
- get_terms() parent, child and grandchild
- does wp_insert_term link the term to a certain post ID?
- Grab all Custom Posts by multiple taxonomies and terms
- Looping through custom taxonomy and display custom post types (Custom Post Type UI)
- Create a custom taxonomy template that loops through child categories in term order?
- Retrieve Custom Taxonomies with Description and Slug
- How to list posts by term (custom taxonomy)
- Displaying Posts Using a Custom Query with a Custom Field and a term_id
- Multiple custom post type queries causing wrong post types to be grabbed in taxonomy + single templates?
- Using get_terms() to list terms from one custom taxonomy AND from one specific built-in category
- How to display custom taxonomy term specific post?
- How to list posts by terms
- How to associate custom taxonomy terms with custom post type?
- get_queried_object not work in taxonomy page
- get_the_terms child terms for current post/custom post only
- Combine multiple separate lists into one
- Custom Post Type / Taxonomy / Term – what template to use to avoid 404-page?
- Pages of my taxonomy terms are showing all posts
- wordpress does not see the correct custom taxonomy hierarchy
- Get category list & taxonomy list from different post type using post id?
- How to get all posts related to a taxonomy?
- Custom taxonomy- only output relevant terms
- Custom post types not displaying per category
- WordPress add taxonomies/terms list as a menu in archive page
- Hide Custom Taxonomy title if not associated with another Custom Taxomony
- How to pass taxonomy terms to WP_Query along with $args?
- Custom Post Status & Taxonomies
- Prevent repetitive terms in get_the_term_list
- Order by custom field attribute
- Display Custom Taxonomy of custom post type
- Loop through multiple custom taxonomy terms and display posts for a custom post type
- How to manage a bookstore
- Get all terms assigned to a post from different taxonomies
- Issue On Listing Woocommerce Parent Tag List
- How to use wp_set_object_terms depending on page ID?
- Create a WordPress loop that shows posts from a custom post type + filters the posts by taxonomies while hiding empty taxonomies
- Add Custom Taxonomy Terms as CSS Classes for CPT Posts in an Elementor Loop Item Template
- Taxonomy Archive URL + Template