FEATURE handling the new tags behaviour
This commit is contained in:
parent
a8dbb2f917
commit
28a792cf1b
|
|
@ -20,7 +20,12 @@ $cover = get_the_post_thumbnail_url($articleID);
|
|||
$terms = get_the_terms($articleID, 'etiquettes');
|
||||
if ($terms): ?>
|
||||
<?php foreach ($terms as $term): ?>
|
||||
<li class="article-card__tag article-tag"><?php echo esc_html($term->name); ?></li>
|
||||
|
||||
<li class="article-card__tag article-tag">
|
||||
<a href="<?php echo add_query_arg('etiquette', $tag->slug, get_post_type_archive_link('articles')); ?>">
|
||||
<?php echo esc_html($term->name); ?>
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user