diff --git a/taxonomy-thematiques.php b/taxonomy-thematiques.php index c1f0554..24eaab4 100644 --- a/taxonomy-thematiques.php +++ b/taxonomy-thematiques.php @@ -25,6 +25,7 @@ $sousThematiques = get_terms(array( $query_args = array( 'post_type' => 'questions', 'posts_per_page' => -1, + 'status' => 'publish', 'tax_query' => array( array( 'taxonomy' => 'thematiques', @@ -61,7 +62,7 @@ $relatedTaxQuestions = new WP_Query($query_args); -