diff --git a/front-page.php b/front-page.php index 935b9ba..617966d 100644 --- a/front-page.php +++ b/front-page.php @@ -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); diff --git a/single.php b/single.php index a83ff59..e69de29 100644 --- a/single.php +++ b/single.php @@ -1,82 +0,0 @@ - - - - - -
- - -
-
- - - - - - -
- -
- -

- -

- - - - - - - -
- -
Подписывайтесь на нас в Дзен и Telegram
-
-
- - - - -
-

Еще по теме

-
- -
- 'partners', - 'post_status' => 'publish', - 'order' => 'ASC', - 'posts_per_page' => 4 - ]; - $posts = get_posts($args); - $counter = 0; - foreach ($posts as $post) : ?> -
- -

-
-
- -
- - На главную -
-
-
-
-
- - - \ No newline at end of file