FEATURE handling new tags behaviour
This commit is contained in:
parent
a26a889f35
commit
a4175d1621
|
|
@ -33,7 +33,9 @@ $articles = get_field('articles', $current_issue->ID);
|
|||
<ul class="tags-list">
|
||||
<?php foreach ($tags as $tag) : ?>
|
||||
<li>
|
||||
<a class="article-tag" href="<?php echo get_term_link($tag); ?>"><?php echo $tag->name; ?></a>
|
||||
<a class="article-tag" href="<?php echo add_query_arg('etiquette', $tag->slug, get_post_type_archive_link('articles')); ?>">
|
||||
<?php echo $tag->name; ?>
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,9 @@ $tags = get_the_terms($articleID, 'etiquettes');
|
|||
<ul class="article-tags-list">
|
||||
<?php foreach ($tags as $tag) : ?>
|
||||
<li class="article-tag">
|
||||
<a href="<?php echo add_query_arg('etiquette', $tag->slug, get_post_type_archive_link('articles')); ?>">
|
||||
<?php echo $tag->name; ?>
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user