This commit is contained in:
parent
f40d5cd9ce
commit
0efe7f2e99
|
|
@ -14,7 +14,6 @@ $articles = get_field('articles', $current_issue->ID);
|
|||
<?php
|
||||
$issue_number = get_field('issue_number', $current_issue->ID);
|
||||
|
||||
|
||||
?>
|
||||
<?php get_template_part('template-parts/post-header'); ?>
|
||||
<?php get_template_part('template-parts/revues/revue-toolbar'); ?>
|
||||
|
|
@ -26,9 +25,8 @@ $articles = get_field('articles', $current_issue->ID);
|
|||
<input type="text" placeholder="Rechercher">
|
||||
</div>
|
||||
<?php
|
||||
$tags = get_terms(array(
|
||||
'taxonomy' => 'etiquettes',
|
||||
));
|
||||
$tags = get_revue_terms($current_issue->ID, 'etiquettes');
|
||||
|
||||
?>
|
||||
<?php if ($tags) : ?>
|
||||
<div class="tags">
|
||||
|
|
@ -38,10 +36,10 @@ $articles = get_field('articles', $current_issue->ID);
|
|||
<li>
|
||||
<a class="article-tag" href="<?php echo get_term_link($tag); ?>"><?php echo $tag->name; ?></a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user