.post-content h1,.entry-content h1,.post-title h1,.single-post h1{color:#ff0000!important}.post-content h2,.entry-content h2,.single-post h2{color:#0066cc!important}.post-content h3,.entry-content h3,.single-post h3{color:#008000!important}.post-content h4,.entry-content h4,.single-post h4{color:#800080!important}.post-content h1 a:hover,.post-content h2 a:hover,.post-content h3 a:hover,.post-content h4 a:hover{color:#ff0000!important;body .main-navigation a,body .main-navigation ul li a,body .main-navigation ul li>a,body .menu-item a{font-size:13px!important;line-height:1.3!important;padding:6px 10px!important;margin:0!important}body .main-navigation ul li,body .menu-item{margin:0 2px!important;padding:0!important}body .main-navigation,body .main-navigation ul{padding:0!important;margin:0!important;min-height:36px!important;height:auto!important}body .main-navigation ul.sub-menu li a{font-size:12px!important;padding:5px 10px!important}@media (max-width:991px){body .main-navigation a{font-size:12px!important;padding:5px 8px!important}body .main-navigation{min-height:34px!important}}.post-content h1,.entry-content h1,.post-title h1,.single-post h1{color:#ff0000!important}#toc_container ul ul,.table-of-contents ul ul,.toc-list ul ul,.table-of-contents li li,.toc-list li li{display:none!important}article h3,article h4,article h5,.entry-content h3,.entry-content h4,.entry-content h5,.post-content h3,.post-content h4,.post-content h5{display:none!important}add_filter('comment_form_default_fields','remove_website_field_from_comment_form');function remove_website_field_from_comment_form($fields){if (isset($fields['url'])){unset($fields['url'])}return $fields}add_action('pre_get_posts',function ($query){if (! is_admin() && $query->is_main_query()){// Если это главная,архив или поиск — прячем рубрику 318 if ($query->is_home() || $query->is_front_page() || $query->is_archive() || $query->is_search()){$query->set('category__not_in',array(318))}}});function wpshop_exclude_post($query){if ($query->is_home){// В скобках добавьте ID записей через запятую,в примере 1,5,10 $query->set('post__not_in',[3291,3311,3307,3297])}return $query}add_filter('pre_get_posts','wpshop_exclude_post');