Your taxonomy Query is worng. please try something like that:
$args = array(
'post_type' => 'contact',
'tax_query' => array(
array(
'taxonomy' => 'abteilung',
'field' => 'term_id',
'terms' => '29',
),
),
);
Related Posts:
- How to display Related Posts based on number of taxonomy terms matched
- custom post type and a “sticky” position taxonomy
- How do I query a custom post type with a custom taxonomy?
- The Operator “NOT IN” Does Not Work In tax_query
- how to group custom post type posts by custom taxonomy terms
- Order posts by (hierarchical custom) taxonomy terms and term children
- Posts per Page on custom Taxonomy Template
- Sorting a list of posts displayed under a list of associated terms (which should be sorted without initial articles)
- How to get the parent’s taxonomy?
- Query posts by custom post type and custom taxonomy
- Count number of posts which exist in 2 taxonomies?
- How to get only one category of custom post type?
- pre get posts changing the query
- Query for posts in 2 taxonomies
- ‘category__and’ for custom taxonomy?
- Separate Posts and Custom Post Type in Custom Taxonomy archive template
- Query for custom post type objects in a taxonomy and with a meta value
- How to dynamically build a multiple taxonomy query loop within a post type’s single loop?
- List custom post type by custom tax term as page title
- how can i get posts from custom post type particular taxonomy category
- $wpdb: Counting posts corresponding to 3 terms in 3 different taxonomies
- Query Multiple Taxominies Across Multiple Post type’s
- 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
- How to use custom taxonomies to reference complex relationships?
- Tax query not producing any results
- Query Custom posts of same taxonomy as the post itself
- Conditional Query of Custom Post Type and custom taxonomy
- Show a Category X’s custom post type on Category X archive page?
- How to Filter custom post type by taxonomy?
- How do I display the grand child items of a taxonomy term?
- How to edit this code to get the categories in achieve page?
- Listing all term items alphabetically / sorting loop
- tax_query not working in template
- How to make WP_Query not to show irrelevant posts?
- Custom query – get_the_terms not work
- WP_query – Filter by tax_query and meta_query using multiple select
- Control content before and after custom post type loop
- Custom post type, custom taxonomy, query posts only from taxonomy (children of)
- Display custom posts randomly in custom taxonomy archive
- WP_Query parameter conflict
- Not able to export large no. of posts in csv
- attach CPT data to a taxonomy
- Targeting custom post type via functions.php doesn’t work
- Custom Category Walker with Image, Fallback to Most Recent Post in Category Image
- tax_query (if the terms are empty)
- List all posts in taxonomy term
- Query Multiple Custom Post Types & Exclude a Taxonomy Term
- Query all posts under one taxonomy? Why is my code not working?
- Sorting the Loop by Taxonomy Value
- “Menu order” being ignored when querying posts from a parent taxonomy with “include_children” set to true
- Custom Query: Multiple CPTs and a taxonomy filter
- How to search through all child taxonomies using WP_Query?
- Posts per Page on custom Taxonomy Template
- Custom search for a custom post type in WordPress
- How can I get the last 5 element of this tax query?
- tax_query not working?
- WP Query tax_query not returning posts
- Error get_posts with Custom Taxonomy and OR relation
- How to show post which has the specific taxonomy terms?
- WordPress custom post type
- Display 2nd category, only once, as sub-heading, in the loop
- tax_query showing no results
- Advanced Custom Fields: query posts filtered by multiple field values
- Inserting two categories
- WP Query Conditionally query meta and taxonomy
- Shortcode in excerpt
- Pagination not working (page/2 retunring 404 page)
- URL with Hierarchical Taxonomies and same slug for all terms and sub-terms
- Set different posts_per_page for custom post type/taxonomy
- Get category list & taxonomy list from different post type using post id?
- Is there a way to re-order the Custom Taxonomy drop-down on a Custom Post listing page?
- How to build overlapping custom post_type and taxonomy rewrites without conflicts?
- Taxonomy Page Go to 404 pgae
- Single taxonomy for different custom post types
- Previous/Next custom post links within custom taxonomy
- How to get all posts related to a taxonomy?
- Custom Taxonomy not working front side Woocommerce
- Displaying custom taxonomy related to each post type
- Not able to get my custom search result using meta_query and tax_query together?
- Making permalink for custom post type/custom taxonomy. Stuck with 404 in the single post
- Custom post type post_type_link gives “page not found” on any other custom post type
- How to get all posts assigned to a taxonomy term only?
- The most recent post of custom taxonomy
- Custom Taxonomy page redirecting to 404 page
- Get list of all Topics in use by a custom post type
- One-Time Script TimeOut for Large Data
- Changing an item in drop down after 5 latest posts per taxonomy
- How to add a new column in custom post type list?
- Exclude Posts in a Given Category
- Custom post types with child taxonomy not visible in admin
- Not Able to List CPT Based on Taxonomy Term
- Help with Travel Guide Setup
- Custom permalink with custom taxonomies for custom post type
- Best way to have one product in both rental and sale parent category
- Create Inclusions and exclusions
- 404 error next-page [2] PageNavi custom type taxonomy
- Custom taxonomy archive slug overwrites static page
- Slugs on hierarchical taxonomies