diff --git a/template-parts/components/archive/post-grid.php b/template-parts/components/archive/post-grid.php index fa6dac1..eb47b63 100644 --- a/template-parts/components/archive/post-grid.php +++ b/template-parts/components/archive/post-grid.php @@ -1,83 +1,23 @@ $current_post_type, 'posts_per_page' => $post_amount )); -$post_count = $posts_query->post_count; - -$types = get_terms(array( - 'taxonomy' => 'type', - 'hide_empty' => true, -)); - -// write_log($current_post_type_obj); - ?> +

-
- -
-

Filtrer par

-
- - -
- -
-
- - - - - - -
- -

- - - - 1) : ?> - - labels->name; ?> - - - - labels->singular_name; ?> - - -

- -
- + $posts_query, + 'current_post_type' => $current_post_type, + )); ?>
\ No newline at end of file