FEATURE Optimizing explore tags link target and behaviour
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2025-10-09 14:00:05 +02:00
parent 1448e47f15
commit 43d1c2418d
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -15,7 +15,7 @@ $tags = get_terms(array(
</div>
<div class="tag-list">
<?php foreach ($tags as $tag) : ?>
<a href="<?php echo get_term_link($tag); ?>" class="tag-list__tag">
<a href="<?php echo add_query_arg('etiquette', $tag->slug, get_post_type_archive_link('articles')); ?>" class="tag-list__tag">
<?php echo $tag->name; ?>
<?php
$svg_path = get_template_directory() . '/resources/img/carhop-fleche-lien-externe-full.svg';

View File

@ -15,7 +15,7 @@ $tags = get_terms(array(
</div>
<div class="tag-list">
<?php foreach ($tags as $tag) : ?>
<a href="<?php echo get_term_link($tag); ?>" class="tag-list__tag">
<a href="<?php echo add_query_arg('etiquette', $tag->slug, get_post_type_archive_link('articles')); ?>" class="tag-list__tag">
<?php echo $tag->name; ?>
<?php
$svg_path = get_template_directory() . '/resources/img/carhop-fleche-lien-externe-full.svg';