From 14890d53f68eabe305c2180ebb702ff19fb891a3 Mon Sep 17 00:00:00 2001 From: eoxia-amandine Date: Wed, 29 Mar 2023 14:56:45 +0200 Subject: [PATCH] #35 bfs course tax - add class on tags --- inc/blocks/bfs-course-tax/view.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/inc/blocks/bfs-course-tax/view.php b/inc/blocks/bfs-course-tax/view.php index 0e0e126..054daf6 100644 --- a/inc/blocks/bfs-course-tax/view.php +++ b/inc/blocks/bfs-course-tax/view.php @@ -28,12 +28,14 @@ endif; -$terms_list = get_the_term_list( get_the_ID(), 'course-category', '', ' ', '' ); +$terms_list = get_the_terms( get_the_ID(), 'course-category' ); if ( ! empty( $terms_list ) ) : ?>
- + + +
-