{"id":490,"date":"2016-09-23T13:49:00","date_gmt":"2016-09-23T04:49:00","guid":{"rendered":"http:\/\/kuuur.net\/?p=490"},"modified":"2017-01-31T10:28:41","modified_gmt":"2017-01-31T01:28:41","slug":"custom-posttype","status":"publish","type":"post","link":"https:\/\/kuuur.net\/?p=490","title":{"rendered":"WordPress\u306e\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3068\u306f"},"content":{"rendered":"<p>WordPress\u306b\u304a\u3044\u3066\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u6295\u7a3f\u30bf\u30a4\u30d7\u306b\u306f\u3001\u7d30\u304b\u304f\u5206\u3051\u308b\u30685\u3064\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u6295\u7a3f\uff08post\uff09<\/li>\n<li>\u56fa\u5b9a\u30da\u30fc\u30b8\uff08page\uff09<\/li>\n<li>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\uff08attachment\uff09<\/li>\n<li>\u30ea\u30d3\u30b8\u30e7\u30f3\uff08revision\uff09<\/li>\n<\/ul>\n<p>\u3053\u306e\u3046\u3061\u3001\u610f\u8b58\u7684\u306b\u4f7f\u3046\u3082\u306e\u304c\u6295\u7a3f\uff08post\uff09\u30bf\u30a4\u30d7\u3068\u56fa\u5b9a\u30da\u30fc\u30b8\uff08page\uff09\u30bf\u30a4\u30d7\u306e2\u3064\u3067\u3059\u3002<br \/>\n\u3053\u308c\u30895\u3064\u306e\u307b\u304b\u306b\u3001\u81ea\u5206\u3067\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u308c\u3092\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3068\u3044\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u5f79\u5272<\/h2>\n<p>\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u5229\u7528\u3059\u308b\u610f\u7fa9\u306f\u3001\u6295\u7a3f\u30bf\u30a4\u30d7\u3068\u56fa\u5b9a\u30da\u30fc\u30b8\u30bf\u30a4\u30d7\u306e\u307b\u304b\u306b\u3001\u5225\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u3064\u304f\u308b\u3053\u3068\u3067\u3001\u305d\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u307f\u3092\u8aad\u307f\u8fbc\u307e\u305b\u3066\u8868\u793a\u3055\u305b\u308b\u3068\u3044\u3063\u305f\u4f7f\u3044\u65b9\u3067\u304d\u308b\u3068\u3053\u308d\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u8a18\u4e8b\u6295\u7a3f\u30da\u30fc\u30b8\u306b\u3042\u3089\u304b\u3058\u3081\u5b9a\u578b\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u53cd\u6620\u3055\u305b\u305f\u3044\u969b\u306b\u3082\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u305d\u308c\u306a\u3089\u3070\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u30d7\u30e9\u30b0\u30a4\u30f3\u7b49\u3067\u5c0e\u5165\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u540d\u304c\u300cinfomation\u300d\u306b\u3057\u3066\u3001\u300c\u6700\u65b0\u306e\u60c5\u5831\u3092\u8f09\u305b\u308b\u6295\u7a3f\u30da\u30fc\u30b8\u3067\u3042\u308b\u300d\u3068\u3044\u3046\u98a8\u306b\u6c7a\u3081\u305f\u3068\u3057\u307e\u3059\u3002<br \/>\n\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3084\u30b5\u30a4\u30c9\u30e1\u30cb\u30e5\u30fc\u3067\u300c\u65b0\u7740\u60c5\u5831\u300d\u3068\u3044\u3046\u9805\u76ee\u3092\u4f5c\u308a\u3001\u305d\u3053\u306b<\/p>\n<p class=\"source\">&lt;?php if(have_posts()) : query_posts(&#8216;post_type=information&#8217;); ?&gt;<br \/>\n&lt;?php while (have_posts()) : the_post(); ?&gt;<br \/>\n&lt;p&gt;&lt;?php echo get_post_meta($post-&gt;ID, &#8216;date&#8217; ,true);<br \/>\n&lt;?php endwhile; ?&gt;<br \/>\n&lt;?php else : ?&gt;<\/p>\n<p>&lt;?php endif; ?&gt;<\/p>\n<p>\u306e\u3088\u3046\u306b\u66f8\u3051\u3070\u3001\u305d\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u4f5c\u308b<\/h2>\n<p>\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u4f5c\u308b\u306b\u306f\u3001function.php\u306b\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p class=\"source\">add_action(&#8216;init&#8217;, &#8216;custom_posttype&#8217;);<br \/>\nfunction custom_posttype(){<br \/>\nregister_post_type(&#8216;information&#8217;,<br \/>\narray(<br \/>\n&#8216;labels&#8217; =&gt; array(<br \/>\n&#8216;name&#8217; =&gt; &#8216;infomations&#8217;,<br \/>\n&#8216;singlar_name&#8217; =&gt; &#8216;infomation&#8217;,<br \/>\n&#8216;menu_name&#8217; =&gt; &#8216;\u60c5\u5831&#8217;<br \/>\n),<br \/>\n&#8216;public&#8217; =&gt; true,<br \/>\n&#8216;query_var&#8217; =&gt; true,<br \/>\n&#8216;rewrite&#8217; -&gt; true,<br \/>\n&#8216;capability_type&#8217; =&gt; &#8216;post&#8217;,<br \/>\n&#8216;hierarchical&#8217; =&gt; false,<br \/>\n&#8216;menu_position&#8217; =&gt;5,<br \/>\n&#8216;supports&#8217; =&gt; array(&#8216;title&#8217;, &#8216;editor&#8217;)<br \/>\n);<br \/>\n}<\/p>\n<p>3\u884c\u76ee\u300cregister_post_type(&#8216;information&#8217;,\u300d\u306f\u3001\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u5b9a\u7fa9\u306b\u306a\u308a\u307e\u3059\u3002\u4e0a\u8a18\u3067\u3044\u3046\u3068\u3053\u308d\u306e\u3001\u300cpost\u300d\u300cpage\u300d\u300cattachment\u300d\u306a\u3069\u3068\u540c\u3058\u610f\u5473\u5408\u3044\u3067\u3059\u3002<br \/>\nregister_post_type()\u306fWordPress\u306e\u95a2\u6570\u3067\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/p>\n<h3>4\u884c\u76ee\u306earray\u5185\u306elabels\u306e\u8981\u7d20<\/h3>\n<p>4\u884c\u76ee\u306earray\u306e\u4e2d\u3067\u8a2d\u5b9a\u3067\u304d\u308blabels\u306f\u3001\u69d8\u3005\u306a\u8868\u793a\u540d\u79f0\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002labels\u306b\u306f\u4ee5\u4e0b\u306e\u8981\u7d20\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<table>\n<tbody>\n<tr>\n<td>add_new<\/td>\n<td>\u00a0\u300c\u65b0\u898f\u8ffd\u52a0\u300d\u30dc\u30bf\u30f3\u306e\u540d\u79f0\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u300c\u65b0\u898f\u8ffd\u52a0\u300d<\/td>\n<\/tr>\n<tr>\n<td>add_new_item<\/td>\n<td>\u00a0\u65b0\u898f\u306b\u6295\u7a3f\u3092\u8ffd\u52a0\u3059\u308b\u753b\u9762\u306e\u30bf\u30a4\u30c8\u30eb\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u300c\u65b0\u898f\u6295\u7a3f\u3092\u8ffd\u52a0\u300d<\/td>\n<\/tr>\n<tr>\n<td>all_items<\/td>\n<td>\u30e1\u30cb\u30e5\u30fc\u306e\u300c\u3059\u3079\u3066\uff5e\u300d\u306e\u540d\u79f0\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306fname\u3068\u540c\u3058\u5024\u3002<\/td>\n<\/tr>\n<tr>\n<td>edit_item<\/td>\n<td>\u00a0\u6295\u7a3f\u3092\u7de8\u96c6\u3059\u308b\u753b\u9762\u306e\u30bf\u30a4\u30c8\u30eb\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u300c\u6295\u7a3f\u306e\u7de8\u96c6\u300d<\/td>\n<\/tr>\n<tr>\n<td>menu_name<\/td>\n<td>\u30e1\u30cb\u30e5\u30fc\u306b\u8868\u793a\u3059\u308b\u540d\u79f0\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306fname\u3068\u540c\u3058\u5024\u3002<\/td>\n<\/tr>\n<tr>\n<td>name<\/td>\n<td>\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u4e00\u822c\u540d\u3002\u8907\u6570\u5f62\u3067\u8a2d\u5b9a\u3059\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td>name_admin_bar<\/td>\n<td>\u00a0\u7ba1\u7406\u30d0\u30fc\u306e\u300c\u65b0\u898f\u8ffd\u52a0\u300d\u306e\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30e1\u30cb\u30e5\u30fc\u306b\u5165\u308b\u540d\u79f0\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306fname\u3068\u540c\u3058\u5024\u3002<\/td>\n<\/tr>\n<tr>\n<td>new_item<\/td>\n<td>\u300c\u65b0\u898f\u4f5c\u6210\u300d\u3059\u308b\u30dc\u30bf\u30f3\u306e\u540d\u79f0\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u300c\u65b0\u898f\u8ffd\u52a0\u300d<\/td>\n<\/tr>\n<tr>\n<td>not_found<\/td>\n<td>\u00a0\u6295\u7a3f\u4e00\u89a7\u30da\u30fc\u30b8\u8868\u793a\u753b\u9762\u306b\u8a18\u4e8b\u304c\u4e00\u4ef6\u3082\u6295\u7a3f\u3055\u308c\u3066\u3044\u306a\u3044\u969b\u306b\u8868\u793a\u3059\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u3002<\/td>\n<\/tr>\n<tr>\n<td>not_found_in_trash<\/td>\n<td>\u00a0\u30b4\u30df\u7bb1\u304c\u7a7a\u306b\u306a\u3063\u3066\u3044\u308b\u969b\u306b\u8868\u793a\u3055\u308c\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u3002<\/td>\n<\/tr>\n<tr>\n<td>parent_item_colon<\/td>\n<td>\u968e\u5c64\u304c\u3042\u308b\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u969b\u306e\u300c\u89aa\u306e\uff5e\u300d\u306e\u540d\u79f0\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u300cParent Page\u300d<\/td>\n<\/tr>\n<tr>\n<td>search_items<\/td>\n<td>\u00a0\u6295\u7a3f\u4e00\u89a7\u30da\u30fc\u30b8\u3067\u8a18\u4e8b\u3092\u691c\u7d22\u3059\u308b\u30dc\u30bf\u30f3\u306e\u540d\u79f0\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u300c\u6295\u7a3f\u3092\u691c\u7d22\u300d\u300cSearch Posts\u300d\u300cSearch Pages\u300d<\/td>\n<\/tr>\n<tr>\n<td>singular_name<\/td>\n<td>\u00a0\u3053\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u5358\u6570\u5f62\u306e\u540d\u79f0\u3002name\u306e\u5358\u6570\u5f62\u3002<\/td>\n<\/tr>\n<tr>\n<td>view_item<\/td>\n<td>\u00a0\u300c\uff5e\u3092\u8868\u793a\u300d\u306e\u540d\u79f0\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u300cView Post\u300d\u300cView Page\u300d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>labels\u4ee5\u5916\u306e\u9805\u76ee<\/h3>\n<table>\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">can_export<\/td>\n<td style=\"height: 24px;\">\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u306e\u53ef\u5426\u3092\u8a2d\u5b9a\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306ftrue<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">capabilities<\/td>\n<td style=\"height: 24px;\">\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u6a29\u9650\u306e\u914d\u5217\u3002<br \/>\n&#8216;delete_other_posts&#8217; =&gt;\uff08\u307b\u304b\u306e\u30e6\u30fc\u30b6\u304c\u6240\u6709\u3059\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u524a\u9664\u53ef\u5426\u306e\u5236\u5fa1\uff09<br \/>\n&#8216;delete_post&#8217;=&gt;\uff08\u30e1\u30bf\u6a29\u9650\u3002\u6295\u7a3f\u306e\u524a\u9664\u53ef\u5426\uff09<br \/>\n&#8216;delete_posts&#8217;=&gt;\uff08\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u524a\u9664\u53ef\u5426\u3092\u5236\u5fa1\uff09<br \/>\n&#8216;delete_private_posts&#8217;=&gt;\uff08\u975e\u516c\u958b\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u524a\u9664\u53ef\u5426\u3092\u5236\u5fa1\uff09<br \/>\n&#8216;delete_published_posts&#8217;=&gt;\uff08\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u524a\u9664\u53ef\u5426\u3092\u5236\u5fa1\uff09<br \/>\n&#8216;edit_post&#8217;=&gt;\uff08\u30e1\u30bf\u6a29\u9650\u3002\u6295\u7a3f\u306e\u7de8\u96c6\u306e\u53ef\u5426\uff09<br \/>\n&#8216;edit_posts&#8217;=&gt;\uff08\u7de8\u96c6\u53ef\u5426\u3092\u5236\u5fa1\uff09<br \/>\n&#8216;edit_private_posts&#8217;=&gt;\uff08\u975e\u516c\u958b\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u7de8\u96c6\u53ef\u5426\u3092\u5236\u5fa1\uff09<br \/>\n&#8216;edit_published_posts&#8217;=&gt;\uff08\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u7de8\u96c6\u53ef\u5426\u3092\u5236\u5fa1\uff09<br \/>\n&#8216;edit_others_posts&#8217;=&gt;\uff08\u307b\u304b\u306e\u30e6\u30fc\u30b6\u304c\u6240\u6709\u3059\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u7de8\u96c6\u53ef\u5426\u3092\u5236\u5fa1\uff09<br \/>\n&#8216;publish_posts&#8217;=&gt;\uff08\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u516c\u958b\u53ef\u5426\u3092\u5236\u5fa1\uff09<br \/>\n&#8216;read&#8217;=&gt;\uff08\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u95b2\u89a7\u53ef\u5426\u3092\u5236\u5fa1\uff09<br \/>\n&#8216;read_post&#8217;=&gt;\uff08\u30e1\u30bf\u6a29\u9650\u3002\u95b2\u89a7\u306e\u53ef\u5426\uff09<br \/>\n&#8216;read_private_posts&#8217;=&gt;\uff08\u975e\u516c\u958b\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u95b2\u89a7\u53ef\u5426\u3092\u5236\u5fa1\uff09<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">capability_type<\/td>\n<td style=\"height: 24px;\">\u00a0\u95b2\u89a7\u3001\u7de8\u96c6\u3001\u524a\u9664\u306e\u6a29\u9650\u3092\u4f5c\u308b\u969b\u306b\u4f7f\u3046\u6587\u5b57\u5217\u3002capabilities\u3067\u4f7f\u3046\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067post<\/td>\n<\/tr>\n<tr style=\"height: 24.5px;\">\n<td style=\"height: 24.5px;\">description<\/td>\n<td style=\"height: 24.5px;\">\u00a0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u8aac\u660e\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u7a7a\u767d<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">exclude_from_search<\/td>\n<td style=\"height: 24px;\">\u00a0\u3053\u306e\u30bf\u30a4\u30d7\u306e\u6295\u7a3f\u3092\u691c\u7d22\u7d50\u679c\u304b\u3089\u9664\u5916\u3059\u308b\uff08true\uff09\u304b\u5426\uff08false\uff09\u304b\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306fpublic\u3068\u53cd\u5bfe\u306e\u5024<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">has_archive<\/td>\n<td style=\"height: 24px;\">\u00a0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u6709\u52b9\u30fb\u7121\u52b9\u306e\u8a2d\u5b9a\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306ffalse\u3002\u30a2\u30fc\u30ab\u30a4\u30d6\u306e\u30b9\u30e9\u30c3\u30b0\u306f$post_type\u304c\u4f7f\u308f\u308c\u308b\u3002<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">hierarchical<\/td>\n<td style=\"height: 24px;\">\u00a0\u3053\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u304c\u968e\u5c64\u3092\u6301\u3064\uff08true\uff09\u304b\u5426\uff08false\uff09\u304b\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306ffalse<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">map_meta_cap<\/td>\n<td style=\"height: 24px;\">\u00a0\u30e1\u30bf\u6a29\u9650\u51e6\u7406\u306e\u4f7f\u7528\u306e\u6709\u7121\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306fnull<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">menu_icon<\/td>\n<td style=\"height: 24px;\">\u00a0\u30a2\u30a4\u30b3\u30f3\u306eURL\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306fnull\u3067\u3001\u30a2\u30a4\u30b3\u30f3\u306f\u6295\u7a3f\u30a2\u30a4\u30b3\u30f3\u3002<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">menu_position<\/td>\n<td style=\"height: 24px;\">\u00a0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u8868\u793a\u3059\u308b\u30e1\u30cb\u30e5\u30fc\u306e\u4f4d\u7f6e\u3002show_in_menu\u3092true\u306b\u3059\u308b\u3068\u52d5\u4f5c\u3059\u308b\u3002<br \/>\n5\uff08\u6295\u7a3f\u306e\u4e0b\uff09<br \/>\n10\uff08\u30e1\u30c7\u30a3\u30a2\u306e\u4e0b\uff09<br \/>\n15\uff08\u30ea\u30f3\u30af\u306e\u4e0b\uff09<br \/>\n20\uff08\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u4e0b\uff09<br \/>\n25\uff08\u30b3\u30e1\u30f3\u30c8\u306e\u4e0b\uff09<br \/>\n60\uff08\u6700\u521d\u306e\u533a\u5207\u308a\u306e\u4e0b\u3002\u30b3\u30e1\u30f3\u30c8\u306e\u4e0b\uff09<br \/>\n65\uff08\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u4e0b\uff09<br \/>\n70\uff08\u30e6\u30fc\u30b6\u306e\u4e0b\uff09<br \/>\n75\uff08\u30c4\u30fc\u30eb\u306e\u4e0b\uff09<br \/>\n80\uff08\u8a2d\u5b9a\u306e\u4e0b\uff09<br \/>\n100\uff082\u756a\u76ee\u306e\u533a\u5207\u308a\u306e\u4e0b\u3002\u8a2d\u5b9a\u306e\u4e0b\uff09<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">permalink_epmask<\/td>\n<td style=\"height: 24px;\">\u00a0rewrite\u306eendpoint\u30d3\u30c3\u30c8\u30de\u30b9\u30af\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u5024<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">public<\/td>\n<td style=\"height: 24px;\">\u00a0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u30d1\u30d6\u30ea\u30c3\u30af\u306b\u3059\u308b\uff08true\uff09\u304b\u5426\uff08false\uff09\u304b\u3002<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">publicly_queryable<\/td>\n<td style=\"height: 24px;\">\u00a0\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3067post_type\u30af\u30a8\u30ea\u3092\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\uff08true\uff09\u304b\u5426\uff08false\uff09\u304b\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306fpublic\u306e\u5024<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">query_var<\/td>\n<td style=\"height: 24px;\">\u00a0\u3053\u306e\u6295\u7a3f\u306b\u4f7f\u7528\u3059\u308bqeruy_var\u30ad\u30fc\u306e\u540d\u79f0\u3002false\u306b\u3059\u308b\u3068URL\u5f62\u5f0f\u3067\u30af\u30a8\u30ea\u8868\u793a\uff08?{query_var}={\u30b9\u30e9\u30c3\u30b0}\uff09\u3067\u304d\u306a\u304f\u306a\u308b\u3002\u6587\u5b57\u5217\u3092\u6307\u5b9a\u3059\u308b\u3068\u3001?\u6587\u5b57\u5217={\u30b9\u30e9\u30c3\u30b0}\u3068\u306a\u308b\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306ftrue\uff08$post_type\u306e\u5024\uff09<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">register_meta_box_cb<\/td>\n<td style=\"height: 24px;\">\u00a0\u7de8\u96c6\u30d5\u30a9\u30fc\u30e0\u306e\u30e1\u30bf\u30dc\u30c3\u30af\u30b9\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u969b\u306b\u547c\u3073\u51fa\u3059\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u306e\u6307\u5b9a\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u306a\u3057<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">rewrite<\/td>\n<td style=\"height: 24px;\">\u00a0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u306e\u30ea\u30e9\u30a4\u30c8\u65b9\u6cd5\u3092\u6307\u5b9a\u3059\u308b\u3002false\u3067\u30ea\u30e9\u30a4\u30c8\u3057\u306a\u3044\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306ftrue\uff08$post_type\u3092\u30b9\u30e9\u30c3\u30b0\u306b\u3059\u308b\uff09<br \/>\n$arg\u914d\u5217\u3067\u4ee5\u4e0b\u3092\u6307\u5b9a\u3067\u304d\u308b\u3002<br \/>\n&#8216;ep_mask&#8217;=&gt;\u5b9a\u6570\uff08endpoint\u30de\u30b9\u30af\u3092\u5272\u308a\u5f53\u3066\u308b\uff09<br \/>\n&#8216;feeds&#8217;=&gt;\u771f\u507d\u5024\uff08\u30d5\u30a3\u30fc\u30c9\u306e\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u69cb\u9020\u3092\u4f5c\u6210\uff09<br \/>\n&#8216;pages&#8217;=&gt;\u771f\u507d\u5024\uff08\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u69cb\u9020\u3092\u30da\u30fc\u30b8\u9001\u308a\u306b\u5bfe\u5fdc\u3059\u308b\uff09<br \/>\n&#8216;slug&#8217;=&gt;\u6587\u5b57\u5217\uff08\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u69cb\u9020\u306e\u30b9\u30e9\u30c3\u30b0\u3092\u8a2d\u5b9a\uff09<br \/>\n&#8216;with_front&#8217;=&gt;\u771f\u507d\u5024\uff08\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u69cb\u9020\u306e\u30d5\u30ed\u30f3\u30c8\u30d9\u30fc\u30b9\u306e\u6709\u7121\u3092\u6307\u5b9a\uff09<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">show_in_admin_bar<\/td>\n<td style=\"height: 24px;\">\u00a0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u7ba1\u7406\u30d0\u30fc\u304b\u3089\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\uff08true\uff09\u304b\u5426\uff08false\uff09\u304b\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306fshow_in_menu\u306e\u5024<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">show_in_menu<\/td>\n<td style=\"height: 24px;\">\u00a0\u7ba1\u7406\u753b\u9762\u306b\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u8868\u793a\u3059\u308b\uff08true\uff09\u304b\u5426\uff08false\uff09\u304b\u3002show_ui\u304ctrue\u306e\u6642\u306b\u6709\u52b9\u3002<br \/>\n\u30c8\u30c3\u30d7\u30ec\u30d9\u30eb\u306e\u30da\u30fc\u30b8\u3092\u6307\u5b9a\u3059\u308b\u3068\u305d\u306e\u30b5\u30d6\u30e1\u30cb\u30e5\u30fc\u306b\u914d\u7f6e\u3059\u308b\uff08tools.php\u306a\u3069\uff09\u3002<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">show_in_nav_menus<\/td>\n<td style=\"height: 24px;\">\u00a0\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u30e1\u30cb\u30e5\u30fc\u3067\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u9078\u629e\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\uff08true\uff09\u304b\u5426\uff08false\uff09\u304b\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306fpublic\u306e\u5024<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">show_ui<\/td>\n<td style=\"height: 24px;\">\u00a0\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u7ba1\u7406\u3059\u308bUI\u3092\u751f\u6210\u3059\u308b\uff08true\uff09\u304b\u5426\uff08false\uff09\u304b\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306fpublic\u306e\u5024\u3002<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">supports<\/td>\n<td style=\"height: 24px;\">\u00a0add_post_type_support()\/en\u3092\u547c\u3073\u51fa\u3059\u30a8\u30a4\u30ea\u30a2\u30b9\u3002\u914d\u5217\u3067\u6307\u5b9a\u3002false\u306b\u3059\u308b\u3068\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u505c\u6b62\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306ftitle\u3068editor\u3002<br \/>\n&#8216;author&#8217;\uff08\u8457\u8005\uff09<br \/>\n&#8216;comments&#8217;\uff08\u30b3\u30e1\u30f3\u30c8\u3001\u7de8\u96c6\u753b\u9762\u306b\u30b3\u30e1\u30f3\u30c8\u6570\u306e\u30d0\u30eb\u30fc\u30f3\u3092\u8868\u793a\uff09<br \/>\n&#8216;custom-fields&#8217;\uff08\u30ab\u30b9\u30bf\u30e0\u30d5\u30a3\u30fc\u30eb\u30c9\uff09<br \/>\n&#8216;editor&#8217;\uff08\u5185\u5bb9\u306e\u7de8\u96c6\uff09<br \/>\n&#8216;except&#8217;\uff08\u6982\u8981\uff09<br \/>\n&#8216;page-attributes&#8217;\uff08\u30e1\u30cb\u30e5\u30fc\u306e\u9806\u5e8f\uff09<br \/>\n&#8216;post-formats&#8217;\uff08\u6295\u7a3f\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u8ffd\u52a0\uff09<br \/>\n&#8216;revisions&#8217;\uff08\u30ea\u30d3\u30b8\u30e7\u30f3\u306e\u4fdd\u5b58\uff09<br \/>\n&#8216;title&#8217;\uff08\u30bf\u30a4\u30c8\u30eb\uff09<br \/>\n&#8216;trackbacks&#8217;\uff08\u30c8\u30e9\u30c3\u30af\u30d0\u30c3\u30af\u9001\u4fe1\uff09<br \/>\n&#8216;thumbnail&#8217;\uff08\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\uff09<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">taxonomies<\/td>\n<td style=\"height: 24px;\">\u00a0category\u3084post_tag\u306a\u3069\u306e\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306e\u914d\u5217\u3092\u8a2d\u5b9a\u3002register_taxonomy()\u3067\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u3092\u767b\u9332\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u30bf\u30af\u30bd\u30ce\u30df\u30fc\u306a\u3057<\/td>\n<\/tr>\n<tr style=\"height: 72px;\">\n<td style=\"height: 72px;\">_builtin<\/td>\n<td style=\"height: 72px;\">\u00a0\u6295\u7a3f\u30bf\u30a4\u30d7\u304c\u30cd\u30a4\u30c6\u30a3\u30d6\u307e\u305f\u306f\u30d3\u30eb\u30c8\u30a4\u30f3\u3067\u3042\u308b\u5834\u5408\u306ftrue\u3001\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u306ffalse\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306ffalse\u3002\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u5834\u5408\u306f\u8a18\u8f09\u3057\u306a\u3044\u3002<\/td>\n<\/tr>\n<tr style=\"height: 48px;\">\n<td style=\"height: 48px;\">_edit_link<\/td>\n<td style=\"height: 48px;\">\u30a8\u30f3\u30c8\u30ea\u3092\u7de8\u96c6\u3059\u308b\u30ea\u30f3\u30af\u3002&#8217;post.php?=%d&#8217;\u306a\u3069\u3002\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u5834\u5408\u306f\u8a18\u8f09\u3057\u306a\u3044\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u306b\u304a\u3044\u3066\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u6295\u7a3f\u30bf\u30a4\u30d7\u306b\u306f\u3001\u7d30\u304b\u304f\u5206\u3051\u308b\u30685\u3064\u3042\u308a\u307e\u3059\u3002 \u6295\u7a3f\uff08post\uff09 \u56fa\u5b9a\u30da\u30fc\u30b8\uff08page\uff09 \u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\uff08attachment\uff09 \u30ea\u30d3\u30b8\u30e7\u30f3\uff08revi&#8230;<span class=\"continue\"><a href=\"https:\/\/kuuur.net\/?p=490\">\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-490","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"views":3323,"_links":{"self":[{"href":"https:\/\/kuuur.net\/index.php?rest_route=\/wp\/v2\/posts\/490","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kuuur.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kuuur.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kuuur.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kuuur.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=490"}],"version-history":[{"count":0,"href":"https:\/\/kuuur.net\/index.php?rest_route=\/wp\/v2\/posts\/490\/revisions"}],"wp:attachment":[{"href":"https:\/\/kuuur.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kuuur.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kuuur.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}