{"id":141015,"date":"2014-05-28T09:11:36","date_gmt":"2014-05-28T09:11:36","guid":{"rendered":"https:\/\/ru.wordpress.org\/support\/2014\/05\/28\/%d0%92%d1%8b%d0%b2%d0%be%d0%b4-%d0%bf%d0%be%d1%81%d1%82%d0%be%d0%b2-%d1%81-%d0%b8%d1%81%d0%bf%d0%be%d0%bb%d1%8c%d0%b7%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5%d0%bc-custom-fields\/"},"modified":"2014-05-28T09:11:36","modified_gmt":"2014-05-28T09:11:36","slug":"%d0%92%d1%8b%d0%b2%d0%be%d0%b4-%d0%bf%d0%be%d1%81%d1%82%d0%be%d0%b2-%d1%81-%d0%b8%d1%81%d0%bf%d0%be%d0%bb%d1%8c%d0%b7%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5%d0%bc-custom-fields","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%d1%82%d0%be%d0%b2-%d1%81-%d0%b8%d1%81%d0%bf%d0%be%d0%bb%d1%8c%d0%b7%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5%d0%bc-custom-fields\/","title":{"rendered":"\u0412\u044b\u0432\u043e\u0434 \u043f\u043e\u0441\u0442\u043e\u0432 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c Custom Fields"},"content":{"rendered":"<p>\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435. \u041e\u0434\u043d\u0430 \u0438\u0437 \u0440\u0443\u0431\u0440\u0438\u043a \u0441\u0430\u0439\u0442\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u043c. \u0422.\u043a. \u043f\u043e\u0434\u0440\u0443\u0431\u0440\u0438\u043a \u043c\u043d\u043e\u0433\u043e, \u0440\u0435\u0448\u0438\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0435\u0433\u0438 \u0434\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0435\u0433\u043e \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430. \u041d\u043e \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u0442\u044b \u043f\u043e \u0442\u0435\u0433\u0430\u043c \u0432 \u044d\u0442\u043e\u0439 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438 \u0432\u044b\u0432\u043e\u0434\u0438\u043b\u0438\u0441\u044c \u043f\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u043c\u0443 \u043f\u0440\u0430\u0432\u0438\u043b\u0443: \u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438 \u0431\u0440\u0430\u043b\u0438\u0441\u044c \u0438\u0437 \u043f\u043e\u043b\u044f Custom Fields \u0438 \u0432\u044b\u0432\u043e\u0434\u0438\u043b\u0438\u0441\u044c \u043f\u043e \u0430\u043b\u0444\u0430\u0432\u0438\u0442\u0443. \u0412 \u0438\u0442\u043e\u0433\u0435 \u043d\u0430\u0448\u0435\u043b \u0442\u0430\u043a\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 (\u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0434\u043f\u0440\u0430\u0432\u0438\u043b):<\/p>\n<pre><code>&lt;?php query_posts(array(&#039;category__and&#039;=&gt;array(3),&#039;meta_key&#039;=&gt;&#039;SName&#039;,&#039;orderby&#039;=&gt;&#039;meta_value&#039;,&#039;order&#039;=&gt;ASC,));\nif ( have_posts() ) while ( have_posts() ) : the_post(); ?&gt; &lt;a&gt;&quot;  title=&quot;&lt;?php the_title(); ?&gt;&quot;&gt;\n&lt;h2&gt;  &lt;?php echo get_post_meta( get_the_ID(), &#039;SName&#039;, true); ?&gt; &lt;\/h2&gt; &lt;\/a&gt; &lt;?php endwhile; \/\/ end of the loop. ?&gt;<\/code><\/pre>\n<p>\u042f \u043f\u043e\u0447\u0442\u0438 \u043d\u0435 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u044e\u0441\u044c \u0432 php, \u043d\u043e, \u043a\u0430\u043a \u044f \u043f\u043e\u043d\u0438\u043c\u0430\u044e, \u043a\u043e\u0434 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0438\u0437 \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u0440\u0443\u0431\u0440\u0438\u043a\u0438 \u0432\u0441\u0435 \u043f\u043e\u0441\u0442\u044b \u0441 \u043f\u043e\u043b\u0435\u043c SName \u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 \u043d\u0435\u0433\u043e \u0441\u0442\u0430\u0432\u0438\u0442 \u0432\u043c\u0435\u0441\u0442\u043e \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430, \u0432\u044b\u0432\u043e\u0434\u044f \u043f\u043e \u0430\u043b\u0444\u0430\u0432\u0438\u0442\u0443. \u0412\u0441\u0435 \u0445\u043e\u0440\u043e\u0448\u043e, \u043d\u043e, \u043a \u043c\u043e\u0435\u043c\u0443 \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0434\u0435\u043b\u0430\u0435\u0442 \u044d\u0442\u043e \u043e\u043d \u043d\u0430 \u0432\u0441\u0435\u0445 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445 \u0441 \u0442\u0435\u0433\u0430\u043c\u0438. \u0410 \u043c\u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b, \u0447\u0442\u043e\u0431\u044b \u043f\u043e \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0442\u0435\u0433\u0443 \u0432\u044b\u0432\u043e\u0434\u0438\u043b\u0438\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u0442\u044b \u0441 \u044d\u0442\u0438\u043c \u0442\u0435\u0433\u043e\u043c \u0432 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438 ID3. \u0411\u0443\u0434\u0443 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u0435\u043d, \u0435\u0441\u043b\u0438 \u043f\u043e\u043c\u043e\u0436\u0435\u0442\u0435 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0438 \u043d\u0430\u0439\u0442\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u0435.<\/p>\n","protected":false},"template":"","class_list":["post-141015","topic","type-topic","status-closed","hentry","topic-tag-custom-fields"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/141015","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\/141015\/revisions"}],"wp:attachment":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=141015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}