{"id":178765,"date":"2014-07-01T16:35:31","date_gmt":"2014-07-01T07:35:31","guid":{"rendered":"https:\/\/ja.wordpress.org\/support\/2014\/07\/01\/%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%83%bc%e3%83%9a%e3%83%bc%e3%82%b8\/"},"modified":"2014-07-01T16:35:31","modified_gmt":"2014-07-01T07:35:31","slug":"%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%83%bc%e3%83%9a%e3%83%bc%e3%82%b8","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%83%9a%e3%83%bc%e3%82%b8\/","title":{"rendered":"\u30ab\u30c6\u30b4\u30ea\u30fc\u30da\u30fc\u30b8"},"content":{"rendered":"<p>\u30ab\u30c6\u30b4\u30ea\u30fccategory.php\u306e\u30c7\u30b6\u30a4\u30f3\u3092\u5909\u66f4\u3057\u305f\u304f\u3001<br \/>\n\u7279\u5b9a\u306e\u30ab\u30c6\u30b4\u30ea\u30fc\u3092category(A)php\u3067\u4e0b\u8a18\u3067\u8a2d\u5b9a\u3057\u305f\u306e\u3067\u3059\u304c\u3001<br \/>\nA,B\u3068\u9055\u3046\u30ab\u30c6\u30b4\u30ea\u30fc\u3067\u3082\u30ab\u30c6\u30b4\u30ea\u30fc\u304c\u5206\u304b\u308c\u3066\u8868\u793a\u3057\u3066\u304f\u308c\u307e\u305b\u3093\u2026\u3002<br \/>\n\u3069\u3046\u3057\u305f\u3089\u3044\u3044\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p>\u2605category.php\u306b\u306f\u4e0b\u8a18\u8a18\u8ff0\u2605<br \/>\n&lt;?php<br \/>\nif ( in_category(&#8216;A&#8217;) ) {<br \/>\n\tinclude(TEMPLATEPATH . &#8216;\/category-A.php&#8217;);<br \/>\n} else if ( in_category(&#8216;B&#8217;) ) {<br \/>\n\tinclude(TEMPLATEPATH . &#8216;\/category-B.php&#8217;);<br \/>\n} else {<br \/>\n\tinclude(TEMPLATEPATH . &#8216;\/category.php&#8217;);<br \/>\n}<br \/>\n ?&gt;<\/p>\n<p>\u2605category-A.php\u306b\u8a18\u8ff0\u2605<br \/>\nget_header(); ?&gt;<\/p>\n<p>&lt;div class=&#8221;container newsWrapper&#8221;&gt;<\/p>\n<p>\t&lt;?php if (have_posts()) : ?&gt;<br \/>\n&lt;div id=&#8221;post-area&#8221;&gt;<\/p>\n<p>&lt;?php query_posts(&#8216;showposts=20&#8217;); ?&gt;<br \/>\n&lt;?php if(have_posts()): while(have_posts()): the_post();?&gt;<\/p>\n<p>&lt;?php endwhile; endif; ?&gt;<br \/>\n&lt;?php while (have_posts()) : the_post(); ?&gt;<\/p>\n<p>   \t\t&lt;div id=&#8221;post-&lt;?php the_ID(); ?&gt;&#8221; &lt;?php post_class(); ?&gt;&gt;<br \/>\n\t\t &lt;?php if ( has_post_thumbnail() ) { ?&gt;<br \/>\n         &lt;div class=&#8221;pinbin-image&#8221;&gt;<a>&#8220;&gt;&lt;?php the_post_thumbnail( &#8216;summary-image&#8217; );  ?&gt;<\/a>&lt;\/div&gt;<br \/>\n          &lt;div class=&#8221;pinbin-category&#8221;&gt;&lt;p&gt;&lt;?php the_category(&#8216;, &#8216;) ?&gt;&lt;\/p&gt;&lt;\/div&gt;<\/p>\n<p>\t\t  &lt;?php } ?&gt;<br \/>\n       \t\t\t&lt;div class=&#8221;pinbin-copy&#8221;&gt;&lt;h2&gt;<a>&#8220;&gt;&lt;?php the_title(); ?&gt;<\/a>&lt;\/h2&gt;<br \/>\n                &lt;p class=&#8221;pinbin-date&#8221;&gt;&lt;?php the_time(get_option(&#8216;date_format&#8217;)); ?&gt;  &lt;\/p&gt;<\/p>\n<p>                  &lt;?php the_excerpt(); ?&gt; <\/p>\n<p>               &lt;p class=&#8221;pinbin-link&#8221;&gt;<a>&#8220;&gt;&rarr;<\/a>&lt;\/p&gt;<br \/>\n         &lt;\/div&gt;<br \/>\n       &lt;\/div&gt;<\/p>\n<p>&lt;?php endwhile; ?&gt;<br \/>\n&lt;\/div&gt;<br \/>\n&lt;?php else : ?&gt;<\/p>\n<p>&lt;article id=&#8221;post-0&#8243; class=&#8221;post no-results not-found&#8221;&gt;<br \/>\n        &lt;header class=&#8221;entry-header&#8221;&gt;<br \/>\n          &lt;h1 class=&#8221;entry-title&#8221;&gt;&lt;?php _e( &#8216;Nothing Found&#8217;, &#8216;pinbin&#8217; ); ?&gt;&lt;\/h1&gt;<br \/>\n        &lt;\/header&gt;&lt;!&#8211; .entry-header &#8211;&gt;<\/p>\n<p>        &lt;div class=&#8221;entry-content&#8221;&gt;<br \/>\n          &lt;p&gt;&lt;?php _e( &#8216;Sorry, but nothing matched your search terms. Please try again with some different keywords.&#8217;, &#8216;pinbin&#8217; ); ?&gt;&lt;\/p&gt;<br \/>\n          &lt;?php get_search_form(); ?&gt;<br \/>\n        &lt;\/div&gt;&lt;!&#8211; .entry-content &#8211;&gt;<br \/>\n&lt;\/article&gt;&lt;!&#8211; #post-0 &#8211;&gt;<\/p>\n<p>&lt;?php endif; ?&gt;<\/p>\n<p>&lt;?php if (function_exists(&#8220;pagination&#8221;)) {<br \/>\n    pagination($additional_loop-&gt;max_num_pages);<br \/>\n} ?&gt;<\/p>\n<p>&lt;\/div&gt;<\/p>\n<p>&lt;?php get_footer(); ?&gt;<\/p>\n","protected":false},"template":"","class_list":["post-178765","topic","type-topic","status-closed","hentry","topic-tag-14078","topic-tag-14217","topic-tag-15018"],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/178765","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\/178765\/revisions"}],"wp:attachment":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=178765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}