{"id":29541,"date":"2016-11-11T22:50:35","date_gmt":"2016-11-11T16:50:35","guid":{"rendered":"http:\/\/rcl-radio.ru\/?p=29541"},"modified":"2016-11-11T23:33:24","modified_gmt":"2016-11-11T17:33:24","slug":"%d0%b0%d0%b2%d1%82%d0%be%d0%bc%d0%b0%d1%82%d0%b8%d1%87%d0%b5%d1%81%d0%ba%d0%b8%d0%b9-%d0%b2%d1%8b%d0%b2%d0%be%d0%b4-description","status":"publish","type":"post","link":"http:\/\/rcl-radio.ru\/?p=29541","title":{"rendered":"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0432\u044b\u0432\u043e\u0434 Description"},"content":{"rendered":"<p>\u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043f\u043e\u043b\u044f <strong>description<\/strong> \u043f\u0440\u0438 \u0432\u044b\u0432\u043e\u0434\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u043f\u043e\u0438\u0441\u043a\u0430. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e\u0433\u043e \u0442\u0435\u0433\u0430 \u043d\u0435\u0442 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435, \u0442\u043e \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u0439 \u0434\u0432\u0438\u0436\u043e\u043a \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0438\u0442 \u043f\u0435\u0440\u0432\u044b\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u0441\u043b\u043e\u0432\u0430 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-29542\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2016\/11\/74639567863487436897.png\" alt=\"74639567863487436897\" width=\"583\" height=\"95\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2016\/11\/74639567863487436897.png 583w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2016\/11\/74639567863487436897-200x33.png 200w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2016\/11\/74639567863487436897-500x81.png 500w\" sizes=\"auto, (max-width: 583px) 100vw, 583px\" \/><\/p>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435, \u0431\u0435\u0437 \u0442\u0435\u0433\u0430\u00a0<strong>description\u00a0<\/strong>Yandex \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043a\u043e\u0440\u043e\u0442\u043a\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0442\u0435\u043a\u0441\u0442 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u0435\u043a\u0441\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u0438.<\/p>\n<p>\u0414\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0432 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443\u00a0header.php \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434:<\/p>\n<pre class=\"php\" style=\"font-family: monospace;\"><span style=\"color: #000000; font-weight: bold;\">&lt;?php<\/span> <span style=\"color: #b1b100;\">if<\/span> <span style=\"color: #009900;\">(<\/span>is_single<span style=\"color: #009900;\">(<\/span><span style=\"color: #009900;\">)<\/span> <span style=\"color: #339933;\">||<\/span> <span style=\"color: #009900;\">(<\/span>is_page<span style=\"color: #009900;\">(<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #009900;\">)<\/span> <span style=\"color: #009900;\">{<\/span>\r\n<span style=\"color: #b1b100;\">if<\/span> <span style=\"color: #009900;\">(<\/span>have_posts<span style=\"color: #009900;\">(<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #009900;\">)<\/span> <span style=\"color: #339933;\">:<\/span> <span style=\"color: #b1b100;\">while<\/span> <span style=\"color: #009900;\">(<\/span>have_posts<span style=\"color: #009900;\">(<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #009900;\">)<\/span> <span style=\"color: #339933;\">:<\/span> the_post<span style=\"color: #009900;\">(<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #000088;\">$strDescr<\/span> <span style=\"color: #339933;\">=<\/span> wp_trim_words<span style=\"color: #009900;\">(<\/span>get_the_content<span style=\"color: #009900;\">(<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #cc66cc;\">30<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #0000ff;\">''<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #000088;\">$strDescr<\/span> <span style=\"color: #339933;\">=<\/span> <span style=\"color: #990000;\">preg_split<\/span><span style=\"color: #009900;\">(<\/span><span style=\"color: #0000ff;\">\"\/[?!] \/\"<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #000088;\">$strDescr<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #b1b100;\">echo<\/span> <span style=\"color: #0000ff;\">'&lt;meta name=\"description\" content=\"'<\/span><span style=\"color: #339933;\">.<\/span><span style=\"color: #000088;\">$strDescr<\/span><span style=\"color: #009900;\">[<\/span><span style=\"color: #cc66cc;\">0<\/span><span style=\"color: #009900;\">]<\/span><span style=\"color: #339933;\">.<\/span><span style=\"color: #000088;\">$strDescr<\/span><span style=\"color: #009900;\">[<\/span><span style=\"color: #cc66cc;\">1<\/span><span style=\"color: #009900;\">]<\/span><span style=\"color: #339933;\">.<\/span><span style=\"color: #000088;\">$strDescr<\/span><span style=\"color: #009900;\">[<\/span><span style=\"color: #cc66cc;\">2<\/span><span style=\"color: #009900;\">]<\/span><span style=\"color: #339933;\">.<\/span><span style=\"color: #000088;\">$strDescr<\/span><span style=\"color: #009900;\">[<\/span><span style=\"color: #cc66cc;\">3<\/span><span style=\"color: #009900;\">]<\/span><span style=\"color: #339933;\">.<\/span><span style=\"color: #0000ff;\">'\" &gt;'<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #b1b100;\">endwhile<\/span><span style=\"color: #339933;\">;<\/span> <span style=\"color: #b1b100;\">endif<\/span><span style=\"color: #339933;\">;<\/span> <span style=\"color: #009900;\">}<\/span>\r\n<span style=\"color: #b1b100;\">else<\/span> <span style=\"color: #009900;\">{<\/span>\r\n<span style=\"color: #b1b100;\">echo<\/span> <span style=\"color: #0000ff;\">'&lt;meta name=\"description\" content=\"\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.\" &gt;'<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #009900;\">}<\/span>\r\n<span style=\"color: #000000; font-weight: bold;\">?&gt;<\/span><\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0441\u043b\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430, \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043a\u0430\u043a \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043c\u0435\u0433\u0430 \u0442\u0435\u0433\u0430\u00a0<strong>description:<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-29544\" src=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2016\/11\/743657674367834.png\" alt=\"743657674367834\" width=\"868\" height=\"128\" srcset=\"http:\/\/rcl-radio.ru\/wp-content\/uploads\/2016\/11\/743657674367834.png 868w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2016\/11\/743657674367834-200x29.png 200w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2016\/11\/743657674367834-500x74.png 500w, http:\/\/rcl-radio.ru\/wp-content\/uploads\/2016\/11\/743657674367834-768x113.png 768w\" sizes=\"auto, (max-width: 868px) 100vw, 868px\" \/><\/p>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043a\u043e\u0434, \u0442\u043e \u0432 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043f\u043e\u043c\u0438\u043c\u043e \u0412\u0430\u0448\u0435\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430, \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0440\u0443\u0431\u0440\u0438\u043a\u0438:<\/p>\n<pre class=\"php\" style=\"font-family: monospace;\"><span style=\"color: #000000; font-weight: bold;\">&lt;?php<\/span> <span style=\"color: #b1b100;\">if<\/span> <span style=\"color: #009900;\">(<\/span>is_single<span style=\"color: #009900;\">(<\/span><span style=\"color: #009900;\">)<\/span> <span style=\"color: #339933;\">||<\/span> <span style=\"color: #009900;\">(<\/span>is_page<span style=\"color: #009900;\">(<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #009900;\">)<\/span> <span style=\"color: #009900;\">{<\/span>\r\n<span style=\"color: #b1b100;\">if<\/span> <span style=\"color: #009900;\">(<\/span>have_posts<span style=\"color: #009900;\">(<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #009900;\">)<\/span> <span style=\"color: #339933;\">:<\/span> <span style=\"color: #b1b100;\">while<\/span> <span style=\"color: #009900;\">(<\/span>have_posts<span style=\"color: #009900;\">(<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #009900;\">)<\/span> <span style=\"color: #339933;\">:<\/span> the_post<span style=\"color: #009900;\">(<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #000088;\">$strDescr<\/span> <span style=\"color: #339933;\">=<\/span> wp_trim_words<span style=\"color: #009900;\">(<\/span>get_the_content<span style=\"color: #009900;\">(<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #cc66cc;\">50<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #0000ff;\">''<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #000088;\">$strDescr<\/span> <span style=\"color: #339933;\">=<\/span> <span style=\"color: #990000;\">preg_split<\/span><span style=\"color: #009900;\">(<\/span><span style=\"color: #0000ff;\">\"\/[?!] \/\"<\/span><span style=\"color: #339933;\">,<\/span> <span style=\"color: #000088;\">$strDescr<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #b1b100;\">echo<\/span> <span style=\"color: #0000ff;\">'&lt;meta name=\"description\" content=\"'<\/span><span style=\"color: #339933;\">.<\/span><span style=\"color: #000088;\">$strDescr<\/span><span style=\"color: #009900;\">[<\/span><span style=\"color: #cc66cc;\">0<\/span><span style=\"color: #009900;\">]<\/span><span style=\"color: #339933;\">.<\/span><span style=\"color: #000088;\">$strDescr<\/span><span style=\"color: #009900;\">[<\/span><span style=\"color: #cc66cc;\">1<\/span><span style=\"color: #009900;\">]<\/span><span style=\"color: #339933;\">.<\/span><span style=\"color: #000088;\">$strDescr<\/span><span style=\"color: #009900;\">[<\/span><span style=\"color: #cc66cc;\">2<\/span><span style=\"color: #009900;\">]<\/span><span style=\"color: #339933;\">.<\/span><span style=\"color: #000088;\">$strDescr<\/span><span style=\"color: #009900;\">[<\/span><span style=\"color: #cc66cc;\">3<\/span><span style=\"color: #009900;\">]<\/span><span style=\"color: #339933;\">.<\/span><span style=\"color: #0000ff;\">'\" &gt;'<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #b1b100;\">endwhile<\/span><span style=\"color: #339933;\">;<\/span> <span style=\"color: #b1b100;\">endif<\/span><span style=\"color: #339933;\">;<\/span> <span style=\"color: #009900;\">}<\/span>\r\n<span style=\"color: #b1b100;\">else<\/span> <span style=\"color: #009900;\">{<\/span>\r\n<span style=\"color: #b1b100;\">echo<\/span> <span style=\"color: #0000ff;\">'&lt;meta name=\"description\" content=\"\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e. '<\/span><span style=\"color: #339933;\">;<\/span> \r\nsingle_cat_title<span style=\"color: #009900;\">(<\/span><span style=\"color: #009900;\">)<\/span><span style=\"color: #339933;\">;<\/span> \r\n<span style=\"color: #b1b100;\">echo<\/span> <span style=\"color: #0000ff;\">'\"&gt;'<\/span><span style=\"color: #339933;\">;<\/span>\r\n<span style=\"color: #009900;\">}<\/span>\r\n<span style=\"color: #000000; font-weight: bold;\">?&gt;<\/span><\/pre>\n<p>\u0424\u0443\u043d\u043a\u0446\u0438\u044f php <strong>single_cat_title()<\/strong> \u0432\u044b\u0432\u0435\u0434\u0435\u0442 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u00a0\u0440\u0443\u0431\u0440\u0438\u043a\u0438 (\u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0435 \u0431\u0443\u0434\u0435\u0442). <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043f\u043e\u043b\u044f description \u043f\u0440\u0438 \u0432\u044b\u0432\u043e\u0434\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u043f\u043e\u0438\u0441\u043a\u0430. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e\u0433\u043e \u0442\u0435\u0433\u0430 \u043d\u0435\u0442 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435, \u0442\u043e \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u0439 \u0434\u0432\u0438\u0436\u043e\u043a \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0438\u0442 \u043f\u0435\u0440\u0432\u044b\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u0441\u043b\u043e\u0432\u0430 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438. \u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435, \u0431\u0435\u0437 \u0442\u0435\u0433\u0430\u00a0description\u00a0Yandex \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043a\u043e\u0440\u043e\u0442\u043a\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0442\u0435\u043a\u0441\u0442 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u0435\u043a\u0441\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u0438. \u0414\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":29542,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[157],"tags":[],"class_list":["post-29541","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"views":3807,"_links":{"self":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/29541","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=29541"}],"version-history":[{"count":5,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/29541\/revisions"}],"predecessor-version":[{"id":29549,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/posts\/29541\/revisions\/29549"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=\/wp\/v2\/media\/29542"}],"wp:attachment":[{"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=29541"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29541"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/rcl-radio.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}