{"id":269374,"date":"2017-12-27T22:44:26","date_gmt":"2017-12-27T22:44:26","guid":{"rendered":"https:\/\/ru.wordpress.org\/support\/topic\/%d0%b2%d1%8b%d0%b2%d0%be%d0%b4-%d0%bf%d1%80%d0%be%d0%b8%d0%b7%d0%b2%d0%be%d0%bb%d1%8c%d0%bd%d1%8b%d1%85-%d0%b7%d0%b0%d0%bf%d0%b8%d1%81%d0%b5%d0%b9-%d0%bd%d0%b0-%d1%81%d1%82%d0%b0%d1%82%d0%b8%d1%87\/"},"modified":"2017-12-28T06:44:03","modified_gmt":"2017-12-28T06:44:03","slug":"%d0%b2%d1%8b%d0%b2%d0%be%d0%b4-%d0%bf%d1%80%d0%be%d0%b8%d0%b7%d0%b2%d0%be%d0%bb%d1%8c%d0%bd%d1%8b%d1%85-%d0%b7%d0%b0%d0%bf%d0%b8%d1%81%d0%b5%d0%b9-%d0%bd%d0%b0-%d1%81%d1%82%d0%b0%d1%82%d0%b8%d1%87","status":"publish","type":"topic","link":"https:\/\/ru.wordpress.org\/support\/topic\/%d0%b2%d1%8b%d0%b2%d0%be%d0%b4-%d0%bf%d1%80%d0%be%d0%b8%d0%b7%d0%b2%d0%be%d0%bb%d1%8c%d0%bd%d1%8b%d1%85-%d0%b7%d0%b0%d0%bf%d0%b8%d1%81%d0%b5%d0%b9-%d0%bd%d0%b0-%d1%81%d1%82%d0%b0%d1%82%d0%b8%d1%87\/","title":{"rendered":"\u0412\u044b\u0432\u043e\u0434 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u043d\u0430 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443"},"content":{"rendered":"<p>\u0423 \u043c\u0435\u043d\u044f \u0437\u0430\u0434\u0430\u0447\u0430, \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0435 \u0442\u0438\u043f\u044b \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u0443\u044e \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0441\u0430\u0439\u0442\u0430. \u0422\u0435\u043c\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043e\u0447\u0435\u0440\u043d\u044f\u044f Unite-child \u043e\u0442 \u0442\u0435\u043c\u044b Unite. \u0421\u043e\u0437\u0434\u0430\u043b \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0439 \u0442\u0438\u043f \u0437\u0430\u043f\u0438\u0441\u0438 (Custom Post Type): \u00abproperty\u00bb (\u00ab\u043d\u0435\u0434\u0432\u0436\u0438\u043c\u043e\u0441\u0442\u044c\u00bb);<br \/>\n\u2014 \u0414\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0442\u0438\u043f\u0430 \u00abproperty\u00bb \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u0430\u044f \u0442\u0430\u043a\u0441\u043e\u043d\u043e\u043c\u0438\u044f \u00abproperty_type\u00bb (\u00ab\u0442\u0438\u043f \u043d\u0435\u0434\u0432\u0438\u0436\u0438\u043c\u043e\u0441\u0442\u0438\u00bb);<br \/>\n\u2014 \u0414\u043b\u044f \u0422\u0430\u043a\u0441\u043e\u043d\u043e\u043c\u0438\u0438 \u00abproperty_type\u00bb \u0441\u043e\u0437\u0434\u0430\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0445 \u0440\u0443\u0431\u0440\u0438\u043a: ofice,house,cotedge, \u0438 \u0442.\u0434.<br \/>\n\u2014 \u0414\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u0443\u044e \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0432 \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u0439 \u0442\u0435\u043c\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0448\u0430\u0431\u043b\u043e\u043d \u00abpage-property.php\u00bb, \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u044d\u0442\u043e\u0442 \u0448\u0430\u0431\u043b\u043e\u043d \u043f\u043e\u0434\u0442\u044f\u043d\u0443\u043b\u0441\u044f \u0438 \u0432\u044b\u0431\u0440\u0430\u043d. \u0412 \u00abpage-property.php\u00bb \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043b \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0446\u0438\u043a\u043b WordPress \u043f\u043e\u0441\u043b\u0435 \u0432\u044b\u0432\u043e\u0434\u0430 \u0448\u0430\u043f\u043a\u0438 (<code>&lt;?php get_header(); ?&gt;<\/code>), \u0432\u043e\u0442 \u043e\u0431\u0449\u0438\u0439 \u043a\u043e\u0434 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b:<\/p>\n<pre><code>\n&lt;?php\n \/*\nTemplate Name: \u0428\u0430\u0431\u043b\u043e\u043d \u043d\u0435\u0434\u0432\u0438\u0436\u0438\u043c\u043e\u0441\u0442\u0438\n*\/\n?&gt;\n&lt;?php get_header(); ?&gt;\n\n\t&lt;div id=&quot;primary&quot; class=&quot;content-area col-sm-12 col-md-8 &lt;?php echo of_get_option( &#039;site_layout&#039; ); ?&gt;&quot;&gt;\n\t\t&lt;main id=&quot;main&quot; class=&quot;site-main&quot; role=&quot;main&quot;&gt;\t\t \n\n\t\t   &lt;div&gt;\n\t\t &lt;?php $args = array(&#039;post_type&#039; =&gt; &#039;property&#039;, \n\t\t   &#039;posts_per_page&#039; =&gt; 6,);\n$property = new WP_Query( $args ); \/\/ \u0434\u0430\u043b\u044c\u0448\u0435 - loop\nif( $property-&gt;have_posts() ) : ?&gt;\n    &lt;?php while( $property-&gt;have_posts() ) :\n        $property-&gt;the_post();\n        \/\/ \u0442\u0443\u0442 \u0432\u044b\u0432\u043e\u0434\u0438\u043c \u043f\u043e\u0441\u0442 ?&gt;\n        &lt;h2 class=&quot;title&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/h2&gt;\n\n   &lt;?php endwhile; ?&gt;\n&lt;?php endif;\nwp_reset_postdata(); \/\/ \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043a \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044e \u0433\u043b\u0430\u0432\u043d\u043e\u0433\u043e \u0437\u0430\u043f\u0440\u043e\u0441\u0430 ?&gt;\n\t&lt;\/div&gt;\t\n\n&lt;div&gt;HK;SDKJG&#039;KJGA[LBSL;JLJFLKJG&#039;AJNB&#039;;OAREO&#039;OGOA&#039;JH&#039;ARE;GJA\/JLGAKLRENG\/KN;JGBN\/LAGAKJBG;AELKN&lt;\/div&gt;\t\t\t\n\n&lt;?php get_sidebar(); ?&gt;\n&lt;?php get_footer(); ?&gt;\n<\/code><\/pre>\n<p>\u041f\u043e\u0434\u0441\u043a\u0430\u0436\u0438\u0442\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0432\u044b\u0432\u043e\u0436\u0443? \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443\u0436\u0435 \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432, \u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0438 \u043d\u0435 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f.<\/p>\n","protected":false},"template":"","class_list":["post-269374","topic","type-topic","status-publish","hentry","topic-tag-15274","topic-tag-15273","topic-tag-6830","topic-tag-1300","topic-tag-15275"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/269374","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":1,"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/269374\/revisions"}],"predecessor-version":[{"id":269384,"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/269374\/revisions\/269384"}],"wp:attachment":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=269374"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}