diff --git a/content-templates/content-article.php b/content-templates/content-article.php index e1a2900..a6e7610 100644 --- a/content-templates/content-article.php +++ b/content-templates/content-article.php @@ -32,12 +32,11 @@ namespace WP_73k; ' . svg_icon_use("mdi-tag-multiple", "icon baseline text-gray-300 me-1"); + echo '
'; + echo svg_icon_use("mdi-tag-multiple", "icon baseline text-gray-300 me-1"); $tag_strings = array_map(function ($tag) { - $tag_str = '#'; - $tag_str .= '' . $tag->name . ''; - return $tag_str; + return '#' . $tag->name . ''; }, get_the_tags()); echo implode(", ", $tag_strings) . '
'; diff --git a/index.php b/index.php index 7350012..f6a0e03 100644 --- a/index.php +++ b/index.php @@ -18,6 +18,14 @@ get_header(); ?> the_post(); echo get_template_part( 'content-templates/content', 'article' ); } + ?> + + + +