{"id":128462,"date":"2010-07-01T22:07:50","date_gmt":"2010-07-01T13:07:50","guid":{"rendered":""},"modified":"2016-07-30T19:33:13","modified_gmt":"2016-07-30T19:33:13","slug":"%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%83%bc%e3%81%ae%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%a7%e6%8a%95%e7%a8%bf%e4%b8%80%e8%a6%a7%e3%82%92%e3%82%b5%e3%82%a4%e3%83%89%e3%83%90%e3%83%bc%e3%81%ab%e5%85%a8","status":"closed","type":"topic","link":"https:\/\/ja.wordpress.org\/support\/topic\/%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%83%bc%e3%81%ae%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%a7%e6%8a%95%e7%a8%bf%e4%b8%80%e8%a6%a7%e3%82%92%e3%82%b5%e3%82%a4%e3%83%89%e3%83%90%e3%83%bc%e3%81%ab%e5%85%a8\/","title":{"rendered":"\u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u30da\u30fc\u30b8\u3067\u6295\u7a3f\u4e00\u89a7\u3092\u30b5\u30a4\u30c9\u30d0\u30fc\u306b\u5168\u90e8\u8868\u793a\u3055\u305b\u305f\u3044\u3002"},"content":{"rendered":"<p>WordPress3.0\u65e5\u672c\u8a9e\u7248\u3067\u3001\uff11\u30da\u30fc\u30b8\u306e\u8868\u793a\u4ef6\u6570\u3092\uff11\uff10\u306b\u8a2d\u5b9a\u3057\u305f\u3046\u3048\u3067\u3001\u4f8b\u3048\u3070\u958b\u3044\u305f\u8a18\u4e8b\u306e\u30da\u30fc\u30b8\u304cWordPress\u3068\u3044\u3046\u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u5834\u5408\u3001\u305d\u306e\u6295\u7a3f\u4e00\u89a7\u3092\u30b5\u30a4\u30c9\u30d0\u30fc\u306b\u5168\u90e8\u8868\u793a\u3055\u305b\u305f\u3044\u3068\u601d\u3044\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092jQ\u30c6\u30fc\u30de\u306esidebar.php\u306b\u66f8\u304d\u8db3\u3057\u3066\u3044\u307e\u3059\u304c\u3001\uff11\uff12\u4ef6\u3042\u308b\u6295\u7a3f\u304c\uff11\uff10\u4ef6\u3057\u304b\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n<pre><code>&lt;div class=&quot;cate_li&quot;&gt;\n&lt;h4&gt;\u3053\u306e\u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u6295\u7a3f\u4e00\u89a7&lt;\/h4&gt;\n&lt;?php\n$cat = get_the_category(); $cat = $cat[0];\n$cat = $cat-&gt;cat_ID;\n$posts = get_posts(&quot;order=desc&amp;category=$cat&amp;numberposts=&quot;);\n?&gt;\n&lt;?php foreach($posts as $post): ?&gt;\n&lt;li&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/a&gt;&lt;\/li&gt;\n&lt;?php endforeach; ?&gt;\n&lt;\/div&gt;<\/code><\/pre>\n<p>\u3053\u308c\u3092\u5168\u90e8\u8868\u793a\u3055\u305b\u308b\u306b\u306f\u3069\u3046\u3057\u305f\u3089\u3044\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u4ee5\u4e0b\u304csidebar.php\u306e\u5168\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n<pre><code>&lt;?php\n\/* This code retrieves all our admin options. *\/\nglobal $options;\nforeach ($options as $value) {\n\tif (get_settings( $value[&#039;id&#039;] ) === FALSE) { $$value[&#039;id&#039;] = $value[&#039;std&#039;]; } else { $$value[&#039;id&#039;] = get_settings( $value[&#039;id&#039;] ); }\n}\n?&gt;\n\n&lt;div id=&quot;right&quot;&gt;\n&lt;p id=&quot;toggle-all&quot;&gt;&lt;a href=&quot;#&quot; id=&quot;toggle&quot; class=&quot;hide-all&quot;&gt;Toggle&lt;\/a&gt;&lt;\/p&gt;&lt;br \/&gt;&lt;br \/&gt;\n&lt;div class=&quot;cate_li&quot;&gt;\n&lt;h4&gt;\u3053\u306e\u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u6295\u7a3f\u4e00\u89a7&lt;\/h4&gt;\n&lt;?php\n$cat = get_the_category(); $cat = $cat[0];\n$cat = $cat-&gt;cat_ID;\n$posts = get_posts(&quot;order=desc&amp;category=$cat&amp;numberposts=&quot;);\n?&gt;\n&lt;?php foreach($posts as $post): ?&gt;\n&lt;li&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/a&gt;&lt;\/li&gt;\n&lt;?php endforeach; ?&gt;\n&lt;\/div&gt;\n&lt;div class=&quot;clearfix&quot;&gt;&lt;\/div&gt;\n&lt;!-- widget --&gt;\n&lt;?php if ( !function_exists(&#039;dynamic_sidebar&#039;) || !dynamic_sidebar(&#039;sidebar_right&#039;) ) : ?&gt;\n&lt;div class=&quot;widget&quot;&gt;\n&lt;h4&gt;&lt;a href=&quot;#&quot; title=&quot;Toggle&quot; class=&quot;hide_widget&quot;&gt;Categories&lt;\/a&gt;&lt;\/h4&gt;\n&lt;ul&gt;\n&lt;?php wp_list_categories(&#039;title_li=0&amp;categorize=0&#039;); ?&gt;\n&lt;\/ul&gt;\n&lt;\/div&gt;\n&lt;div class=&quot;widget&quot;&gt;\n&lt;h4&gt;&lt;a href=&quot;#&quot; title=&quot;Toggle&quot; class=&quot;hide_widget&quot;&gt;Blogroll&lt;\/a&gt;&lt;\/h4&gt;\n&lt;ul&gt;\n&lt;?php wp_list_bookmarks(&#039;title_li=0&amp;categorize=0&#039;); ?&gt;\n&lt;\/ul&gt;\n&lt;\/div&gt;\n&lt;div class=&quot;widget&quot;&gt;\n&lt;h4&gt;&lt;a href=&quot;#&quot; title=&quot;Toggle&quot; class=&quot;hide_widget&quot;&gt;Meta&lt;\/a&gt;&lt;\/h4&gt;\n&lt;ul&gt;\n&lt;?php wp_register(); ?&gt;\n&lt;li&gt;&lt;?php wp_loginout(); ?&gt;&lt;\/li&gt;\n&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo(&#039;rss2_url&#039;); ?&gt;&quot; title=&quot;&lt;?php _e(&#039;Syndicate this site using RSS&#039;); ?&gt;&quot;&gt;&lt;?php _e(&#039;&lt;abbr title=&quot;Really Simple Syndication&quot;&gt;RSS&lt;\/abbr&gt;&#039;); ?&gt;&lt;\/a&gt;&lt;\/li&gt;\n&lt;li&gt;&lt;a href=&quot;&lt;?php bloginfo(&#039;comments_rss2_url&#039;); ?&gt;&quot; title=&quot;&lt;?php _e(&#039;The latest comments to all posts in RSS&#039;); ?&gt;&quot;&gt;&lt;?php _e(&#039;Comments &lt;abbr title=&quot;Really Simple Syndication&quot;&gt;RSS&lt;\/abbr&gt;&#039;); ?&gt;&lt;\/a&gt;&lt;\/li&gt;\n&lt;?php wp_meta(); ?&gt;\n&lt;\/ul&gt;\n&lt;\/div&gt;\n&lt;?php endif; \/\/ endif widget ?&gt;\n&lt;div class=&quot;flickr&quot;&gt;&lt;!-- \u8ffd\u52a0 flickr feeder --&gt;\n&lt;p&gt;Flickr tag:sky&lt;\/p&gt;\n&lt;?php echo gluedideas_FlickrFeeder::displayFeed(); ?&gt;\n&lt;\/div&gt;\n&lt;\/div&gt;<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-128462","topic","type-topic","status-closed","hentry","topic-tag-category","topic-tag-16548"],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/128462","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/128462\/revisions"}],"wp:attachment":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=128462"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}