diff --git a/index.php b/index.php index e6ca90c..e69de29 100644 --- a/index.php +++ b/index.php @@ -1,109 +0,0 @@ - - -
- -

Главное

- - - - - - - array(2), - 'post__not_in' => array($mainpost_id), - 'posts_per_page' => 24, - 'meta_query' => array( - array( - 'key' => '_thumbnail_id', - //'compare' => 'EXISTS' - ) - ) - ) -); # фильтруем рубрики -?> - -have_posts()) : ?> - - -
- - have_posts()) : $query->the_post();?> - - - - - - - - - -
- - - -

-
-
-
-
- - - - - - -
- - - - - - - - -
- - -
- - - 'mob-lite']);?> - - 'mob-lite']);?> - - - - -
- - - - diff --git a/rsscreate.php b/rsscreate.php index d2038d1..2d44d48 100644 --- a/rsscreate.php +++ b/rsscreate.php @@ -29,9 +29,20 @@ function create_rss_yandex(){ 'meta_value' =>'', 'post_type' => 'post', 'suppress_filters' => true, // подавление работы фильтров изменения SQL запроса + 'meta_query' => array( + 'relation' => 'OR', + array( + 'key' => '_erid_token', + 'value' => '', + 'compare' => '=' + ), + array( + 'key' => '_erid_token', + 'compare' => 'NOT EXISTS' + ) + ) )); - // Яндекс Новости create_rss_file($posts, 'views/rss/yanews.php', '/vhosts/vetandlife.ru/rss/yanews.xml'); diff --git a/single-61.php b/single-61.php index 83f2d86..ca96dce 100644 --- a/single-61.php +++ b/single-61.php @@ -51,7 +51,7 @@ + if ( ! empty ( $author ) AND $author !== 'vetandlife.ru' AND $author !== 'Анна Купровская'):?>
Автор:
diff --git a/single.php b/single.php index 37d1ba8..eecc151 100644 --- a/single.php +++ b/single.php @@ -82,7 +82,7 @@ if ( $pets_cat ){

Автор: