{"id":132,"date":"2020-12-17T15:52:08","date_gmt":"2020-12-17T06:52:08","guid":{"rendered":"https:\/\/tetlab.jp\/?p=132"},"modified":"2020-12-17T15:52:08","modified_gmt":"2020-12-17T06:52:08","slug":"%e3%80%90wordpress%e3%80%91%e5%ad%90%e3%83%86%e3%83%bc%e3%83%9e%e3%81%a7gogo","status":"publish","type":"post","link":"https:\/\/tetlab.jp\/%e3%80%90wordpress%e3%80%91%e5%ad%90%e3%83%86%e3%83%bc%e3%83%9e%e3%81%a7gogo\/","title":{"rendered":"\u3010WordPress\u3011\u5b50\u30c6\u30fc\u30de\u3067GoGo!"},"content":{"rendered":"\n<p>\u3053\u3093\u306b\u3061\u306f\u3002tetlab\u306e\u30e4\u30de\u30a6\u30c1\u3067\u3059\u3002<br>web\u30b5\u30a4\u30c8\u5236\u4f5c\u306b\u304a\u3044\u3066\u4eca\u306f\u3001wordpress\u306a\u3069\u7c21\u5358\u306b\u4f5c\u308c\u308b\u3082\u306e\u304c\u5897\u3048\u3066\u304d\u307e\u3057\u305f\u3002\u307f\u306a\u3055\u3093\u3082\u305d\u3046\u3044\u3063\u305f\u81ea\u4f5c\u306eweb\u30b5\u30a4\u30c8\u3092\u904b\u55b6\u3057\u3066\u3044\u308b\u65b9\u3082\u591a\u3044\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\uff1f<br>\u4eca\u56de\u306f\u3001\uff11\u6bb5\u968e\u4e0a\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u3046\u3048\u3067\u3001\u66f4\u65b0\u306e\u969b\u306b\u554f\u984c\u304c\u8d77\u304d\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u3001\u5b50\u30c6\u30fc\u30de\u3092\u4f7f\u304a\u3046\u3063\u3066\u304a\u8a71\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u8272\u3005\u306a\u65b9\u304c\u3053\u306e\u5b50\u30c6\u30fc\u30de\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3066\u3044\u308b\u306e\u3067\u308f\u304b\u308a\u3084\u3059\u3044\u65b9\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3057\u3066\u3082\u3089\u3063\u3066\u69cb\u308f\u306a\u3044\u3093\u3067\u3059\u304c\u3001\u3067\u304d\u308b\u9650\u308a\u308f\u304b\u308a\u3084\u3059\u304f\u3044\u3063\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u306e\u3067\u3088\u308d\u3057\u3051\u308c\u3070\u6700\u5f8c\u307e\u3067\u304a\u4ed8\u304d\u5408\u3044\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b50\u30c6\u30fc\u30de\u3063\u3066\uff1f<\/h2>\n\n\n\n<p>\u5b50\u30c6\u30fc\u30de\u3063\u3066\u305d\u3082\u305d\u3082\u4f55\u3063\u3066\u601d\u3046\u65b9\u3082\u3044\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<br>wordpress\u3067\u30d6\u30ed\u30b0\u306a\u3069\u3068\u4f5c\u308b\u969b\u306b\u69d8\u3005\u306a\u30c6\u30fc\u30de\u3092\u9078\u3073\u3001\u305d\u308c\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u4f7f\u3063\u3066\u3044\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<br>\u30c6\u30fc\u30de\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3084\u30d6\u30e9\u30a6\u30b6\u306e\u65b0\u6a5f\u80fd\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u3051\u308b\u3088\u3046\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304c\u5165\u308a\u307e\u3059\u3002\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306e\u300c\u5916\u89b3\u300d\u2192\u300c\u30c6\u30fc\u30de\u30a8\u30c7\u30a3\u30bf\u30fc\u300d\u3092\u958b\u3044\u3066\u76f4\u63a5\u30c6\u30fc\u30de\u3092\u6539\u5909\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u30c6\u30fc\u30de\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067\u66f4\u65b0\u3059\u308b\u3068\u5168\u3066\u521d\u671f\u306e\u30c6\u30fc\u30de\u306b\u623b\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<br>\u7dba\u9e97\u306b\u4f5c\u3063\u305f\u30b5\u30a4\u30c8\u3082\u4e00\u77ac\u3067\u306a\u304b\u3063\u305f\u3082\u306e\u306b\u306a\u3063\u3061\u3083\u3044\u307e\u3059\u3002<br>\u3053\u308c\u306f\u75db\u3044\u3002\u305d\u3053\u3067\u5b50\u30c6\u30fc\u30de\u306e\u767b\u5834\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u5b50\u30c6\u30fc\u30de\u306f\u57fa\u672c\u89aa\u30c6\u30fc\u30de\u306b\u5f93\u3044\u307e\u3059\u3002\u4fee\u6b63\u3084\u6539\u5909\u3057\u305f\u3044\u3068\u3053\u308d\u3060\u3051\u304c\u3001\u5b50\u30c6\u30fc\u30de\u306b\u306a\u308a\u307e\u3059\u3002<br>\u89aa\u306e\u65b9\u91dd\u304c\u5909\u308f\u3063\u3066\u3082\u5b50\u306e\u500b\u6027\u306f\u5909\u308f\u3089\u306a\u3044\u3002\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30c6\u30fc\u30de\u3068\u3044\u308f\u308c\u3066\u3082\u30fb\u30fb\u30fb<\/h2>\n\n\n\n<p>\u9762\u5012\u3067\u3057\u3087\u3002\u305d\u3093\u306a\u8a00\u8449\u304c\u805e\u3053\u3048\u307e\u3059\u304c\u3001\u3053\u308c\u3092\u624b\u9593\u3068\u8a00\u3063\u3066\u306f\u4f55\u3082\u59cb\u307e\u3089\u306a\u3044\u3002\u3044\u3084\u3001\u3080\u3057\u308d\u624b\u9593\u306a\u3093\u3066\u8a00\u308f\u305b\u306a\u3044\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u5b50\u30c6\u30fc\u30de\u3068\u3044\u3046\u4e0b\u6e96\u5099\u3055\u3048\u3057\u3066\u304a\u3051\u3070\u5f8c\u3005\u3001\u5927\u5909\u306a\u72b6\u614b\u306b\u306a\u3089\u305a\u3080\u3057\u308d\u30aa\u30b9\u30b9\u30e1\u3067\u3059\u3002\u3044\u3084\u3001\u6700\u521d\u304b\u3089\u30aa\u30b9\u30b9\u30e1\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4f55\u306f\u3068\u3082\u3042\u308c\u3061\u3087\u3063\u3068\u3084\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1.\u5b50\u30c6\u30fc\u30de\u30d5\u30a9\u30eb\u30c0<\/h3>\n\n\n\n<p>\u30c6\u30fc\u30de\u3068\u3057\u3066\u30c7\u30fc\u30bf\u3092\u307e\u3068\u3081\u308b\u30d5\u30a9\u30eb\u30c0\u304c\u307e\u305a\u306f\u5fc5\u8981\u3067\u3059\u3002<br>\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u308a\u540d\u524d\u3092\u3064\u3051\u307e\u3057\u3087\u3046\u3002<br>\u3069\u3093\u306a\u540d\u524d\u3067\u3082\u69cb\u3044\u307e\u305b\u3093\u304c\u3001\u4ed8\u3051\u308b\u540d\u524d\u306f\u308f\u304b\u308a\u3084\u3059\u3044\u65b9\u304c\u3044\u3044\u3067\u3059\u306d\u3002<br>\u89aa\u30c6\u30fc\u30de\u306e\u540d\u524d\u306b\u305f\u3068\u3048\u3070\u300c-child\u300d\u3068\u304b\u300c-ch\u300d\u306a\u3093\u3066\u8ffd\u52a0\u3057\u305f\u540d\u524d\u306b\u3059\u308b\u3068\u3069\u306e\u89aa\u30c6\u30fc\u30de\u306e\u5b50\u306a\u306e\u304b\u304c\u308f\u304b\u308a\u3084\u3059\u304f\u3066\u3044\u3044\u3068\u304a\u3082\u3044\u307e\u3059\u3002<br>\u308f\u305f\u3057\u306f\u3001\u300c-child\u300d\u6d3e\u3067\u3059\u3002<\/p>\n\n\n\n<p><span class=\"has-inline-color has-vivid-cyan-blue-color\">\u4f8b\uff09twentyfifteen-child<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2.functions.php<\/h3>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>&lt;?php\nadd_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );\nfunction theme_enqueue_styles() {\n  wp_enqueue_style( 'parent-style', get_template_directory_uri() . '\/style.css' );\n  wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '\/style.css', array('parent-style')\n);\n}\n?&gt;<\/pre><\/div>\n\n\n\n<p>\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u3001\u4e0a\u306e\u8a18\u8ff0\u3092\u30b3\u30d4\u30da\u3002<br>functions.php<br>\u3068\u540d\u524d\u3092\u3064\u3051\u3066\u6700\u521d\u306b\u4f5c\u3063\u305f\u30d5\u30a9\u30eb\u30c0\u306e\u4e2d\u306b\u4fdd\u5b58\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>\u3053\u3053\u307e\u3067\u3084\u308c\u3070\u307b\u307c\u7d42\u308f\u3063\u305f\u3082\u540c\u7136\u3067\u3059\u3002\uff08\u6e96\u5099\u304c\u30fb\u30fb\u30fb\uff09<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3.style.css<\/h3>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>\/*\n Theme Name:   Twenty Fifteen-child\n Template:     twentyfifteen\n Version:      1.0.0\n*\/<\/pre><\/div>\n\n\n\n<p>\u305d\u3093\u3067\u3082\u3063\u3066\u3001\u4e0a\u306e\u8a18\u8ff0\u3092\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u306b\u30b3\u30d4\u30da\u3002<br>\u3053\u308c\u306f\u5c11\u3057\u66f8\u304d\u63db\u3048\u304c\u5fc5\u8981\u3002<\/p>\n\n\n\n<p>theme Name:<br>\u3053\u3053\u306b\u306f\uff08\uff11\uff09\u3067\u4f5c\u3063\u305f\u30d5\u30a9\u30eb\u30c0\u306e\u540d\u524d\u3092\u5165\u308c\u308b\u3002<\/p>\n\n\n\n<p><span class=\"has-inline-color has-vivid-cyan-blue-color\">\u4f8b\uff09Theme Name: twentyfifteen-child<\/span><\/p>\n\n\n\n<p>Template: <br>\u3053\u3053\u306f\u89aa\u30c6\u30fc\u30de\u306e<span class=\"has-inline-color has-vivid-red-color\">\u30d5\u30a9\u30eb\u30c0\u540d<\/span>\u3092\u5165\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p><span class=\"has-inline-color has-vivid-cyan-blue-color\">\u4f8b\uff09Template: twentyfifteen<\/span><\/p>\n\n\n\n<p>Version: <br>\u3053\u3053\u306f\u89aa\u30c6\u30fc\u30de\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u30ca\u30f3\u30d0\u30fc\u3092\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p><span class=\"has-inline-color has-vivid-cyan-blue-color\">\u4f8b\uff09Version: 1.0.0<\/span><\/p>\n\n\n\n<p>\u3053\u306e3\u7b87\u6240\u3092\u4fee\u6b63\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br>style.css<br>\u306e\u540d\u524d\u3067\u3053\u3061\u3089\u3082\u6700\u521d\u306b\u4f5c\u3063\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u4fdd\u5b58\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3067\u6700\u4f4e\u9650\u3067\u3059\u304c\u4e00\u5fdc\u306e\u6e96\u5099\u306f\u4e07\u5168\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3042\u3068\u306f\u601d\u3046\u5b58\u5206\u4fee\u6b63\u3057\u3061\u3083\u3063\u3066\u304f\u3060\u3055\u3044\u3002<br>\u89aa\u30c6\u30fc\u30de\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306e\u901a\u77e5\u304c\u6765\u3066\u3082\u5fc3\u914d\u3059\u308b\u3053\u3068\u306a\u304f\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u3042\u3052\u3089\u308c\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002tetlab\u306e\u30e4\u30de\u30a6\u30c1\u3067\u3059\u3002web\u30b5\u30a4\u30c8\u5236\u4f5c\u306b\u304a\u3044\u3066\u4eca\u306f\u3001wordpress\u306a\u3069\u7c21\u5358\u306b\u4f5c\u308c\u308b\u3082\u306e\u304c\u5897\u3048\u3066\u304d\u307e\u3057\u305f\u3002\u307f\u306a\u3055\u3093\u3082\u305d\u3046\u3044\u3063\u305f\u81ea\u4f5c\u306eweb\u30b5\u30a4\u30c8\u3092\u904b\u55b6\u3057\u3066\u3044\u308b\u65b9\u3082\u591a\u3044\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\uff1f\u4eca\u56de\u306f\u3001\uff11\u6bb5\u2026<\/p>\n","protected":false},"author":1,"featured_media":149,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[7],"class_list":["post-132","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-6","tag-wp"],"_links":{"self":[{"href":"https:\/\/tetlab.jp\/wp-json\/wp\/v2\/posts\/132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tetlab.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tetlab.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tetlab.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tetlab.jp\/wp-json\/wp\/v2\/comments?post=132"}],"version-history":[{"count":8,"href":"https:\/\/tetlab.jp\/wp-json\/wp\/v2\/posts\/132\/revisions"}],"predecessor-version":[{"id":171,"href":"https:\/\/tetlab.jp\/wp-json\/wp\/v2\/posts\/132\/revisions\/171"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tetlab.jp\/wp-json\/wp\/v2\/media\/149"}],"wp:attachment":[{"href":"https:\/\/tetlab.jp\/wp-json\/wp\/v2\/media?parent=132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tetlab.jp\/wp-json\/wp\/v2\/categories?post=132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tetlab.jp\/wp-json\/wp\/v2\/tags?post=132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}