{"id":13723,"date":"2010-02-14T22:30:08","date_gmt":"2010-02-14T22:30:08","guid":{"rendered":"https:\/\/ru.wordpress.org\/support\/2010\/02\/14\/%d0%b2%d1%8b%d0%b2%d0%be%d0%b4-php-%d0%ba%d0%be%d0%b4%d0%b0-%d0%bd%d0%b0-%d0%be%d0%bf%d1%80%d0%b5%d0%b4%d0%b5%d0%bb%d0%b5%d0%bd%d0%bd%d1%8b%d1%85-%d1%81%d1%82%d1%80%d0%b0%d0%bd%d0%b8%d1%86%d0%b0%d1%85\/"},"modified":"2010-02-14T22:30:08","modified_gmt":"2010-02-14T22:30:08","slug":"%d0%b2%d1%8b%d0%b2%d0%be%d0%b4-php-%d0%ba%d0%be%d0%b4%d0%b0-%d0%bd%d0%b0-%d0%be%d0%bf%d1%80%d0%b5%d0%b4%d0%b5%d0%bb%d0%b5%d0%bd%d0%bd%d1%8b%d1%85-%d1%81%d1%82%d1%80%d0%b0%d0%bd%d0%b8%d1%86%d0%b0%d1%85","status":"closed","type":"topic","link":"https:\/\/ru.wordpress.org\/support\/topic\/%d0%b2%d1%8b%d0%b2%d0%be%d0%b4-php-%d0%ba%d0%be%d0%b4%d0%b0-%d0%bd%d0%b0-%d0%be%d0%bf%d1%80%d0%b5%d0%b4%d0%b5%d0%bb%d0%b5%d0%bd%d0%bd%d1%8b%d1%85-%d1%81%d1%82%d1%80%d0%b0%d0%bd%d0%b8%d1%86%d0%b0%d1%85\/","title":{"rendered":"\u0432\u044b\u0432\u043e\u0434 php \u043a\u043e\u0434\u0430 \u043d\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445"},"content":{"rendered":"<p>\u0417\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439\u0442\u0435 \u043a\u043e\u043b\u043b\u0435\u0433\u0438!<br \/>\n\u041f\u043e\u0434\u0441\u043a\u0430\u0436\u0438\u0442\u0435 \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u043a\u0430\u043a \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u043a\u0443\u0441\u043e\u043a \u043a\u043e\u0434\u0430 \u043f\u0440\u0438 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u0438\u043b\u0438 \u0437\u0430\u043f\u0438\u0441\u0435\u0439.<\/p>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043b\u0430\u0433\u0438\u043d advertising-manager \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0440\u0435\u043a\u043b\u0430\u043c\u044b google adsense \u0441\u043e\u0437\u0434\u0430\u043b \u0432 \u043d\u0435\u043c \u0431\u043b\u043e\u043a &#171;Google_Ads_sidebar&#187;<br \/>\n\u0432\u044b\u0432\u043e\u0436\u0443 \u044d\u0442\u043e\u0442 \u0431\u043b\u043e\u043a \u0432 sidebar.php \u043a\u043e\u0434\u043e\u043c &lt;?php advman_ad(Google_Ads_sidebar); ?&gt; \u0441\u0434\u0435\u043b\u0430\u043b \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0447\u0442\u043e\u0431 \u043e\u043d \u0432\u044b\u0432\u043e\u0434\u0438\u043b\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u0439, \u0445\u043e\u0447\u0443 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u044b\u0432\u043e\u0434 \u0432 sidebar-e \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u043f\u0440\u0438 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u0431\u0435\u0437 \u0440\u0443\u0431\u0440\u0438\u043a\u0438 (\u0437\u0430\u043f\u0438\u0441\u044c \u0443 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u0430 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0430 &#171;http:\/\/xxx.ru\/about&#187; post.php?action=edit&amp;post=14), \u043a\u0430\u043a \u044d\u0442\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c? <\/p>\n<p>\u043b\u0438\u0441\u0442\u0438\u043d\u0433 sidebar.php<\/p>\n<pre><code>&lt;div id=&quot;sidebar&quot;&gt;\n\t\t&lt;ul&gt;\n&lt;?php if ( function_exists(&#39;dynamic_sidebar&#39;) &amp;&amp; dynamic_sidebar() ) : else : ?&gt;\n\t\t\t&lt;?php if ( is_home() || is_page() || is_single () ) { ?&gt;\n\t\t\t\t&lt;?php wp_list_pages(&#39;title_li=&lt;h2&gt;\u041d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f&lt;\/h2&gt;&#39; ); ?&gt;\n\t\t\t\t&lt;?php wp_list_bookmarks(); ?&gt;\n&lt;?php if ( is_home() ) { ?&gt;\n\t\t\t\t&lt;li&gt;&lt;h2&gt;\u0420\u0435\u043a\u043b\u0430\u043c\u0430&lt;\/h2&gt;\n\t\t\t\t&lt;ul&gt;\n\t\t\t\t&lt;li&gt;&lt;?php advman_ad(Google_Ads_sidebar); ?&gt;&lt;\/li&gt;\n\t\t\t\t&lt;\/ul&gt;\n\t\t\t\t&lt;\/li&gt;\n\t\t\t&lt;?php } ?&gt;\n\t\t\t\t&lt;li&gt;&lt;h2&gt;\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f&lt;\/h2&gt;\n\t\t\t\t&lt;ul&gt;\n\t\t\t\t\t&lt;?php wp_register(); ?&gt;\n\t\t\t\t\t&lt;li&gt;&lt;?php wp_loginout(); ?&gt;&lt;\/li&gt;\n\n\t\t\t\t\t&lt;?php wp_meta(); ?&gt;\n\t\t\t\t&lt;\/ul&gt;\n\t\t\t\t&lt;\/li&gt;\n\t\t\t&lt;?php } ?&gt;\n&lt;?php endif; ?&gt;\n\t\t&lt;\/ul&gt;\n\t\t&lt;? $sg = &#39;banner&#39;; include &quot;templates.php&quot;;?&gt;\n\t&lt;\/div&gt;<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-13723","topic","type-topic","status-closed","hentry","topic-tag-adsense","topic-tag--php-","topic-tag----sidebar","topic-tag-1598","topic-tag-1596","topic-tag-1597","topic-tag---php"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13723","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\/13723\/revisions"}],"wp:attachment":[{"href":"https:\/\/ru.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=13723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}