{"id":223397,"date":"2016-10-11T18:36:45","date_gmt":"2016-10-11T18:36:45","guid":{"rendered":"https:\/\/ru.wordpress.org\/support\/topic\/%d0%b2%d1%8b%d0%b2%d0%be%d0%b4-%d0%ba%d0%be%d0%bb%d0%b8%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b0-%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%b8%d0%b7-%d1%82%d0%b5%d0%bc\/"},"modified":"2016-10-11T18:59:46","modified_gmt":"2016-10-11T18:59:46","slug":"%d0%b2%d1%8b%d0%b2%d0%be%d0%b4-%d0%ba%d0%be%d0%bb%d0%b8%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b0-%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%b8%d0%b7-%d1%82%d0%b5%d0%bc","status":"publish","type":"topic","link":"https:\/\/ru.wordpress.org\/support\/topic\/%d0%b2%d1%8b%d0%b2%d0%be%d0%b4-%d0%ba%d0%be%d0%bb%d0%b8%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%b0-%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%b8%d0%b7-%d1%82%d0%b5%d0%bc\/","title":{"rendered":"\u0412\u044b\u0432\u043e\u0434 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432 \u0438\u0437 \u0442\u0435\u043c\u044b \u0432 BBPress"},"content":{"rendered":"<p>\u0414\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441\u0443\u0442\u043e\u043a! \u0412\u044b\u0432\u043e\u0436\u0443 \u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043d\u043e\u0432\u044b\u0435 \u0442\u0435\u043c\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u043b\u0430\u0433\u0438\u043d\u0430 Shorcodes Ultimate \u0438 \u0445\u043e\u0447\u0443 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0447\u0438\u0441\u043b\u043e\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0442\u0432\u0435\u0442\u043e\u0432 \u0432 \u0442\u0435\u043c\u0435, \u043d\u043e \u0432\u0441\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u0438\u0448\u0435\u0442, \u0447\u0442\u043e 0. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 bbp_get_topic_reply_count \u0438 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u0441 reply count &#8212; \u0432\u0441\u0451 \u0442\u0449\u0435\u0442\u043d\u043e. \u0421\u0430\u0439\u0442 seloru.com \u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 \u0432\u044b\u0432\u043e\u0434\u0430 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432 \u043e\u0442 WP &#8212; \u0442\u043e\u0436\u0435 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0442\u0430\u043a\u043e\u0439 \u0432\u043e\u0442 \u043a\u043e\u0434 \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430: <\/p>\n<pre><code>\n&lt;div class=&quot;su-posts su-posts-default-loop&quot;&gt;\n\t&lt;?php\n\t\t\/\/ Posts are found\n\t\tif ( $posts-&gt;have_posts() ) {\n\t\t\twhile ( $posts-&gt;have_posts() ) :\n\t\t\t\t$posts-&gt;the_post();\n\t\t\t\tglobal $post;\n            \t?&gt;\n\t\t\t\t&lt;div id=&quot;su-post-&lt;?php the_ID(); ?&gt;&quot; class=&quot;su-post&quot;&gt;\n&lt;?php if ( has_post_thumbnail() ) : ?&gt;\n&lt;a&gt;&quot;&gt;&lt;?php the_post_thumbnail(); ?&gt;&lt;\/a&gt;\n\t\t&lt;?php endif; ?&gt; \n&lt;h2 class=&quot;su-post-title&quot;&gt;&lt;a&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/a&gt;&lt;\/h2&gt;   \n         &lt;div style=&quot;float:right !important; padding-bottom:20px;&quot;&gt;&lt;?php if(function_exists(&#039;the_ratings&#039;)) { the_ratings(); } ?&gt;&lt;\/div&gt;   &lt;br&gt;          \n   \/*\u0432\u044b\u0432\u043e\u0434 \u0442\u0435\u043c*\/\n&lt;div class=&quot;su-post-content&quot;&gt;\n                                              &lt;?php  the_excerpt() ?&gt;\n                        &lt;p style=&quot;text-align:center&quot;&gt;&lt;img \/&gt;&quot; alt=&quot;&lt;?php the_title(); ?&gt;&quot; style=&quot;max-width:800px&quot;\/&gt;&lt;p&gt;\n                     &lt;?php   get_template_part(\u2018content\u2019,\u2019single\u2019);?&gt;\n&lt;!--\t\t\t\t\t\t &lt;?php the_content(&#039;&lt;span style=&quot;text-decoration: underline;font-weight:400;&quot;&gt; \u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u044c\u0448\u0435 &amp;raquo; &lt;\/span&gt;&#039;); ?&gt; --&gt;\n\t\t\t\t\t&lt;\/div&gt;\n                    \n\t\t\t\t\t&lt;p class=&quot;su-post-comments-link&quot; &gt;\n                        &lt;img src=&quot;\/wp-content\/uploads\/2016\/10\/users.png&quot; width=&quot;16&quot; \/&gt; &lt;span class=&quot;hover2&quot; &gt;&lt;?php the_author_posts_link(); ?&gt;&lt;\/span&gt;  &lt;img src=&quot;\/wp-content\/uploads\/2016\/10\/arrow_right.png&quot; width=&quot;16&quot; \/&gt;&lt;span class=&quot;hover2&quot; &gt;&lt;?php the_taxonomies(array(&#039;template&#039; =&gt; &#039;% %l&#039;)); ?&gt;&lt;\/span&gt;&lt;img src=&quot;\/wp-content\/uploads\/2016\/10\/calendar.png&quot; width=&quot;16&quot; \/&gt; &lt;?php _e( &#039;&#039;, &#039;shortcodes-ultimate&#039; ); ?&gt; &lt;?php the_time( get_option( &#039;date_format&#039; ) ); ?&gt;\n\n\/*\u0432\u044b\u0432\u043e\u0434 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432, \u043f\u0438\u0448\u0435\u0442 \u0432\u0441\u0435\u0433\u0434\u0430 &quot;\u043d\u0435\u0442 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432&quot;, \u0437\u0430\u043c\u0435\u043d\u0438\u043b\u0430 \u043d\u0430 \u043f\u0440\u043e\u0441\u0442\u043e &quot;\u041a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438&quot;, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u0440\u043e\u0441\u0430\u043b\u043e\u0441\u044c \u0432 \u0433\u043b\u0430\u0437\u0430*\/ \n                        &lt;img src=&quot;\/wp-content\/uploads\/2016\/10\/comm.png&quot; width=&quot;16&quot; \/&gt;&lt;span class=&quot;hover2&quot;&gt;&lt;a&gt;&quot; &gt;&lt;?php comments_number( __( &#039;\u041a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438&#039;, &#039;shortcodes-ultimate&#039; ), __( &#039;1 comment&#039;, &#039;shortcodes-ultimate&#039; ), &#039;% comments&#039; ); ?&gt;&lt;\/a&gt;&lt;\/span&gt; \n                \n&lt;!--\n                &lt;?php bbp_show_lead_topic() ? bbp_topic_reply_count() : bbp_topic_post_count(); ?&gt;\n                       \n&lt;?php echo esc_html( $stats[&#039;reply_count&#039;] ); ?&gt;\n--&gt;\n\n                    \n\t\t\t\t&lt;\/div&gt;\n\n\t\t\t\t&lt;?php\n\t\t\tendwhile;\n\t\t}\n\t\t\/\/ Posts not found\n\t\telse {\n\t\t\techo &#039;&lt;h4&gt;&#039; . __( &#039;Posts not found&#039;, &#039;shortcodes-ultimate&#039; ) . &#039;&lt;\/h4&gt;&#039;;\n\t\t}\n\t?&gt;\n&lt;\/div&gt;\n<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-223397","topic","type-topic","status-publish","hentry","topic-tag-bbpress","topic-tag-20","topic-tag-wordpress"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/223397","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\/223397\/revisions"}],"wp:attachment":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=223397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}