ignore stick mainpage
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
'posts_per_page' => 10, // Количество постов на странице
|
||||
'orderby' => 'date', // сортировка по дате
|
||||
'order' => 'DESC', // по убыванию (сначала новые)
|
||||
'ignore_sticky_posts' => 1,
|
||||
'cat' => [-17, -20, -21]
|
||||
);
|
||||
$query = new WP_Query($args);
|
||||
|
||||
Reference in New Issue
Block a user