{"id":1,"date":"2018-09-30T17:43:59","date_gmt":"2018-09-30T08:43:59","guid":{"rendered":"https:\/\/058.jp\/twentyseventeen\/wp\/?p=1"},"modified":"2020-04-20T10:38:30","modified_gmt":"2020-04-20T01:38:30","slug":"hello-world","status":"publish","type":"post","link":"https:\/\/058.jp\/twentyseventeen\/archives\/1","title":{"rendered":"twentyseventeen\u306e\u5b50\u30c6\u30fc\u30de\u4f5c\u6210"},"content":{"rendered":"<p>WordPress\u63d0\u4f9b\u306e\u30c6\u30fc\u30de Twenty Sventeen \u3092\u4f7f\u3044\u5012\u3059\u306b\u3042\u305f\u3063\u3066\u3001Twenty Sventeen \u3092\u76f4\u63a5\u3044\u3058\u304f\u308b\u306e\u306f\u304a\u52e7\u3081\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p><!--more--><\/p>\n<p>Twenty Sventeen \u3092\u30d9\u30fc\u30b9\u3068\u3057\u3066\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u305f\u30c6\u30fc\u30de\u3092\u4f5c\u308a\u305f\u3044\u3068\u304d\u306f\u3001Twenty Sventeen \u3092\u89aa\u3068\u3059\u308b\u3001\u5b50\u30c6\u30fc\u30de\u3092\u4f5c\u6210\u3059\u308b\u306e\u304c\u3088\u3044\u3067\u3059\u3002<\/p>\n<p>Twenty Sventeen \u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u3066\u3044\u304d\u307e\u3059\u304c\u3001\u305d\u3093\u306a\u6642\u306b\u3082\u3001\u89aa\u30c6\u30fc\u30de\u306f\u305d\u306e\u307e\u307e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3055\u305b\u3066\u3001\u5b50\u30c6\u30fc\u30de\u306f\u5909\u308f\u3089\u305a\u305d\u306e\u307e\u307e\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u5b50\u30c6\u30fc\u30de\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u308b<\/h3>\n<p>\u672b\u5c3e\u306b -2 \u3084 -child \u3092\u4ed8\u3051\u308b\u306a\u3069\u3001\u3084\u308a\u65b9\u306f\u4eba\u305d\u308c\u305e\u308c\u3067\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u306f \u982d\u306b my \u3092\u4ed8\u3051\u308b\u65b9\u5411\u3067\u884c\u304d\u307e\u3059\u3002<\/p>\n<p>mytwentyseventeen \u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<pre>|-- wp-content\n|   |-- themes\n|   |   |-- mytwentyseventeen \uff08\u2190 \u4eca \u4f5c\u6210\u3057\u305f\u3082\u306e\uff09\n|   |   `-- twentyseventeen \uff08\u2190 \u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30c6\u30fc\u30de\u3002\u5143\u3005\u3042\u308b\u3002\uff09\n<\/pre>\n<h3>\u5b50\u30c6\u30fc\u30de\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u306b style.css \u3092\u4f5c\u308b<\/h3>\n<p>mytwentyseventeen\/style.css \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308a\u3001\u4e2d\u8eab\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre>\/*\n Theme Name: My Twenty Seventeen\n Template: twentyseventeen\n*\/\n<\/pre>\n<p>Theme Name \u306f\u4ed6\u3068\u91cd\u8907\u3057\u306a\u3044\u72ec\u81ea\u306e\u540d\u524d\u3092\u4ed8\u3051\u308b\u3053\u3068\u3002<\/p>\n<p>Template \u306f\u89aa\u30c6\u30fc\u30de\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d\u306b\u3059\u308b\u3053\u3068\u3002<\/p>\n<h3>\u89aa\u30c6\u30fc\u30de\u306e\u30b9\u30bf\u30a4\u30eb\u30b7\u30fc\u30c8\u3092\u8aad\u307f\u8fbc\u3080\u3088\u3046\u306b\u3059\u308b<\/h3>\n<p>mytwentyseventeen\/functions.php \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308a\u3001\u4e2d\u8eab\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre>&lt;?php\nadd_action( 'wp_enqueue_scripts', 'my_wp_enqueue_scripts' );\nfunction my_wp_enqueue_scripts() {\n  $parent_style = 'twentyseventeen-style';\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<\/pre>\n<h3>\u5b50\u30c6\u30fc\u30de\u3092\u6709\u52b9\u5316\u3059\u308b<\/h3>\n<p>\u3053\u308c\u3060\u3051\u3067\u5b50\u30c6\u30fc\u30de\u304c\u4f7f\u7528\u53ef\u80fd\u306b\u306a\u308b\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/058.jp\/twentyseventeen\/wp\/wp-content\/uploads\/2018\/09\/child-theme-1.png\" alt=\"\u30c6\u30fc\u30de\u304c\u9078\u629e\u53ef\u80fd\" \/><\/p>\n<p>\u6700\u4f4e\u9650\u306e\u3053\u3068\u3057\u304b\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u3068\u3066\u3082\u305d\u3063\u3051\u306a\u3044\u30c6\u30fc\u30de\u3060\u3051\u3069\u3001\u6709\u52b9\u5316\u304c\u53ef\u80fd\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/058.jp\/twentyseventeen\/wp\/wp-content\/uploads\/2018\/09\/child-theme-2.png\" alt=\"\u30c6\u30fc\u30de\u3092\u6709\u52b9\u5316\" \/><\/p>\n<h3>\u5b50\u30c6\u30fc\u30de\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/h3>\n<p>\u3053\u3053\u307e\u3067\u3067\u304d\u305f\u3089\u3001\u57fa\u672c\u306f\u89aa\u30c6\u30fc\u30de\u304c\u9069\u7528\u3055\u308c\u3066\u3001\u5fc5\u8981\u306a\u500b\u6240\u306b\u5b50\u30c6\u30fc\u30de\u3092\u9069\u7528\u3057\u3066\u3044\u304f\u5f62\u3067\u30c6\u30fc\u30de\u3092\u4f5c\u3063\u3066\u3044\u3051\u308b\u3002<\/p>\n<p>\u2192 <a href=\"31\">twentyseventeen\u306e\u5b50\u30c6\u30fc\u30de\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u63d0\u4f9b\u306e\u30c6\u30fc\u30de Twenty Sventeen \u3092\u4f7f\u3044\u5012\u3059\u306b\u3042\u305f\u3063\u3066\u3001Twenty Sventeen \u3092\u76f4\u63a5\u3044\u3058\u304f\u308b\u306e\u306f\u304a\u52e7\u3081\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,9],"tags":[],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-add-functions","category-adjustment"],"_links":{"self":[{"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/comments?post=1"}],"version-history":[{"count":8,"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":483,"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/posts\/1\/revisions\/483"}],"wp:attachment":[{"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/media?parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/categories?post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/tags?post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}