new limit frontpage

This commit is contained in:
argoexpert press
2025-03-05 00:02:37 +03:00
parent c972398238
commit f3b21a96e4
3 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
$args = array(
'post_type' => 'post', // Или ваш пользовательский тип постов, если необходимо
'post__not_in' => [ $mainpost_id ],
'posts_per_page' => 10, // Количество постов на странице
'posts_per_page' => 12, // Количество постов на странице
'orderby' => 'date', // сортировка по дате
'order' => 'DESC', // по убыванию (сначала новые)
'ignore_sticky_posts' => 1,