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