From 6bbaaefe85d27eff07de01eef27b679d1389e3e2 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 8 Apr 2026 16:37:15 +0200 Subject: [PATCH] FEATURE introducing component --- .../actualites/archive-grid-toolbar.php | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 template-parts/post-types/actualites/archive-grid-toolbar.php diff --git a/template-parts/post-types/actualites/archive-grid-toolbar.php b/template-parts/post-types/actualites/archive-grid-toolbar.php new file mode 100644 index 0000000..b2a927e --- /dev/null +++ b/template-parts/post-types/actualites/archive-grid-toolbar.php @@ -0,0 +1,66 @@ +post_count; +$current_post_type_obj = get_post_type_object($current_post_type); + +$etiquette_active_filter_slug = $args['etiquette_active_filter_slug'] ?? null; + +$post_ids = wp_list_pluck($posts_query->posts, 'ID'); + +$types = get_terms(array( + 'taxonomy' => 'type', + 'hide_empty' => true, +)); + +$authors = get_authors_linked_to_posts($post_ids); + + +?> + +
+
+

Filtrer par

+
+ +
+
+ +

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

+ +
+ + + + + +
+ + +
\ No newline at end of file