6, 'category' => 61, // пока тольео события 'meta_key' => 'startevent', 'meta_value' =>'', 'post_type' => 'post', 'suppress_filters' => true, // подавление работы фильтров изменения SQL запроса ]; if (isset($post_id)){ $more_params['post__not_in'] = array($post_id); } $more_posts = get_posts( $more_params ); # вывод поста if( $more_posts ): $nr = 0;?>