add update rubrics
This commit is contained in:
@@ -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' ); ?>
|
||||
|
||||
Reference in New Issue
Block a user