{"id":150,"date":"2018-10-01T09:47:18","date_gmt":"2018-10-01T00:47:18","guid":{"rendered":"https:\/\/058.jp\/twentyseventeen\/?p=150"},"modified":"2018-10-01T10:26:20","modified_gmt":"2018-10-01T01:26:20","slug":"%e3%83%95%e3%83%83%e3%82%af%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6head%e5%86%85%e3%81%ab%e3%82%bf%e3%82%b0%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/058.jp\/twentyseventeen\/archives\/150","title":{"rendered":"\u30d5\u30c3\u30af\u3092\u4f7f\u3063\u3066head\u5185\u306b\u30bf\u30b0\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>functions.php \u3084\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304f\u3068\u3001head\u5185\u306b\u30bf\u30b0\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<pre>\r\nadd_action( 'wp_head', 'add_meta_to_head' );\r\nfunction add_meta_to_head() {\r\n  echo '\u3053\u3053\u306bhead\u5185\u306b\u51fa\u529b\u3057\u305f\u3044HTML\u3084script\u3092\u66f8\u304f';\r\n}\r\n<\/pre>\n<p>\u3053\u308c\u304c\u3067\u304d\u308b\u3068\u3001GoogleAnalytics\u3001GoogleAdSense\u3001GoogleMaps\u30e9\u30a4\u30d6\u30e9\u30ea\u3001OGP\u5bfe\u5fdcmeta\u30bf\u30b0\u633f\u5165\u306a\u3069\u3001\u3044\u308d\u3044\u308d\u306a\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u4f7f\u7528\u4f8b<\/h3>\n<pre>\r\nadd_action( 'wp_head', 'add_meta_to_head' );\r\nfunction add_meta_to_head() {\r\n  echo '<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">';\r\n}\r\n<\/pre>\n<pre>\r\nadd_action( 'wp_head', 'add_meta_to_head' );\r\nfunction add_meta_to_head() {\r\n?&gt;\r\n&lt;script&gt;\r\n  $(function(){\r\n    \/\/\u4f55\u304b\u51e6\u7406\u3092\u3059\u308b\r\n  });\r\n&lt;\/script&gt;\r\n&lt;?php\r\n}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>functions.php \u3084\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304f\u3068\u3001head\u5185\u306b\u30bf\u30b0\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-150","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/posts\/150","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=150"}],"version-history":[{"count":3,"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/posts\/150\/revisions"}],"predecessor-version":[{"id":157,"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/posts\/150\/revisions\/157"}],"wp:attachment":[{"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/media?parent=150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/categories?post=150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/tags?post=150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}