name; ?>

name; ?> News

    'match', 'child_of' => 0, 'parent' => '', 'orderby' => 'name', 'order' => 'ASC', 'hide_empty' => 1, 'hierarchical' => 1, 'exclude' => '', 'include' => '', 'number' => '', 'taxonomy' => 'team', 'pad_counts' => false ); $categories = get_categories( $args ); foreach ( $categories as $cat ) { $posts_array = get_posts( array( 'posts_per_page' => -1, 'post_type' => 'match', 'tax_query' => array( array( 'taxonomy' => 'team', 'field' => 'term_id', 'terms' => $cat->term_id, ) ) ) ); } ?>
  • <a href="https://wordpress.stackexchange.com/questions/257034/separate-posts-and-custom-post-type-in-custom-taxonomy-archive-template/" rel="bookmark"> -

name; ?> Matches

  • <a href="https://wordpress.stackexchange.com/questions/257034/separate-posts-and-custom-post-type-in-custom-taxonomy-archive-template/" rel="bookmark"> -