{"id":126743,"date":"2010-05-06T17:03:03","date_gmt":"2010-05-06T08:03:03","guid":{"rendered":"https:\/\/ja.wordpress.org\/support\/2010\/05\/06\/%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%83%bc%e5%90%8d%ef%bc%86%e8%a8%98%e4%ba%8b%e3%82%bf%e3%82%a4%e3%83%88%e3%83%ab%e3%81%ae%e4%b8%80%e8%a6%a7\/"},"modified":"2010-05-06T17:03:03","modified_gmt":"2010-05-06T08:03:03","slug":"%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%83%bc%e5%90%8d%ef%bc%86%e8%a8%98%e4%ba%8b%e3%82%bf%e3%82%a4%e3%83%88%e3%83%ab%e3%81%ae%e4%b8%80%e8%a6%a7","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%e5%90%8d%ef%bc%86%e8%a8%98%e4%ba%8b%e3%82%bf%e3%82%a4%e3%83%88%e3%83%ab%e3%81%ae%e4%b8%80%e8%a6%a7\/","title":{"rendered":"\u30ab\u30c6\u30b4\u30ea\u30fc\u540d\uff06\u8a18\u4e8b\u30bf\u30a4\u30c8\u30eb\u306e\u4e00\u89a7"},"content":{"rendered":"<p>index.php\u306b\u3001\u30ab\u30c6\u30b4\u30ea\u30fc\u5225\u306e\u30ea\u30f3\u30af\u4ed8\u304d\u8a18\u4e8b\u4e00\u89a7\u3092\u8868\u793a\u3057\u305f\u3044\u306e\u3067\u3059\u304c\u3001<br \/>\n\u3069\u3046\u3082\u3046\u307e\u304f\u3044\u304d\u307e\u305b\u3093\u3002<\/p>\n<blockquote>\n<p>\u30ab\u30c6\u30b4\u30ea\u30fc\uff11\u30ea\u30f3\u30af<br \/>\n\u3000\uff0a\u8a18\u4e8b\uff11\u2212\uff11\u30ea\u30f3\u30af<br \/>\n\u3000\uff0a\u8a18\u4e8b\uff11\u2212\uff12\u30ea\u30f3\u30af\u3000<br \/>\n\u3000\uff0a\u8a18\u4e8b\uff11\u2212\uff13\u30ea\u30f3\u30af<\/p>\n<p>\u30ab\u30c6\u30b4\u30ea\u30fc\uff12\u30ea\u30f3\u30af<br \/>\n\u3000\uff0a\u8a18\u4e8b\uff12\u2212\uff11\u30ea\u30f3\u30af\u3000<br \/>\n\u3000\uff0a\u8a18\u4e8b\uff12\u2212\uff12\u30ea\u30f3\u30af\u3000<br \/>\n\u3000\uff0a\u8a18\u4e8b\uff12\u2212\uff13\u30ea\u30f3\u30af<\/p>\n<\/blockquote>\n<p>\u3068\u3044\u3046\u3075\u3046\u306b\u8868\u793a\u3057\u305f\u3044\u306e\u3067\u3059\u304c\u3001\u73fe\u5728\u3001<\/p>\n<blockquote>\n<p>\u30ab\u30c6\u30b4\u30ea\u30fc\uff11\u30ea\u30f3\u30af<br \/>\n\u3000\uff0a\u8a18\u4e8b\uff11\u2212\uff11\u30ea\u30f3\u30af\u3000<br \/>\n\u3000\uff0a\u8a18\u4e8b\uff11\u2212\uff12\u30ea\u30f3\u30af\u3000<br \/>\n\u3000\uff0a\u8a18\u4e8b\uff11\u2212\uff13\u30ea\u30f3\u30af\u3000<br \/>\n\u3000\uff0a\u8a18\u4e8b\uff12\u2212\uff11\u30ea\u30f3\u30af\u3000<br \/>\n\u3000\uff0a\u8a18\u4e8b\uff12\u2212\uff12\u30ea\u30f3\u30af\u3000<br \/>\n\u3000\uff0a\u8a18\u4e8b\uff12\u2212\uff13\u30ea\u30f3\u30af<\/p>\n<p>\u30ab\u30c6\u30b4\u30ea\u30fc\uff12\u30ea\u30f3\u30af<br \/>\n\u3000\uff0a\u8a18\u4e8b\uff11\u2212\uff11\u30ea\u30f3\u30af\u3000<br \/>\n\u3000\uff0a\u8a18\u4e8b\uff11\u2212\uff12\u30ea\u30f3\u30af\u3000<br \/>\n\u3000\uff0a\u8a18\u4e8b\uff11\u2212\uff13\u30ea\u30f3\u30af\u3000<br \/>\n\u3000\uff0a\u8a18\u4e8b\uff12\u2212\uff11\u30ea\u30f3\u30af\u3000<br \/>\n\u3000\uff0a\u8a18\u4e8b\uff12\u2212\uff12\u30ea\u30f3\u30af\u3000<br \/>\n\u3000\uff0a\u8a18\u4e8b\uff12\u2212\uff13\u30ea\u30f3\u30af<\/p>\n<\/blockquote>\n<p>\u3068\u3001\u5404\u30ab\u30c6\u30b4\u30ea\u30fc\u4e0b\u306b\u3059\u3079\u3066\u306e\u8a18\u4e8b\u304c\u8868\u793a\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<pre><code>&lt;?php $args=array(&#39;orderby&#39; =&gt; &#39;name&#39;, &#39;order&#39; =&gt; &#39;ASC&#39; );$categories=get_categories($args);echo &#39;&lt;ul&gt;&#39;;foreach($categories as $category) {echo &#39;&lt;li&gt;&lt;a href=&quot;&#39; . get_category_link( $category-&gt;term_id ) . &#39;&quot; title=&quot;&#39; . sprintf( __( &quot;View all posts in %s&quot; ), $category-&gt;name ) . &#39;&quot;&#39; . &#39;&gt;&#39; . $category-&gt;name.&#39;&lt;\/a&gt;&#39;; ?&gt;\n&lt;ul&gt;\n&lt;?php global $post;$myposts = get_posts(&#39;numberposts=100&amp;category=1,3,5,7,9&#39;);foreach($myposts as $post) : setup_postdata($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;\/ul&gt;\n&lt;\/li&gt;\n&lt;?php } echo &#39;&lt;\/ul&gt;&#39;; ?&gt;<\/code><\/pre>\n<p>\u624b\u306f\u52a0\u3048\u3066\u307f\u305f\u306e\u3067\u3059\u304c\u3001\u884c\u304d\u8a70\u307e\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<br \/>\n\u30a2\u30c9\u30d0\u30a4\u30b9\u3092\u3044\u305f\u3060\u3051\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u73fe\u72b6\u306f\u3001wordpress\u3092\u4f7f\u3046\u610f\u5473\u304c\u306a\u3044\u304b\u3082\u3001\u3068\u601d\u3044\u306a\u304c\u3089\u3001<br \/>\nhtml\u3092\u3059\u3079\u3066\u624b\u66f8\u304d\u3067\u66f8\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"template":"","class_list":["post-126743","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/126743","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\/126743\/revisions"}],"wp:attachment":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=126743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}