{"id":2802,"date":"2017-01-12T16:08:24","date_gmt":"2017-01-12T07:08:24","guid":{"rendered":"http:\/\/tcd-manual.net\/?p=2802"},"modified":"2017-02-17T10:11:25","modified_gmt":"2017-02-17T01:11:25","slug":"%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e6%8a%95%e7%a8%bf%e3%82%bf%e3%82%a4%e3%83%97%e5%90%8d%e3%80%8c%e3%83%97%e3%83%ad%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%80%8d%e3%80%8c%e3%82%a4%e3%83%99%e3%83%b3","status":"publish","type":"post","link":"https:\/\/tcd-manual.net\/?p=2802","title":{"rendered":"TCD\u30c6\u30fc\u30deMONOLITH\u306e\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u540d\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d\u300c\u30a4\u30d9\u30f3\u30c8\u300d\u300c\u30a4\u30f3\u30d5\u30a9\u30e1\u30fc\u30b7\u30e7\u30f3\u300d\u3092\u5909\u66f4\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<h4 class=\"style_headline2\">Q.\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u540d\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d\u300c\u30a4\u30d9\u30f3\u30c8\u300d\u300c\u30a4\u30f3\u30d5\u30a9\u30e1\u30fc\u30b7\u30e7\u30f3\u300d\u3092\u5909\u66f4\u3057\u305f\u3044<\/h4>\n<p>\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d\u300c\u30a4\u30d9\u30f3\u30c8\u300d\u300c\u30a4\u30f3\u30d5\u30a9\u30e1\u30fc\u30b7\u30e7\u30f3\u300d\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u540d\u3084\u30b9\u30e9\u30c3\u30b0\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304b\uff1f<\/p>\n<h4 class=\"style_headline2\">A.\u4e0b\u8a18\u306ephp\u30d5\u30a1\u30a4\u30eb\u306e\u8a72\u5f53\u7b87\u6240\u3092\u7de8\u96c6\u3057\u307e\u3059<\/h4>\n<p><strong>\u2460\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d\u306e\u5909\u66f4<\/strong><br \/>\n<b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>functions.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b><\/p>\n<pre class=\"brush: php; highlight: [4,25]; title: ; notranslate\" title=\"\">\r\n\/\/ \u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u3000\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d\u3092\u8ffd\u52a0 ----------------------------------------------------------------\r\nif ( function_exists('register_post_type') ) {\r\n $labels = array(\r\n  'name' =&gt; __('Project', 'tcd-w'),\r\n  'singular_name' =&gt; __('Project', 'tcd-w'),\r\n  'add_new' =&gt; __('Add New', 'tcd-w'),\r\n  'add_new_item' =&gt; __('Add New Item', 'tcd-w'),\r\n  'edit_item' =&gt; __('Edit', 'tcd-w'),\r\n  'new_item' =&gt; __('New item', 'tcd-w'),\r\n  'view_item' =&gt; __('View Item', 'tcd-w'),\r\n  'search_items' =&gt; __('Search Items', 'tcd-w'),\r\n  'not_found' =&gt; __('Not Found', 'tcd-w'),\r\n  'not_found_in_trash' =&gt; __('Not found in trash', 'tcd-w'), \r\n  'parent_item_colon' =&gt; ''\r\n );\r\n\r\n register_post_type('project', array(\r\n  'label' =&gt; __('Project', 'tcd-w'),\r\n  'labels' =&gt; $labels,\r\n  'public' =&gt; true,\r\n  'publicly_queryable' =&gt; true,\r\n  'menu_position' =&gt; 5,\r\n  'show_ui' =&gt; true,\r\n  'query_var' =&gt; true,\r\n  'rewrite' =&gt; array('slug' =&gt; 'project'),\r\n  'capability_type' =&gt; 'post',\r\n  'has_archive' =&gt; true,\r\n  'hierarchical' =&gt; true,\r\n  'supports' =&gt; array('title','editor','thumbnail')\r\n ));\r\n};\r\n<\/pre>\n<p><strong>\u2461\u300c\u30a4\u30d9\u30f3\u30c8\u300d\u306e\u5909\u66f4<\/strong><br \/>\n<b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>functions.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b><\/p>\n<pre class=\"brush: php; highlight: [4,25]; title: ; notranslate\" title=\"\">\r\n\/\/ \u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u3000\u300c\u30a4\u30d9\u30f3\u30c8\u300d\u3092\u8ffd\u52a0 ----------------------------------------------------------------\r\nif ( function_exists('register_post_type') ) {\r\n $labels = array(\r\n  'name' =&gt; __('Events', 'tcd-w'),\r\n  'singular_name' =&gt; __('Events', 'tcd-w'),\r\n  'add_new' =&gt; __('Add New', 'tcd-w'),\r\n  'add_new_item' =&gt; __('Add New Item', 'tcd-w'),\r\n  'edit_item' =&gt; __('Edit', 'tcd-w'),\r\n  'new_item' =&gt; __('New item', 'tcd-w'),\r\n  'view_item' =&gt; __('View Item', 'tcd-w'),\r\n  'search_items' =&gt; __('Search Items', 'tcd-w'),\r\n  'not_found' =&gt; __('Not Found', 'tcd-w'),\r\n  'not_found_in_trash' =&gt; __('Not found in trash', 'tcd-w'), \r\n  'parent_item_colon' =&gt; ''\r\n );\r\n\r\n register_post_type('event', array(\r\n  'label' =&gt; __('Events', 'tcd-w'),\r\n  'labels' =&gt; $labels,\r\n  'public' =&gt; true,\r\n  'publicly_queryable' =&gt; true,\r\n  'menu_position' =&gt; 5,\r\n  'show_ui' =&gt; true,\r\n  'query_var' =&gt; true,\r\n  'rewrite' =&gt; array('slug' =&gt; 'event'),\r\n  'capability_type' =&gt; 'post',\r\n  'has_archive' =&gt; true,\r\n  'hierarchical' =&gt; true,\r\n  'supports' =&gt; array('title','editor','thumbnail')\r\n ));\r\n};\r\n\r\n<\/pre>\n<p><strong>\u2462\u300c\u30a4\u30f3\u30d5\u30a9\u30e1\u30fc\u30b7\u30e7\u30f3\u300d\u306e\u5909\u66f4<\/strong><br \/>\n<b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>functions.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b><\/p>\n<pre class=\"brush: php; highlight: [4,25]; title: ; notranslate\" title=\"\">\r\n\/\/ \u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u3000\u300c\u30a4\u30f3\u30d5\u30a9\u30e1\u30fc\u30b7\u30e7\u30f3\u300d\u3092\u8ffd\u52a0 ----------------------------------------------------------------\r\nif ( function_exists('register_post_type') ) {\r\n $labels = array(\r\n  'name' =&gt; __('Information', 'tcd-w'),\r\n  'singular_name' =&gt; __('Information', 'tcd-w'),\r\n  'add_new' =&gt; __('Add New', 'tcd-w'),\r\n  'add_new_item' =&gt; __('Add New Item', 'tcd-w'),\r\n  'edit_item' =&gt; __('Edit', 'tcd-w'),\r\n  'new_item' =&gt; __('New item', 'tcd-w'),\r\n  'view_item' =&gt; __('View Item', 'tcd-w'),\r\n  'search_items' =&gt; __('Search Items', 'tcd-w'),\r\n  'not_found' =&gt; __('Not Found', 'tcd-w'),\r\n  'not_found_in_trash' =&gt; __('Not found in trash', 'tcd-w'), \r\n  'parent_item_colon' =&gt; ''\r\n );\r\n\r\n register_post_type('info', array(\r\n  'label' =&gt; __('Information', 'tcd-w'),\r\n  'labels' =&gt; $labels,\r\n  'public' =&gt; true,\r\n  'publicly_queryable' =&gt; true,\r\n  'menu_position' =&gt; 5,\r\n  'show_ui' =&gt; true,\r\n  'query_var' =&gt; true,\r\n  'rewrite' =&gt; array('slug' =&gt; 'info'),\r\n  'capability_type' =&gt; 'post',\r\n  'has_archive' =&gt; true,\r\n  'hierarchical' =&gt; true,\r\n  'supports' =&gt; array('title','editor','thumbnail')\r\n ));\r\n};\r\n<\/pre>\n<p>\u7ba1\u7406\u753b\u9762\u306e\u30e1\u30cb\u30e5\u30fc\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d\u300c\u30a4\u30d9\u30f3\u30c8\u300d\u300c\u30a4\u30f3\u30d5\u30a9\u30e1\u30fc\u30b7\u30e7\u30f3\u300d\u3092\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u306f\u3001&#8217;name&#8217; \u306e\u5024\u3092\u3001URL\u7b49\u306b\u8868\u793a\u3055\u308c\u308b\u30b9\u30e9\u30c3\u30b0\u3092\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u306f\u3001&#8217;rewrite&#8217; \u306e\u5024\u3067\u3042\u308b\u914d\u5217\u4e2d\u306e&#8217;slug&#8217;\u306e\u5024\u3092\u4efb\u610f\u306b\u3054\u5909\u66f4\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u4f8b\uff09<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n'name' =&gt; __('\u25cf\u25cf\u25cf')\r\n'rewrite' =&gt; array('slug' =&gt; '\u25cf\u25cf\u25cf')\r\n<\/pre>\n<p>\u203b\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u5909\u66f4\u3092\u4f34\u3044\u307e\u3059\u306e\u3067\u3001\u4ee5\u524d\u306e\u30b9\u30e9\u30c3\u30b0\u306f\u4f7f\u7528\u4e0d\u53ef\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\n\u4e0a\u8a18\u5909\u66f4\u306b\u3088\u308a404\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u969b\u306f\u3000\u8a2d\u5b9a\uff1e\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u8a2d\u5b9a\u3067\u5909\u66f4\u3092\u4fdd\u5b58\u30dc\u30bf\u30f3\u3092\u62bc\u4e0b\u3057\u307e\u3059\u3002\uff08\u8a2d\u5b9a\u5909\u66f4\u306f\u4e0d\u8981\u3067\u3001\u305f\u3060\u4fdd\u5b58\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3060\u3051\u3067\u7d50\u69cb\u3067\u3059\u3002\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"Q.\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u540d\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d\u300c\u30a4\u30d9\u30f3\u30c8\u300d\u300c\u30a4\u30f3\u30d5\u30a9\u30e1\u30fc\u30b7\u30e7\u30f3\u300d\u3092\u5909\u66f4\u3057\u305f\u3044 \u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u300c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d\u300c\u30a4\u30d9\u30f3\u30c8\u300d\u300c\u30a4\u30f3\u30d5\u30a9\u30e1\u30fc\u30b7\u30e7\u30f3\u300d\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u540d\u3084\u30b9\u30e9\u30c3\u30b0\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304b\uff1f A.\u4e0b\u8a18\u306e [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[437],"tags":[],"class_list":["post-2802","post","type-post","status-publish","format-standard","hentry","category-tcd042"],"_links":{"self":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/2802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2802"}],"version-history":[{"count":0,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/2802\/revisions"}],"wp:attachment":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}