{"id":43841,"date":"2011-06-26T16:44:00","date_gmt":"2011-06-26T16:44:00","guid":{"rendered":"https:\/\/ru.wordpress.org\/support\/2011\/06\/26\/%d0%9f%d0%bb%d0%b0%d0%b3%d0%b8%d0%bd-post-views-%d0%b8-%d0%bc%d0%bd%d0%be%d0%b3%d0%be%d1%83%d1%80%d0%be%d0%b2%d0%bd%d0%b5%d0%b2%d1%8b%d0%b9-%d0%bc%d0%b0%d1%81%d1%81%d0%b8%d0%b2\/"},"modified":"2011-06-26T16:44:00","modified_gmt":"2011-06-26T16:44:00","slug":"%d0%9f%d0%bb%d0%b0%d0%b3%d0%b8%d0%bd-post-views-%d0%b8-%d0%bc%d0%bd%d0%be%d0%b3%d0%be%d1%83%d1%80%d0%be%d0%b2%d0%bd%d0%b5%d0%b2%d1%8b%d0%b9-%d0%bc%d0%b0%d1%81%d1%81%d0%b8%d0%b2","status":"closed","type":"topic","link":"https:\/\/ru.wordpress.org\/support\/topic\/%d0%9f%d0%bb%d0%b0%d0%b3%d0%b8%d0%bd-post-views-%d0%b8-%d0%bc%d0%bd%d0%be%d0%b3%d0%be%d1%83%d1%80%d0%be%d0%b2%d0%bd%d0%b5%d0%b2%d1%8b%d0%b9-%d0%bc%d0%b0%d1%81%d1%81%d0%b8%d0%b2\/","title":{"rendered":"\u041f\u043b\u0430\u0433\u0438\u043d Post Views \u0438 \u043c\u043d\u043e\u0433\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432"},"content":{"rendered":"<p>\u0423 \u043c\u0435\u043d\u044f \u0442\u0430\u043a\u0430\u044f \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f: \u0435\u0441\u0442\u044c \u0442\u0435\u043c\u0430 \u043d\u0430 \u0412\u041f. \u0412 \u043d\u0435\u0439 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0435\u0441\u0442\u044c \u0432\u044b\u0432\u043e\u0434 \u0432 \u0446\u0438\u043a\u043b\u0435 \u0432\u0441\u0435\u0445 \u0437\u0430\u043c\u0435\u0442\u043e\u043a \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435. \u0422\u0435\u043f\u0435\u0440\u044c \u0444\u0438\u0448\u043a\u0430, \u0435\u0441\u043b\u0438 \u0440\u0430\u043d\u044c\u0448\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0444\u0430\u0439\u043b\u044b index.php, single.php, page.php, post.php \u0438 \u0442.\u0434. \u0442\u0435\u043c\u044b \u0438 \u043d\u0430\u0439\u0442\u0438 \u043a\u043e\u0434 <code>&lt;?php while (have_posts()) : the_post(); ?&gt;<\/code> \u0438 \u043f\u043e\u0441\u043b\u0435 \u043d\u0435\u0433\u043e \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c <code>&lt;?php if(function_exists(&#039;the_views&#039;)) {the_views();} ?&gt;<\/code> \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u043e\u0432 \u043f\u043e\u0441\u0442\u0430, \u0442\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u0437\u0430\u0434\u0430\u0447\u0430 \u0443\u0441\u043b\u043e\u0436\u043d\u0438\u043b\u0430\u0441\u044c, \u043f\u043e \u043a\u0440\u0430\u0439\u043d\u0435\u0439 \u043c\u0435\u0440\u0435 \u0443 \u043c\u0435\u043d\u044f.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0441\u0442\u044b \u0432\u044b\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u0438 \u043e\u0444\u043e\u0440\u043c\u043b\u044f\u044e\u0442\u0441\u044f \u0432\u043e\u0442 \u0442\u0430\u043a\u0438\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c:<\/p>\n<pre><code>&lt;div class=&quot;art-layout-cell art-content&quot;&gt;\n   &lt;?php\n   get_sidebar(&#039;top&#039;);\n   global $post;\n     if (have_posts()){\n       while (have_posts()){\n         the_post();\n         art_post_wrapper(\n           array(\n\t\t   &#039;id&#039; =&gt; art_get_post_id(),\n                   &#039;class&#039; =&gt; art_get_post_class(),\n                   &#039;thumbnail&#039; =&gt; art_get_post_thumbnail(),\n                   &#039;title&#039; =&gt; &#039;&lt;a href=&quot;&#039;.get_permalink($post-&gt;ID).&#039;&quot; rel=&quot;bookmark&quot; title=&quot;&#039;.get_the_title().&#039;&quot;&gt;&#039;.get_the_title().&#039;&lt;\/a&gt;&#039;,\n                   &#039;before&#039; =&gt; art_get_metadata_icons(&#039;date,author&#039;, &#039;header&#039;),\n                   &#039;content&#039; =&gt; art_get_excerpt(), \/\/ &#039;content&#039; =&gt; &#039;My post content&#039;,\n                   &#039;after&#039; =&gt; art_get_metadata_icons(&#039;category,tag&#039;, &#039;footer&#039;)\n\t\t)\n             );\n          }\nart_pagination(); \/\/ previous_posts_link | next_posts_link\n     }\n     else {\n       art_post_wrapper(\n         array(\n                 &#039;title&#039; =&gt; __(&#039;Not Found&#039;, THEME_NS),\n\t\t &#039;content&#039; =&gt; &#039;&lt;p class=&quot;center&quot;&gt;&#039;\n\t\t .__( &#039;Apologies, but the page you requested could not be found. Perhaps searching will help.&#039;, THEME_NS)\n\t\t . &#039;&lt;\/p&gt;&#039; . &quot;\\r\\n&quot; . art_get_search()\n\t\t)\n\t      );\n      }\nget_sidebar(&#039;bottom&#039;); ?&gt;\n &lt;div class=&quot;cleared&quot;&gt;&lt;\/div&gt;\n&lt;\/div&gt;<\/code><\/pre>\n<p>\u0421\u0442\u0440\u043e\u043a\u0430 <code>&#039;before&#039; =&gt; art_get_metadata_icons(&#039;date,author&#039;, &#039;header&#039;),<\/code> \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043a\u0430\u043a \u0440\u0430\u0437 \u0442\u043e \u043c\u0435\u0441\u0442\u043e, \u043a\u0443\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c PostViews \u043a\u043e\u0434. \u041d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044f \u044d\u0442\u043e \u043d\u0435 \u043c\u043e\u0433\u0443 \u043f\u043e \u043c\u043d\u043e\u0433\u0438\u043c \u0441\u043e\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u043c. \u041f\u043e\u0434\u0441\u043a\u0430\u0436\u0438\u0442\u0435 \u043a\u0430\u043a \u043c\u043d\u0435 \u0432\u043e\u0442\u043a\u043d\u0443\u0442\u044c \u0432 \u044d\u0442\u043e\u0442 \u043c\u0430\u0441\u0441\u0438\u0432 \u043a\u043e\u0434? \u042f \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u0435\u0433\u043e \u0440\u0430\u0437\u0431\u0438\u0432\u0430\u0442\u044c. \u0420\u0430\u0437\u0431\u0438\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c, \u043d\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0435. \u0415\u0441\u043b\u0438 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432 \u043c\u0430\u0441\u0441\u0438\u0432 \u043f\u043e\u0441\u043b\u0435 \u0434\u0430\u0442\u044b (date) \u0438\u043b\u0438 \u0430\u0432\u0442\u043e\u0440\u0430 (author), \u0442\u043e \u0432\u0435\u0441\u044c \u0432\u0435\u0440\u0445\u043d\u0438\u0439 \u043a\u043e\u043b\u043e\u043d\u0442\u0438\u0442\u0443\u043b \u043a\u0440\u043e\u043c\u0435 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430 \u0438\u0441\u0447\u0435\u0437\u0430\u0435\u0442! \u0427\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c?<\/p>\n","protected":false},"template":"","class_list":["post-43841","topic","type-topic","status-closed","hentry","topic-tag-3837","topic-tag-postviews"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/43841","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\/43841\/revisions"}],"wp:attachment":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=43841"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}