<?php wp_head(); ?>
Выводит такие теги:
<meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' />
<meta name="description" content="........." class="yoast-seo-meta-tag" />
<link rel="canonical" href="..........." class="yoast-seo-meta-tag" />
<link rel="next" href=".........." class="yoast-seo-meta-tag" />
<meta property="og:locale" content="ru_RU" class="yoast-seo-meta-tag" />
<meta property="og:type" content="website" class="yoast-seo-meta-tag" />
<meta property="og:title" content="............" />
<meta property="og:description" content=".........." class="yoast-seo-meta-tag" />
<meta property="og:url" content="........" class="yoast-seo-meta-tag" />
<meta property="og:site_name" content=".........." class="yoast-seo-meta-tag" />
<meta property="og:image" content="........." class="yoast-seo-meta-tag" />
<meta property="og:image:width" content="120" class="yoast-seo-meta-tag" />
<meta property="og:image:height" content="120" class="yoast-seo-meta-tag" />
<meta property="og:image:type" content="image/jpeg" class="yoast-seo-meta-tag" />
<meta name="twitter:card" content="summary_large_image" class="yoast-seo-meta-tag" />
<link rel='dns-prefetch' href='//fonts.googleapis.com' />
<link rel="alternate" type="application/rss+xml" title="....." href="...." />
<link rel="alternate" type="application/rss+xml" title="...." href="...." />
<script type="text/javascript">....</script>
<style type="text/css">....</style>
Как удалить /
в конце?
И как удалить type="text/javascript"
и type="text/css"
?
В файле functions.php
там ничего нет
Какой файл в системе за это отвечает?
Хотелось бы без этой фигни, типа такой функции str_replace( '<br />', '<br>', $content );
а изначально сделать правильный вывод тегов
https://fonts.googleapis.com/css?family=Montserrat%3A100%2C200%2C300%2C400%2C500%2C600%2C700%2C800%2C900%2C100i%2C200i%2C300i%2C400i%2C500i%2C600i%2C700i%2C800i%2C900i|Oswald%3A100%2C200%2C300%2C400%2C500%2C600%2C700%2C800%2C900%2C100i%2C200i%2C300i%2C400i%2C500i%2C600i%2C700i%2C800i%2C900i|Roboto+Slab........
ошибка
Bad value for attribute href on element link: Illegal character in query: | is not allowed.
Info
, а неError
илиWarning
. Ссылка которую я привел, взята оттуда. И там даже описаныSo, for example, the following are all acceptable reasons for using a trailing slash in a void-element start tag
с перечислением ниже.