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