Modif temporaire pour le chargement des news
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e980908aa9
commit
f7df3a5809
|
|
@ -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);
|
|||
|
||||
|
||||
<?php if ($posts->max_num_pages > 1) : ?>
|
||||
<button id="load-more-news" class="cta cta--outline cta--button mx-auto mb-32">Charger Plus</button>
|
||||
<button id="load-more-news" class="cta cta--outline cta--button mx-auto mb-32"><?php echo __("Charger Plus", "homegrade-theme__texte-fonctionnel") ?></button>
|
||||
<?php endif; ?>
|
||||
</section>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user