{"id":241257,"date":"2017-03-01T17:44:09","date_gmt":"2017-03-01T17:44:09","guid":{"rendered":"https:\/\/ru.wordpress.org\/support\/topic\/%d0%b2%d1%8b%d0%b2%d0%be%d0%b4-%d1%80%d1%83%d0%b1%d1%80%d0%b8%d0%ba-%d1%82%d0%b0%d0%ba%d1%81%d0%be%d0%bd%d0%be%d0%bc%d0%b8%d0%b9-%d0%bf%d1%80%d0%be%d0%b8%d0%b7%d0%b2%d0%be%d0%bb%d1%8c%d0%bd%d1%8b\/"},"modified":"2017-03-01T17:44:09","modified_gmt":"2017-03-01T17:44:09","slug":"%d0%b2%d1%8b%d0%b2%d0%be%d0%b4-%d1%80%d1%83%d0%b1%d1%80%d0%b8%d0%ba-%d1%82%d0%b0%d0%ba%d1%81%d0%be%d0%bd%d0%be%d0%bc%d0%b8%d0%b9-%d0%bf%d1%80%d0%be%d0%b8%d0%b7%d0%b2%d0%be%d0%bb%d1%8c%d0%bd%d1%8b","status":"publish","type":"topic","link":"https:\/\/ru.wordpress.org\/support\/topic\/%d0%b2%d1%8b%d0%b2%d0%be%d0%b4-%d1%80%d1%83%d0%b1%d1%80%d0%b8%d0%ba-%d1%82%d0%b0%d0%ba%d1%81%d0%be%d0%bd%d0%be%d0%bc%d0%b8%d0%b9-%d0%bf%d1%80%d0%be%d0%b8%d0%b7%d0%b2%d0%be%d0%bb%d1%8c%d0%bd%d1%8b\/","title":{"rendered":"\u0412\u044b\u0432\u043e\u0434 \u0440\u0443\u0431\u0440\u0438\u043a (\u0442\u0430\u043a\u0441\u043e\u043d\u043e\u043c\u0438\u0439) \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0445 \u0442\u0438\u043f\u043e\u0432 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 (register_post_type)."},"content":{"rendered":"<p>\u041d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0439 \u0442\u0438\u043f \u0437\u0430\u043f\u0438\u0441\u0438 (Custom Post Type): &#171;service&#187; (&#171;\u0423\u0441\u043b\u0443\u0433\u0438&#187;);<br \/>\n&#8212; \u0414\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0442\u0438\u043f\u0430 &#171;service&#187; \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 &#171;our_services&#187; (&#171;\u041d\u0430\u0448\u0438 \u0443\u0441\u043b\u0443\u0433\u0438&#187;);<br \/>\n&#8212; \u0414\u043b\u044f \u0422\u0430\u043a\u0441\u043e\u043d\u043e\u043c\u0438\u044f &#171;our_services&#187; \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: SEO , Web_Disain , \u0438 \u0442.\u0434.<br \/>\n&#8212; \u0414\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0448\u0430\u0431\u043b\u043e\u043d &#171;page-service.php&#187; \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0441\u043e\u0437\u0434\u0430\u043b \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0446\u0438\u043a\u043b wordpress<\/p>\n<pre><code>&lt;?php $service_slider = new WP_Query(array(&#039;post_type&#039; =&gt; &#039;service_slider&#039;));?&gt;\n\t&lt;?php if ( $service_slider-&gt;have_posts() ) : ?&gt;\n\t&lt;?php while ( $service_slider-&gt;have_posts() ) : $service_slider-&gt;the_post(); ?&gt;\n\t&lt;div class=&quot;carousel-item&quot;&gt;\n\t\t&lt;div class=&quot;carousel-image&quot;&gt;&lt;?php the_post_thumbnail(); ?&gt;&lt;\/div&gt;\n\t\t&lt;h2 class=&quot;owl-carousel-title&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/h2&gt;\n\t\t&lt;div class=&quot;owl-carousel-text&quot;&gt;&lt;?php the_content(); ?&gt;&lt;\/div&gt;\n\t&lt;\/div&gt;\n\t&lt;?php endwhile; ?&gt;\n\t&lt;?php else: ?&gt;\n\t\t&lt;div class=&quot;no-carousel&quot;&gt;...&lt;\/div&gt;\n\t&lt;?php endif; ?&gt;\n\t&lt;?php wp_reset_query(); ?&gt;<\/code><\/pre>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e \u0432 \u0442\u0430\u043a\u043e\u043c \u044f \u043c\u043e\u0433\u0443 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u0441\u0435 \u043f\u043e\u0441\u0442\u044b \u0440\u0430\u0437\u043e\u043c. \u0412 \u043c\u0435\u043d\u044e \u044f \u0441\u043e\u0437\u0434\u0430\u043b \u043f\u0443\u043d\u043a\u0442 \u043c\u0435\u043d\u044e \u0423\u0441\u043b\u0443\u0433\u0438 \u0438 \u0432\u044b\u0432\u0435\u043b \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 &#171;\u0423\u0441\u043b\u0443\u0433\u0438&#187; \u043a \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d \u0448\u0430\u0431\u043b\u043e\u043d. \u0427\u0435\u0440\u0435\u0437 \u0430\u0434\u043c\u0438\u043d\u043a\u0443 \u0432 \u043f\u043e\u0434\u043c\u0435\u043d\u044e \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0435 \u0440\u0443\u0431\u0440\u0438\u043a\u0438 SEO \u0438 Web_Disain. \u041d\u043e \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u043f\u043e \u043d\u0438\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 404. \u0421\u0430\u043c\u0430 \u0441\u0441\u044b\u043b\u043a\u0430 \u0438\u043c\u0435\u0435\u0442 \u0432\u0438\u0434 (site.ru\/\u0438\u043c\u044f_\u0442\u0430\u043a\u0441\u043e\u043d\u043e\u043c\u0438\u0438\/\u044f\u0440\u043b\u044b\u043a_\u0440\u0443\u0431\u0440\u0438\u043a\u0438).<\/p>\n<p>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a \u0447\u0442\u043e\u0431\u044b \u0448\u0430\u0431\u043b\u043e\u043d \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0432 &#171;page-service.php&#187; \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u0440\u0443\u0431\u0440\u0438\u043a\u0438 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 SEO) \u0432\u044b\u0432\u043e\u0434\u0438\u043b \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0446\u0438\u043a\u043b WordPress \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0434\u043b\u044f \u044d\u0442\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b, \u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u0442\u0435\u043c\u0438 \u043f\u043e\u0441\u0442\u0430\u043c\u0438, \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0431\u044b\u043b\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u0447\u0442\u043e \u043e\u043d\u0438 \u043e\u0442\u043d\u043e\u0441\u044f\u0442\u0441\u044f \u043a \u0434\u0430\u043d\u043d\u043e\u0439 \u0440\u0443\u0431\u0440\u0438\u043a\u0435.<\/p>\n","protected":false},"template":"","class_list":["post-241257","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/241257","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\/241257\/revisions"}],"wp:attachment":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=241257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}