FEATURE Optimizing explore tags link target and behaviour
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1448e47f15
commit
43d1c2418d
File diff suppressed because one or more lines are too long
|
|
@ -15,7 +15,7 @@ $tags = get_terms(array(
|
||||||
</div>
|
</div>
|
||||||
<div class="tag-list">
|
<div class="tag-list">
|
||||||
<?php foreach ($tags as $tag) : ?>
|
<?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 echo $tag->name; ?>
|
||||||
<?php
|
<?php
|
||||||
$svg_path = get_template_directory() . '/resources/img/carhop-fleche-lien-externe-full.svg';
|
$svg_path = get_template_directory() . '/resources/img/carhop-fleche-lien-externe-full.svg';
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ $tags = get_terms(array(
|
||||||
</div>
|
</div>
|
||||||
<div class="tag-list">
|
<div class="tag-list">
|
||||||
<?php foreach ($tags as $tag) : ?>
|
<?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 echo $tag->name; ?>
|
||||||
<?php
|
<?php
|
||||||
$svg_path = get_template_directory() . '/resources/img/carhop-fleche-lien-externe-full.svg';
|
$svg_path = get_template_directory() . '/resources/img/carhop-fleche-lien-externe-full.svg';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user