{"id":4546,"date":"2024-11-17T10:15:54","date_gmt":"2024-11-17T10:15:54","guid":{"rendered":"https:\/\/forestgreen-jay-845795.hostingersite.com\/?p=4546"},"modified":"2024-12-12T18:20:58","modified_gmt":"2024-12-12T18:20:58","slug":"%d0%ba%d0%b0%d0%ba-%d0%b1%d1%8b%d1%82%d1%8c-%d1%81-%d0%ba%d0%bd%d0%be%d0%bf%d0%ba%d0%be%d0%b9-%d1%87%d0%b8%d1%82%d0%b0%d0%b9-%d0%b4%d0%b0%d0%bb%d1%8c%d1%88%d0%b5","status":"publish","type":"post","link":"https:\/\/newsbee.blog\/wp-tips\/2024\/11\/17\/4546\/","title":{"rendered":"\u041a\u0430\u043a \u0431\u044b\u0442\u044c \u0441 \u043a\u043d\u043e\u043f\u043a\u043e\u0439 &#171;\u0427\u0438\u0442\u0430\u0439 \u0434\u0430\u043b\u044c\u0448\u0435&#187;?"},"content":{"rendered":"<p>\u0412\u043e\u043f\u0440\u043e\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u043b\u0438 \u043d\u0435\u0442 \u043a\u043d\u043e\u043f\u043a\u0443 \u0438\u043b\u0438 \u0442\u0435\u043a\u0441\u0442\u0432\u0443\u044e \u0441\u0441\u044b\u043b\u043a\u0443 \u0432 \u043a\u043e\u043d\u0446\u0435 \u043e\u0442\u0440\u044b\u0432\u043a\u0430 \u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0431\u043b\u043e\u0433\u0430 \u0432\u043e \u043c\u043d\u043e\u0433\u043e\u043c \u0444\u0438\u043b\u043e\u0441\u043e\u0444\u0441\u043a\u0438\u0439.<\/p>\n<p>\u041d\u0430\u0443\u0447\u043d\u0430\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430 \u0435\u0449\u0451 \u043d\u0435 \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u0430 \u043a\u0430\u043a \u043b\u0443\u0447\u0448\u0435.<\/p>\n<p>\u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c, \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u0443\u044e \u0441\u0441\u044b\u043b\u043a\u0443 &#171;\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435&#187;, \u0430 \u0448\u0430\u0431\u043b\u043e\u043d \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442. <\/p>\n<p>\u0415\u0441\u043b\u0438 \u043f\u043e\u0432\u0435\u0437\u0451\u0442, \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0442\u0430\u043a\u0443\u044e \u0441\u0441\u044b\u043b\u043a\u0443 \u0432 \u043e\u0442\u0440\u044b\u0432\u043e\u043a \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u0441\u043d\u0438\u043f\u043f\u0435\u0442\u0430 \u043a\u0430\u043a \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043a functions.php &#8212; \u043b\u0443\u0447\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u043b\u0430\u0433\u0438\u043d\u0430 Code Snippets.<\/p>\n<p>\u0412\u043e\u0442 \u044d\u0442\u043e\u0442 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u043a\u043e\u0434\u0430:<\/p>\n<div class=\"code-block-wrapper\" style=\"position: relative;\">\n        <button class=\"copy-button\" id=\"copy_code_block_6a3572ea1b7f2\" data-target=\"code_block_6a3572ea1b7f2\" style=\"\n            position: absolute; \n            top: 10px; \n            right: 10px; \n            background: #0073aa; \n            color: #fff; \n            border: none; \n            padding: 5px 10px; \n            cursor: pointer; \n            font-size: 12px;\n            border-radius: 5px;\">Copy<\/button><\/p>\n<pre><code id=\"code_block_6a3572ea1b7f2\">\r\nfunction add_read_more_button($excerpt) {\r\n    return $excerpt . &#039; &lt;a class=&quot;read-more-button&quot; href=&quot;&#039; . get_permalink() . &#039;&quot;&gt;\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435...&lt;\/a&gt;&#039;;\r\n}\r\nadd_filter(&#039;the_excerpt&#039;, &#039;add_read_more_button&#039;);\r\n<\/code><\/pre>\n<\/p><\/div>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u044d\u0442\u0443 \u0441\u0441\u044b\u043b\u043a\u0443 \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u0442\u044c \u0432 \u043a\u043d\u043e\u043f\u043a\u0443 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e CSS \u0441\u0442\u0438\u043b\u044f.<\/p>\n<div class=\"code-block-wrapper\" style=\"position: relative;\">\n        <button class=\"copy-button\" id=\"copy_code_block_6a3572ea1b807\" data-target=\"code_block_6a3572ea1b807\" style=\"\n            position: absolute; \n            top: 10px; \n            right: 10px; \n            background: #0073aa; \n            color: #fff; \n            border: none; \n            padding: 5px 10px; \n            cursor: pointer; \n            font-size: 12px;\n            border-radius: 5px;\">Copy<\/button><\/p>\n<pre><code id=\"code_block_6a3572ea1b807\">\r\n.read-more-button {\r\n    display: inline-block;\r\n    padding: 8px 16px;\r\n    background-color: #0073e6; \/* Button background color *\/\r\n    color: #ffffff; \/* Button text color *\/\r\n    text-decoration: none;\r\n    border-radius: 4px;\r\n    font-weight: bold;\r\n}\r\n\r\n.read-more-button:hover {\r\n    background-color: #005bb5; \/* Hover color *\/\r\n}\r\n<\/code><\/pre>\n<\/p><\/div>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0435\u0433\u043e \u0432 \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u0438\u043b\u0438 \u0447\u0435\u0440\u0435\u0437 \u041d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0438 \u043c\u0435\u043d\u044f\u0435\u043c \u0446\u0432\u0435\u0442\u0430 \u0438 \u0440\u0430\u0437\u043c\u0435\u0440\u044b \u0442\u0435\u043a\u0441\u0442\u0430 \u0438 \u043a\u043d\u043e\u043f\u043e\u0447\u043a\u0438 \u043a\u0430\u043a \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u0430\u0443\u0447\u043d\u0430\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430 \u0435\u0449\u0451 \u043d\u0435 \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u0430 \u043a\u0430\u043a \u043b\u0443\u0447\u0448\u0435.<\/p>\n <a class=\"read-more-button\" href=\"https:\/\/newsbee.blog\/wp-tips\/2024\/11\/17\/4546\/\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435<\/a>","protected":false},"author":1,"featured_media":4549,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43,41],"tags":[44,73,49],"class_list":["post-4546","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-css","category-snippets","tag-css","tag-read-more","tag-49"],"_links":{"self":[{"href":"https:\/\/newsbee.blog\/wp-tips\/wp-json\/wp\/v2\/posts\/4546","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/newsbee.blog\/wp-tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/newsbee.blog\/wp-tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/newsbee.blog\/wp-tips\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/newsbee.blog\/wp-tips\/wp-json\/wp\/v2\/comments?post=4546"}],"version-history":[{"count":8,"href":"https:\/\/newsbee.blog\/wp-tips\/wp-json\/wp\/v2\/posts\/4546\/revisions"}],"predecessor-version":[{"id":5416,"href":"https:\/\/newsbee.blog\/wp-tips\/wp-json\/wp\/v2\/posts\/4546\/revisions\/5416"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/newsbee.blog\/wp-tips\/wp-json\/wp\/v2\/media\/4549"}],"wp:attachment":[{"href":"https:\/\/newsbee.blog\/wp-tips\/wp-json\/wp\/v2\/media?parent=4546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/newsbee.blog\/wp-tips\/wp-json\/wp\/v2\/categories?post=4546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/newsbee.blog\/wp-tips\/wp-json\/wp\/v2\/tags?post=4546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}