{"id":1,"date":"2006-03-05T13:38:50","date_gmt":"2006-03-05T04:38:50","guid":{"rendered":""},"modified":"2016-01-26T15:05:30","modified_gmt":"2016-01-26T06:05:30","slug":"welcome","status":"publish","type":"post","link":"https:\/\/pasero.net\/~mako\/blog\/s\/1","title":{"rendered":"WordPress\u306e\u5c0e\u5165"},"content":{"rendered":"<p>\u67d0\u6240\u3078\u306e WordPress \u5c0e\u5165\u306e\u305f\u3081\u306b\u3001\u307e\u305a\u3053\u3053\u306b\u5165\u308c\u3066\u307f\u308b\u3002\u3068\u3044\u3046\u308f\u3051\u3067\u3068\u304d\u3069\u304d\u30c6\u30b9\u30c8\u3059\u308b\u306e\u3067\u3001\u304a\u304b\u3057\u306a\u3053\u3068\u306b\u306a\u3063\u3066\u3044\u308b\u53ef\u80fd\u6027\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\r\n<p>\u90fd\u54083,4\u56de\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u6163\u308c\u3066\u304f\u308b\u3002\u5b9f\u969b\u3001\u666e\u901a\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5206\u306b\u306f\u7279\u306b\u554f\u984c\u3068\u306a\u308b\u3053\u3068\u3082\u306a\u3044\u3002\u3053\u308c\u3092\u7f6e\u3044\u3066\u3044\u308b<a href=\"http:\/\/www.sakura.ne.jp\/\">\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0<\/a>\u306f<a href=\"http:\/\/www.sakura.ne.jp\/support\/manual\/rs\/tech_cgi.shtml#com\">PHP\u304cCGI\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u5909\u66f4(php\u30d5\u30a1\u30a4\u30eb\u306b\u5b9f\u884c\u6a29)<\/a>\u3059\u308b\u304f\u3089\u3044\u3002\u3057\u304b\u3057\u307b\u304b\u306b\u3082\u3061\u3087\u3063\u3068\u624b\u3092\u52a0\u3048\u305f\u3002<\/p>\r\n<!--more-->\r\n<h3>\u6587\u5b57\u5316\u3051<\/h3>\r\n<p>\u6587\u5b57\u30b3\u30fc\u30c9\u3092 EUC-JP \u306b\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u30b3\u30e1\u30f3\u30c8 rss \u304c\u5316\u3051\u305f\u304c\u3001UTF-8 \u3067\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u89e3\u6d88\u3057\u305f\u306e\u3067\u3001\u539f\u56e0\u306f\u8ffd\u6c42\u3057\u3066\u3044\u306a\u3044\u3002<\/p>\r\n<p>\u753b\u50cf\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u6642\u306e\u30bf\u30a4\u30c8\u30eb\u306f\u3001DB \u306b\u306f\u6b63\u3057\u304f\u5165\u3063\u3066\u3044\u308b\u3088\u3046\u3060\u304c\u5f15\u7528\u6642(img \u30bf\u30b0\u306e title \u8981\u7d20\u306b\u5f15\u7528\u3055\u308c\u308b)\u306b\u5316\u3051\u308b\u3002wp-admin\/inline-uploading.php \u306e2\u500b\u6240\u306e htmlentities \u306b\u7b2c3\u5f15\u6570\u3092\u4e0e\u3048\u305f\u3089\u89e3\u6c7a\u3057\u305f\u3002<\/p>\r\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n$title = htmlentities($attachment&#x5B;'post_title'], ENT_QUOTES, get_option('blog_charset'));\r\n<\/pre>\r\n<h3>roles-manager \u30d7\u30e9\u30b0\u30a4\u30f3<\/h3>\r\n<p><a href=\"http:\/\/codex.xwd.jp\/index.php\/User_Levels\" >\u30d0\u30fc\u30b8\u30e7\u30f31.5\u306e\u9803\u306e10\u6bb5\u968e<\/a>\u304b\u3089\u30d0\u30fc\u30b8\u30e7\u30f32\u3067\u306f\u7c21\u7565\u5316\u3055\u308c\u3066\u3001 \u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f administrator, editor, author, contributor, subscriber \u306e<a href=\"http:\/\/wordpress.xwd.jp\/me2.0-docs\/index.php?%A5%E6%A1%BC%A5%B6%A1%BC%A5%EC%A5%D9%A5%EB%A4%CB%A4%C4%A4%A4%A4%C6\" >5\u6bb5\u968e<\/a>\u3057\u304b\u7528\u610f\u3055\u308c\u3066\u3044\u306a\u3044\u3002<\/p>\r\n<p>editor \u3068 author \u306e\u4e2d\u9593\u3001\u65e7\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u8a00\u3046<a href=\"http:\/\/codex.xwd.jp\/index.php\/User_Levels#.E3.83.AC.E3.83.99.E3.83.AB5\" >\u30ec\u30d9\u30eb5<\/a>\u76f8\u5f53(\u30da\u30fc\u30b8\u4f5c\u6210\u53ef\u3001\u4ed6\u4eba\u306e\u7de8\u96c6\u4e0d\u53ef\u3001\u8a2d\u5b9a\u95a2\u4fc2\u4e0d\u53ef)\u306e\u30e6\u30fc\u30b6\u304c\u307b\u3057\u3044\u3002<\/p>\r\n<p><a href=\"http:\/\/redalt.com\/wiki\/Role+Manager\" >role-manager\u30d7\u30e9\u30b0\u30a4\u30f3<\/a>\u3092\u7d44\u307f\u8fbc\u3080\u3002<\/p>\r\n<p>\u65b0\u3057\u3044 role (\u4eee\u79f0\u300cP\u4f5c\u8005\u300d)\u3092\u4f5c\u308a\u3001\u4f5c\u8005\u306e capabilities \u306b\u52a0\u3048\u3001manage_links \u3068 edit_pages \u3092\u30c1\u30a7\u30c3\u30af\u3057\u305f\u3002\u30ec\u30d9\u30eb\u306f\u300c5\u300d\u3068\u3057\u305f\u3002<\/p>\r\n<p>\u3053\u308c\u3060\u3051\u3060\u3068\u3053\u306e\u65b0\u30e6\u30fc\u30b6\u306f\u4ed6\u4eba\u306e\u30da\u30fc\u30b8\u3092\u7de8\u96c6\u3067\u304d\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u3053\u308c\u3092\u907f\u3051\u308b\u305f\u3081\u306b\u306f wp-includes\/capabilities.php \u306e2\u3064\u3081\u306e edit_page \u306e\u90e8\u5206\u3092\u524a\u9664\u3059\u308b\u3002<\/p>\r\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n\/\/ if ($post-&gt;post_status == 'static') {\r\n\/\/ $caps&#x5B;] = 'edit_pages';\r\n\/\/ break;\r\n\/\/ }\r\n<\/pre>\r\n<h3>parent<\/h3>\r\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nfunction get_the_parent( $id = 0 ) {\r\n$post = &amp;get_post($id);\r\n\r\nreturn apply_filters('get_the_parent', $post-&gt;post_parent);\r\n}\r\n<\/pre>\r\n<p style=\"text-indent: 0em\">\u3068\u3044\u3046\u95a2\u6570\u3092\u65b0\u305f\u306b\u4f5c\u3063\u305f<sup>[<a href=\"#footnote_1_1\" id=\"identifier_1_1\" class=\"footnote-link footnote-identifier-link\" title=\"wp-includes\/template-function-post.php \u306e get_the_guid \u3092\u307b\u307c\u30b3\u30d4\u30fc\u3057\u3066\">1<\/a>]<\/sup>\u3002\u9069\u5f53\u306a\u540d\u524d\u306ephp\u30d5\u30a1\u30a4\u30eb\u306b\u3057\u3066\u30d7\u30e9\u30b0\u30a4\u30f3\u3068\u3057\u3066\u7d44\u307f\u8fbc\u3080\u3002<\/p>\r\n<p>\u3053\u308c\u3092 <a href=\"http:\/\/codex.wordpress.org\/Template_Tags\/wp_list_pages\" >wp_list_pages<\/a> \u306e\u30d1\u30e9\u30e1\u30fc\u30bf <a href=\"http:\/\/codex.wordpress.org\/Template_Tags\/wp_list_pages#Parameters\" >child_of<\/a> \u306b\u4e0e\u3048\u308c\u3070\u3001\u81ea\u5206\u306e\u89aa\u306e\u5b50(\u3059\u306a\u308f\u3061\u81ea\u5206\u3092\u542b\u3080\u5144\u5f1f)\u306e\u30ea\u30b9\u30c8\u304c\u5f97\u3089\u308c\u308b\u3002<\/p>\r\n<h3>\u7de8\u96c6\u753b\u9762\u306e\u6587\u5b57\u306e\u5927\u304d\u3055<\/h3>\r\n<p>wp-admin\/wp-admin.css \u306e<\/p>\r\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\ntextarea, input, select {\r\n...\r\nfont:  13px Verdana, Arial, Helvetica, sans-serif;\r\n...\r\n}\r\n<\/pre>\r\n<p style=\"text-indent: 0em\">\u306e\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3001\u3055\u3089\u306b\u305a\u3063\u3068\u5f8c\u308d\u306e<\/p>\r\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">\r\n#template textarea {\r\nfont: small 'Courier New', Courier, monospace;\r\nwidth: 97%;\r\n}\r\n<\/pre>\r\n<p style=\"text-indent: 0em\">\u306e\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u3082\u5909\u66f4\u3059\u308b\u3068\u3001\u7ba1\u7406\u753b\u9762\u306e\u3060\u3044\u305f\u3044\u3069\u3053\u306etextarea\u306e\u5927\u304d\u3055\u3082\u5909\u66f4\u3067\u304d\u308b\u3002<\/p>\r\n<p>\u30d3\u30b8\u30e5\u30a2\u30eb\u30a8\u30c7\u30a3\u30bf\u306e\u7de8\u96c6\u753b\u9762\u5185\u306e\u30d5\u30a9\u30f3\u30c8\u306e\u5927\u304d\u3055\u3092\u5909\u3048\u308b\u306e\u306f\u307e\u3060\u767a\u898b\u3067\u304d\u3066\u3044\u306a\u3044\u3002\u304c\u3001\u3055\u3089\u306b\u305d\u306e HTML Source Editor \u306e\u30d5\u30a9\u30f3\u30c8\u306e\u5927\u304d\u3055\u306f wp-includes\/js\/tinymce\/themes\/advanced\/source_editor.htm \u306e<\/p>\r\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\ntextarea name=&quot;htmlSource&quot; ...  style=&quot; ... font-size: 12px&quot; ...\r\n<\/pre>\r\n<p style=\"text-indent: 0em\">\u306e\u884c\u3067font-size: medium \u3068\u3059\u308b\u3053\u3068\u3067\u5909\u66f4\u3067\u304d\u305f\u3002<\/p>\r\n<ol class=\"footnotes\"><li id=\"footnote_1_1\" class=\"footnote\">wp-includes\/template-function-post.php \u306e get_the_guid \u3092\u307b\u307c\u30b3\u30d4\u30fc\u3057\u3066<span class=\"footnote-back-link-wrapper\"><a href=\"#identifier_1_1\" class=\"footnote-link footnote-back-link\">&#8593;<\/a><\/span><\/li><\/ol>","protected":false},"excerpt":{"rendered":"\u67d0\u6240\u3078\u306e WordPress \u5c0e\u5165\u306e\u305f\u3081\u306b\u3001\u307e\u305a\u3053\u3053\u306b\u5165\u308c\u3066\u307f\u308b\u3002\u3068\u3044\u3046\u308f\u3051\u3067\u3068\u304d\u3069\u304d\u30c6\u30b9\u30c8\u3059\u308b\u306e\u3067\u3001\u304a\u304b\u3057\u306a\u3053\u3068\u306b\u306a\u3063\u3066\u3044\u308b\u53ef\u80fd\u6027\u3082\u3042\u308a\u307e\u3059\u3002 \u90fd\u54083,4\u56de\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u6163\u308c\u3066\u304f\u308b\u3002\u5b9f\u969b\u3001\u666e\u901a\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5206&hellip; <a class=\"more-link\" href=\"https:\/\/pasero.net\/~mako\/blog\/s\/1\">\u7d9a\u304d\u3092\u8aad\u3080<span class=\"screen-reader-text\">: WordPress\u306e\u5c0e\u5165<\/span> <span class=\"meta-nav\" aria-hidden=\"true\">&rarr;<\/span><\/a>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[74],"tags":[2],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-wordpress","tag-wordpress"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/sLxlV-welcome","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":14,"url":"https:\/\/pasero.net\/~mako\/blog\/s\/14","url_meta":{"origin":1,"position":0},"title":"Pages+\u30d7\u30e9\u30b0\u30a4\u30f3","author":"Mako","date":"2006\u5e743\u670826\u65e5(\u65e5)","format":false,"excerpt":"\u8907\u6570\u306e\u4eba\u9593\u3067(static\u306a)\u30da\u30fc\u30b8\u3092\u66f8\u3044\u3066\u3044\u308b\u3068\u3001\u3044\u3064\u66f8\u304d\u63db\u3048\u3089\u308c\u305f\u304b\u308f\u304b\u308a\u306b\u304f\u3044\u3002\u7ba1\u7406\u753b\u9762\u3067\u66f4\u65b0\u2026","rel":"","context":"WordPress","block_context":{"text":"WordPress","link":"https:\/\/pasero.net\/~mako\/blog\/s\/category\/wordpress"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":57,"url":"https:\/\/pasero.net\/~mako\/blog\/s\/57","url_meta":{"origin":1,"position":1},"title":"\u30c6\u30fc\u30de\u3092\u4f5c\u308b (3)","author":"Mako","date":"2007\u5e742\u670826\u65e5(\u6708)","format":false,"excerpt":"Link Rel\u30d7\u30e9\u30b0\u30a4\u30f3\u304cWordPress 2.1 \u306b\u79fb\u884c\u3057\u3066\u4ee5\u6765\u52d5\u304b\u306a\u304f\u306a\u3063\u3066\u3044\u305f\u305f\u3081\u65b0\u305f\u306b\u4f5c\u2026","rel":"","context":"WordPress","block_context":{"text":"WordPress","link":"https:\/\/pasero.net\/~mako\/blog\/s\/category\/wordpress"},"img":{"alt_text":"linkwidgets","src":"https:\/\/i0.wp.com\/pasero.net\/~mako\/blog\/wp-content\/uploads\/2009\/06\/linkwidgets-192x151.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":30,"url":"https:\/\/pasero.net\/~mako\/blog\/s\/30","url_meta":{"origin":1,"position":2},"title":"MediaWiki","author":"Mako","date":"2006\u5e749\u67089\u65e5(\u571f)","format":false,"excerpt":"\u307e\u305f\u3082\u3084\u968f\u5206\u9593\u304c\u3042\u3044\u3066\u3057\u307e\u3063\u305f\u3002 \u3055\u3066\u4eca\u5ea6\u306f\u8a33\u3042\u3063\u3066\u67d0\u6240\u306b Wiki\u3092\u5c0e\u5165\u3002\u591a\u8a00\u8a9e\u3092\u6271\u3044\u305f\u3044\u3068\u3044\u3046\u8981\u2026","rel":"","context":"\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2","block_context":{"text":"\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2","link":"https:\/\/pasero.net\/~mako\/blog\/s\/category\/software"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":328,"url":"https:\/\/pasero.net\/~mako\/blog\/s\/328","url_meta":{"origin":1,"position":3},"title":"WordPress 3.2.1 \u65e5\u672c\u8a9e\u7248\u3078\u306e\u66f4\u65b0","author":"Mako","date":"2011\u5e747\u670821\u65e5(\u6728)","format":false,"excerpt":"WordPress 3.2.1 \u65e5\u672c\u8a9e\u7248\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u306e\u6848\u5185\u306b\u3082\u304d\u3061\u3093\u3068\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u2026","rel":"","context":"WordPress","block_context":{"text":"WordPress","link":"https:\/\/pasero.net\/~mako\/blog\/s\/category\/wordpress"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":49,"url":"https:\/\/pasero.net\/~mako\/blog\/s\/49","url_meta":{"origin":1,"position":4},"title":"WordPress 2.1 \u306b\u79fb\u884c","author":"Mako","date":"2007\u5e742\u67085\u65e5(\u6708)","format":false,"excerpt":"\u3053\u306e\u30b5\u30a4\u30c8\u306e WordPress\u3092 2.0.7 \u304b\u3089 2.1 \u306b\u79fb\u884c\u3057\u305f\u3002\u610f\u5916\u306b\u554f\u984c\u306f\u5c11\u306a\u3044\u30022\u9031\u9593\u2026","rel":"","context":"WordPress","block_context":{"text":"WordPress","link":"https:\/\/pasero.net\/~mako\/blog\/s\/category\/wordpress"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":46,"url":"https:\/\/pasero.net\/~mako\/blog\/s\/46","url_meta":{"origin":1,"position":5},"title":"subversion","author":"Mako","date":"2007\u5e741\u670828\u65e5(\u65e5)","format":false,"excerpt":"\u3088\u3046\u3084\u304f CVS\u304b\u3089subversion\u306b\u79fb\u884c\u3057\u305f\u3002\u81ea\u5206\u4e00\u4eba\u306e\u74b0\u5883\u3060\u3057\u3001\u6ec5\u591a\u306b\u30b3\u30fc\u30c9\u3082\u66f8\u304b\u306a\u3044\u306e\u3067\u4f55\u2026","rel":"","context":"\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2","block_context":{"text":"\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2","link":"https:\/\/pasero.net\/~mako\/blog\/s\/category\/software"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/pasero.net\/~mako\/blog\/wp-json\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pasero.net\/~mako\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pasero.net\/~mako\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pasero.net\/~mako\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/pasero.net\/~mako\/blog\/wp-json\/wp\/v2\/comments?post=1"}],"version-history":[{"count":0,"href":"https:\/\/pasero.net\/~mako\/blog\/wp-json\/wp\/v2\/posts\/1\/revisions"}],"wp:attachment":[{"href":"https:\/\/pasero.net\/~mako\/blog\/wp-json\/wp\/v2\/media?parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pasero.net\/~mako\/blog\/wp-json\/wp\/v2\/categories?post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pasero.net\/~mako\/blog\/wp-json\/wp\/v2\/tags?post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}