CPT: multiple loops with different terms
Have found the solution I only have to add the right tax_query… $posts_info = new WP_Query(array( ‘post_type’ => ‘tarife’, ‘posts_per_page’ => 3, ‘post_status’ => ‘publish’, ‘post__in’ => $products, ‘orderby’ => ‘title’, ‘tax_query’ => array( array( ‘taxonomy’ => ‘tarif_kategorie’, ‘field’ => ‘slug’, ‘terms’ => ‘info’, ), ), )); $posts_gf = new WP_Query(array( ‘post_type’ => ‘tarife’, ‘posts_per_page’ … Read more