{"id":139867,"date":"2014-05-14T03:14:24","date_gmt":"2014-05-14T03:14:24","guid":{"rendered":"https:\/\/ru.wordpress.org\/support\/2014\/05\/14\/%d0%92%d1%8b%d0%b2%d0%be%d0%b4-%d0%bf%d0%be%d1%81%d0%bb%d0%b5%d0%b4%d0%bd%d0%b8%d1%85-%d0%ba%d0%be%d0%bc%d0%bc%d0%b5%d0%bd%d1%82%d0%b0%d1%80%d0%b8%d0%b5%d0%b2-%d0%b2-%d0%b1%d0%bb%d0%be%d0%b3%d0%b5\/"},"modified":"2014-05-14T03:14:24","modified_gmt":"2014-05-14T03:14:24","slug":"%d0%92%d1%8b%d0%b2%d0%be%d0%b4-%d0%bf%d0%be%d1%81%d0%bb%d0%b5%d0%b4%d0%bd%d0%b8%d1%85-%d0%ba%d0%be%d0%bc%d0%bc%d0%b5%d0%bd%d1%82%d0%b0%d1%80%d0%b8%d0%b5%d0%b2-%d0%b2-%d0%b1%d0%bb%d0%be%d0%b3%d0%b5","status":"closed","type":"topic","link":"https:\/\/ru.wordpress.org\/support\/topic\/%d0%92%d1%8b%d0%b2%d0%be%d0%b4-%d0%bf%d0%be%d1%81%d0%bb%d0%b5%d0%b4%d0%bd%d0%b8%d1%85-%d0%ba%d0%be%d0%bc%d0%bc%d0%b5%d0%bd%d1%82%d0%b0%d1%80%d0%b8%d0%b5%d0%b2-%d0%b2-%d0%b1%d0%bb%d0%be%d0%b3%d0%b5\/","title":{"rendered":"\u0412\u044b\u0432\u043e\u0434 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432 \u0432 \u0431\u043b\u043e\u0433\u0435"},"content":{"rendered":"<p>\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435 \u0444\u043e\u0440\u0443\u043c\u0447\u0430\u043d\u0435. \u041f\u043e\u0434\u0441\u043a\u0430\u0436\u0438\u0442\u0435 \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u0447\u0435\u043c\u0443 \u043c\u043e\u0436\u0435\u0442 \u043d\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434:<\/p>\n<pre><code>function get_avatar_recent_comment() {\n    $comment_len = 80;\n    $comments = get_comments(&#039;number=10&#039;);\n    if ($comments) {\n        foreach ($comments as $comment) {\n            \/\/ob_start();\n            ?&gt;\n&lt;li&gt;\n&lt;img class=&quot;alignleft&quot; src=&quot;\/img\/comment.png&quot; \/&gt;\n&lt;?php echo strip_tags($comment-&gt;comment_author); ?&gt;:&lt;br \/&gt;\n&lt;a href=&quot;&lt;?php echo get_permalink($comment-&gt;ID); ?&gt;#comment-&lt;?php echo $comment-&gt;comment_ID; ?&gt;&quot; title=&quot;\u0417\u0430\u043f\u0438\u0441\u044c: &lt;?php echo $comment-&gt;post_title; ?&gt;&quot;&gt;\n&lt;?php echo strip_tags(mb_substr(apply_filters(&#039;get_comment_text&#039;, $comment-&gt;comment_content), 0, $comment_len)); ?&gt;...\n&lt;\/a&gt;\n&lt;\/li&gt;\n            &lt;?php\n            \/\/ob_end_flush();\n        }\n    } else {\n        echo &quot;&lt;li&gt;No comments&lt;\/li&gt;&quot;;\n    }\n}<\/code><\/pre>\n<p>\u041e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043e 2 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b:<br \/>\n<strong>1.<\/strong> \u041a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e, \u0430 \u0432\u043e\u0442 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u043f\u043e \u043d\u0435\u0443 &#8212; \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u043d\u0435 \u0442\u043e\u0442 \u043f\u043e\u0441\u0442<br \/>\n<strong>2.<\/strong> \u041d\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0432 \u0442\u0430\u0439\u0442\u043b \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u043d\u043e\u0432\u043e\u0441\u0442\u0438.<\/p>\n<p>\u0418 \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435 \u043d\u0430\u0434\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0443\u0431\u0440\u0430\u0442\u044c<\/p>\n<pre><code>&quot;&lt;li&gt;No comments&lt;\/li&gt;&quot;<\/code><\/pre>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u0443\u0434\u0443 \u043d\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0435, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438, \u0430 \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u044d\u0442\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u0443\u0436\u0435 \u043d\u0435 \u0432\u044b\u0432\u0435\u0434\u0435\u0442\u0441\u044f.<\/p>\n<p>\u041e\u0447\u0435\u043d\u044c \u043d\u0430\u0434\u0435\u044e\u0441\u044c \u043d\u0430 \u0432\u0430\u0448\u0443 \u043f\u043e\u043c\u043e\u0449\u044c. \u0421\u043f\u0430\u0441\u0438\u0431\u043e.<\/p>\n","protected":false},"template":"","class_list":["post-139867","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/139867","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/139867\/revisions"}],"wp:attachment":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=139867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}