{"id":166993,"date":"2013-09-18T18:42:31","date_gmt":"2013-09-18T09:42:31","guid":{"rendered":""},"modified":"2016-07-30T20:31:13","modified_gmt":"2016-07-30T20:31:13","slug":"%e6%8c%87%e5%ae%9a%e3%81%ae%e8%a6%aa%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%81%ab%e5%b1%9e%e3%81%99%e3%82%8b%e5%ad%90%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%81%ae%e8%a8%98%e4%ba%8b%e4%b8%80%e8%a6%a7","status":"closed","type":"topic","link":"https:\/\/ja.wordpress.org\/support\/topic\/%e6%8c%87%e5%ae%9a%e3%81%ae%e8%a6%aa%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%81%ab%e5%b1%9e%e3%81%99%e3%82%8b%e5%ad%90%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%81%ae%e8%a8%98%e4%ba%8b%e4%b8%80%e8%a6%a7\/","title":{"rendered":"\u6307\u5b9a\u306e\u89aa\u30ab\u30c6\u30b4\u30ea\u306b\u5c5e\u3059\u308b\u5b50\u30ab\u30c6\u30b4\u30ea\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u65e5\u4ed8\u9806\u3067\u30bd\u30fc\u30c8\u3057\u305f\u3044"},"content":{"rendered":"<p><strong>\u3010\u72b6\u6cc1\u3011<\/strong><br \/>\n\u25a0\u89aa\u30ab\u30c6\u30b4\u30ea\uff08ID\u306f\uff11\u3068\u3057\u307e\u3059\uff09<br \/>\n\u3000-\u5b50\u30ab\u30c6\u30b4\u30eaA<br \/>\n\u3000-\u5b50\u30ab\u30c6\u30b4\u30eaB<br \/>\n\u3000-\u5b50\u30ab\u30c6\u30b4\u30eaC<\/p>\n<p>\u5b50\u30ab\u30c6\u30b4\u30eaA\uff5eC\u306b\u305d\u308c\u305e\u308c\u3044\u304f\u3064\u304b\u6295\u7a3f\u304c\u3042\u308a\u307e\u3059\u3002\uff08\u89aa\u30ab\u30c6\u30b4\u30ea\u306b\u306f\u6295\u7a3f\u306a\u3057\uff09<\/p>\n<p><strong>\u3010\u5b8c\u6210\u5f62\u3011<\/strong><br \/>\n\u30ea\u30b9\u30c8\u8868\u793a\u3067\u89aa\u30ab\u30c6\u30b4\u30ea\uff08\u306b\u5c5e\u3059\u308b\u5b50\u30ab\u30c6\u30b4\u30ea\u3092\u9078\u629e\u3057\u305f\u6295\u7a3f\uff09\u306e\u5168\u8a18\u4e8b\u4e00\u89a7\u3092\u65e5\u4ed8\u9806\u306b\u8868\u793a\u3057\u305f\u3044<\/p>\n<p>\uff08\u4f8b\uff09<br \/>\n\u30fb1\u67084\u65e5\u3000\u30bf\u30a4\u30c8\u30eb\uff08\u5b50\u30ab\u30c6\u30b4\u30eaB)<br \/>\n\u30fb1\u67083\u65e5\u3000\u30bf\u30a4\u30c8\u30eb\uff08\u5b50\u30ab\u30c6\u30b4\u30eaA\uff09<br \/>\n\u30fb1\u67082\u65e5\u3000\u30bf\u30a4\u30c8\u30eb\uff08\u5b50\u30ab\u30c6\u30b4\u30eaB\uff09<br \/>\n\u30fb1\u67081\u65e5\u3000\u30bf\u30a4\u30c8\u30eb\uff08\u5b50\u30ab\u30c6\u30b4\u30eaC)<\/p>\n<p><strong>\u3010\u73fe\u5728\u306e\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n<pre><code>&lt;?php\n\t$args[&quot;parent&quot;] = 1;\u3000\u2190\u3053\u3053\u3067\u89aa\u30ab\u30c6\u30b4\u30ea\u6307\u5b9a\n\t$cats = get_categories($args);\n foreach ($cats as $cat) {\n $posts = get_posts(&quot;category=&quot;.$cat-&gt;cat_ID.&quot;&amp;order=desc&amp;orderby=date&quot;);\n    foreach ($posts as $post) :\n      setup_postdata($post);\n ?&gt;\n\n&lt;h1&gt;&lt;?php the_date(); ?&gt;&lt;?php the_title(); ?&gt;&lt;?php echo &quot;(&quot;.$cat-&gt;cat_name.&quot;)&quot;; ?&gt;&lt;\/h1&gt;\n &lt;?php endforeach; }?&gt;<\/code><\/pre>\n<p>\u73fe\u5728\u5b50\u30ab\u30c6\u30b4\u30ea\u3054\u3068\u306b\u6295\u7a3f\u304c\u4e26\u3093\u3067\u3057\u307e\u3044\u307e\u3059\u3002<br \/>\n\u5b50\u30ab\u30c6\u30b4\u30ea\u306b\u95a2\u4fc2\u306a\u304f\u6307\u5b9a\u306e\u89aa\u30ab\u30c6\u30b4\u30ea\u95a2\u4fc2\u306e\u6295\u7a3f\u3092\u30b7\u30e3\u30c3\u30d5\u30eb\u3057\u3066\u65e5\u4ed8\u9806\u306b\u30bd\u30fc\u30c8\u3057\u305f\u3044\u3067\u3059\u3002<\/p>\n<p>\u30a2\u30c9\u30d0\u30a4\u30b9\u3092\u9802\u6234\u3067\u304d\u307e\u3057\u305f\u3089\u5e78\u3044\u3067\u3059\u3002<\/p>\n","protected":false},"template":"","class_list":["post-166993","topic","type-topic","status-closed","hentry","topic-tag-21027"],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/166993","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\/166993\/revisions"}],"wp:attachment":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=166993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}