diff --git a/template-parts/components/posts/post-tags.php b/template-parts/components/posts/post-tags.php index ab5d5da..41fcc24 100644 --- a/template-parts/components/posts/post-tags.php +++ b/template-parts/components/posts/post-tags.php @@ -2,6 +2,8 @@ $postID = get_the_ID(); $etiquettes = get_the_terms($postID, 'etiquettes'); +$current_post_type = get_post_type($postID); + if (empty($etiquettes)) return; ?> @@ -11,7 +13,7 @@ if (empty($etiquettes)) return;