diff --git a/single-revues.php b/single-revues.php new file mode 100644 index 0000000..5218772 --- /dev/null +++ b/single-revues.php @@ -0,0 +1,127 @@ + + + 'articles', + 'posts_per_page' => 3, + 'orderby' => 'date', + 'order' => 'DESC', + 'meta_query' => array( + array( + 'key' => 'related_revue', + 'value' => $current_issue->ID, + 'compare' => '=', + ), + ), +)); + + +$articles = get_field('articles', $current_issue->ID); + +write_log($articles); + + +?> + + +
+ + + + +
+
+
+ +

+
+

+ Numéro + 25 +

+
+

Publication

+ +
+
+

Mis à jour

+ +
+
+
+
+ 'thumbnail']); ?> +
+ +
+ +
+ have_posts()) : ?> + have_posts()) : $issue_related_articles->the_post(); ?> + ID, 'etiquettes'); ?> + +
+

+ + +

+
+ + +
+ + + + + + + + + + + + +