From f7df3a5809f5d430d2271ef8d975e8d4d3ac0df7 Mon Sep 17 00:00:00 2001 From: Gilles Van Assche Date: Thu, 5 Sep 2024 12:11:26 +0200 Subject: [PATCH] Modif temporaire pour le chargement des news --- template-archive-news.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template-archive-news.php b/template-archive-news.php index dfe89ea..4d93d8c 100644 --- a/template-archive-news.php +++ b/template-archive-news.php @@ -8,7 +8,7 @@ $args = array( $relatedPageTemplatePage = get_pages($args) ? get_pages($args)[0] : null; $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null; -$post_per_page = 12; +$post_per_page = 24; $args = array( "post_type" => "post", "status" => "publish", @@ -133,7 +133,7 @@ $posts = new WP_Query($args); max_num_pages > 1) : ?> - +