add update rubrics

This commit is contained in:
argoexpert press
2024-05-25 16:51:55 +03:00
parent 5a9c8597ba
commit 641399598f
6 changed files with 113 additions and 5 deletions

View File

@@ -8,7 +8,7 @@
$args = array(
'post_type' => 'post', // Или ваш пользовательский тип постов, если необходимо
'post__not_in' => [ $mainpost_id ],
'posts_per_page' => 10, // Количество постов на странице
'posts_per_page' => 20, // Количество постов на странице
'orderby' => 'date', // сортировка по дате
'order' => 'DESC', // по убыванию (сначала новые)
'ignore_sticky_posts' => 1,
@@ -18,7 +18,7 @@
?>
<?php get_template_part('en/post-list-en', null, ['large_first_image' => false, 'query' => $query]); ?>
</div>
<button class="articles-preview__show-next">More Read</button>
<!--<button class="articles-preview__show-next">More Read</button>-->
</div>
<?php get_footer( 'en' ); ?>