From cfac67f46b2c5f0fa1c80b113f3b84694d01c0dc Mon Sep 17 00:00:00 2001 From: dakur Date: Fri, 24 Jan 2025 21:02:45 +0100 Subject: [PATCH] make event tag a component --- functions.php | 19 ++++++++++++++----- template-parts/content/content-akce.php | 6 +----- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/functions.php b/functions.php index af6f0f3..68a9347 100644 --- a/functions.php +++ b/functions.php @@ -484,11 +484,7 @@ function hb_event(EventDC $event, bool $lazyLoading = true, bool $smaller = fals tags): ?>
- tags as $tag): ?> - - - - + tags, 'hb-event__tag') ?>
@@ -526,4 +522,17 @@ function hb_eventLabels(array $labels) + + + + tags): ?>
- tags as $tag): ?> - - - - + tags, 'detail__tag') ?>