diff --git a/index.php b/index.php
index e6ca90c..e69de29 100644
--- a/index.php
+++ b/index.php
@@ -1,109 +0,0 @@
-
-
-
-
-
Главное
-
-
-//include(get_template_directory().'/blocks/mainnews_happy.php');?>
-
-
-
- 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();?>
-
- $nn++?>
-
- //if ($nn == 1):
- //card_post_id(28999, '');
- // include get_template_directory().'/blocks/card_post_happy.php';
- //elseif($nn == 3):
- //card_post_id(29001, '');
- //elseif($nn == 4):
- //card_post_id(29005, '');
- //endif?>
-
- //if($nn == 4):
- //card_post_id(31271, '');
- //endif?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- '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 @@
$author = get_the_author();
- if ( ! empty ( $author ) AND $author !== 'vetandlife.ru'):?>
+ if ( ! empty ( $author ) AND $author !== 'vetandlife.ru' AND $author !== 'Анна Купровская'):?>
$author = get_the_author();
- if ( ! empty ( $author ) AND $author !== 'vetandlife.ru'):
+ if ( ! empty ( $author ) AND $author !== 'vetandlife.ru' AND $author !== 'Анна Купровская'):
$author_bio = get_the_author_meta('description', $author_id);?>
Автор: =the_author_posts_link()?>