Compare commits
No commits in common. "d94fcf4b9040304e435ea00d65fb4410745789f0" and "107673517e310c7b9c7793657ab49e6f7d626fd7" have entirely different histories.
d94fcf4b90
...
107673517e
|
|
@ -117,8 +117,7 @@ function build_articles($request)
|
|||
'date' => get_the_date(),
|
||||
'image' => get_the_post_thumbnail_url(),
|
||||
'link' => get_the_permalink(),
|
||||
'ID' => get_the_ID(),
|
||||
'showAuthors' => true,
|
||||
'ID' => get_the_ID()
|
||||
));
|
||||
endwhile;
|
||||
else :
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
the_post();
|
||||
?>
|
||||
|
||||
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
|
||||
<header class="entry-header mb-4">
|
||||
|
|
|
|||
|
|
@ -60,11 +60,11 @@ $thematiques = get_terms(array(
|
|||
<?php if ($articles->have_posts()) : ?>
|
||||
<?php while ($articles->have_posts()) : $articles->the_post(); ?>
|
||||
<?php get_template_part('template-parts/articles/card-article', null, array(
|
||||
|
||||
'date' => get_the_date(),
|
||||
'image' => get_the_post_thumbnail_url(),
|
||||
'link' => get_the_permalink(),
|
||||
'ID' => get_the_ID(),
|
||||
'showAuthors' => true,
|
||||
'ID' => get_the_ID()
|
||||
)); ?>
|
||||
<?php endwhile; ?>
|
||||
<?php endif; ?>
|
||||
|
|
|
|||
|
|
@ -13,8 +13,7 @@ $issue_related_articles = get_field('articles', $revueID);
|
|||
'date' => $article->post_date,
|
||||
'image' => get_the_post_thumbnail_url($article->ID),
|
||||
'link' => get_the_permalink($article->ID),
|
||||
'ID' => $article->ID,
|
||||
'showAuthors' => true,
|
||||
'ID' => $article->ID
|
||||
)); ?>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user