{"id":99,"date":"2018-09-30T23:58:57","date_gmt":"2018-09-30T14:58:57","guid":{"rendered":"https:\/\/058.jp\/twentyseventeen\/?p=99"},"modified":"2018-10-02T08:33:37","modified_gmt":"2018-10-01T23:33:37","slug":"%e3%83%95%e3%83%83%e3%82%bf%e3%83%bc%e3%81%ae%e3%80%8cproudly-powered-by-wordpress%e3%80%8d%e3%82%92%e6%9b%b8%e3%81%8d%e6%8f%9b%e3%81%88%e3%82%8b%e3%81%ab%e3%81%af%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/058.jp\/twentyseventeen\/archives\/99","title":{"rendered":"\u30d5\u30c3\u30bf\u30fc\u306e\u300cProudly powered by WordPress\u300d\u3092\u66f8\u304d\u63db\u3048\u308b\u306b\u306f\uff1f"},"content":{"rendered":"<p>\u5b50\u30c6\u30fc\u30de\u3067\u4e0a\u66f8\u304d\u306a\u3089\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<h3>\u5b50\u30c6\u30fc\u30de\u3092\u4f5c\u3063\u3066\u3044\u308b\u5834\u5408<\/h3>\n<p>\u30d5\u30c3\u30bf\u30fc\u306e\u300cProudly powered by WordPress\u300d\u306e\u90e8\u5206\u306f\u3001Twenty Seventeen \u306e\u30c6\u30fc\u30de\u306e\u4e2d\u306e template-parts\/footer\/site-info.php \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>twentyseventeen\/ \u306e\u5185\u90e8\u3068\u540c\u3058\u914d\u7f6e\u3067\u3001mytwentyseventeen\/ \u306e\u5185\u90e8\u306b template-parts\/footer\/site-info.php \u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3059\u308c\u3070\u3001\u5b50\u30c6\u30fc\u30de\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>mytwentyseventeen\/template-parts\/footer\/site-info.php \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308b\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u69cb\u6210\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre>\r\nthemes\r\n|-- mytwentyseventeen\r\n|   |-- functions.php\r\n|   |-- style.css\r\n|   `-- template-parts\r\n|       `-- footer\r\n|           `-- site-info.php <strong style=\"color:#d00;\">\u2190\u3053\u308c\u3092\u8ffd\u52a0<\/strong>\r\n`-- twentyseventeen\r\n    |-- 404.php\r\n    |-- archive.php\r\n\uff08\u7565\uff09\r\n    |-- style.css\r\n    `-- template-parts\r\n        |-- footer\r\n        |   |-- footer-widgets.php\r\n        |   `-- site-info.php <strong style=\"color:#d00;\">\u2190\u3053\u308c\u3092\u4e0a\u66f8\u304d\u3057\u305f\u3044<\/strong>\r\n        |-- header\r\n        |   |-- header-image.php\r\n<\/pre>\n<p>template-parts\/footer\/site-info.php \u306e\u4e2d\u8eab\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u30a8\u30e9\u30fc\u3092\u8d77\u3053\u3055\u306a\u3044\u3088\u3046\u306b\u6c17\u3092\u4ed8\u3051\u3066\u3001\u597d\u304d\u306a\u5185\u5bb9\u306b\u66f8\u304d\u63db\u3048\u308b\u3068\u3088\u3044\u3067\u3059\u3002<\/p>\n<pre>\r\n&lt;?php\r\n\/**\r\n * Displays footer site info\r\n *\r\n * @package WordPress\r\n * @subpackage Twenty_Seventeen\r\n * @since 1.0\r\n * @version 1.0\r\n *\/\r\n\r\n?&gt;\r\n&lt;div class=&quot;site-info&quot;&gt;\r\n        &lt;?php\r\n        if ( function_exists( 'the_privacy_policy_link' ) ) {\r\n                the_privacy_policy_link( '', '&lt;span role=&quot;separator&quot; aria-hidden=&quot;true&quot;&gt;&lt;\/span&gt;' );\r\n        }\r\n        ?&gt;\r\n        &lt;a href=&quot;&lt;?php echo esc_url( __( 'https:\/\/wordpress.org\/', 'twentyseventeen' ) ); ?&gt;&quot; class=&quot;imprint&quot;&gt;\r\n                &lt;?php printf( __( 'Proudly powered by %s', 'twentyseventeen' ), 'WordPress' ); ?&gt;\r\n        &lt;\/a&gt;\r\n&lt;\/div&gt;&lt;!-- .site-info --&gt;\r\n<\/pre>\n<h3>\u30d5\u30c3\u30af\u3067\u5bfe\u5fdc\u3059\u308b\u5834\u5408<\/h3>\n<p>\u30d5\u30c3\u30af\u3067\u306f\u300cProudly powered by WordPress\u300d\u306f\u524a\u9664\u3001\u4e0a\u66f8\u304d\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u30d7\u30e9\u30b0\u30a4\u30f3\u3084functions.php \u306a\u3069\u3067\u5bfe\u5fdc\u3059\u308b\u306e\u306f\u7121\u7406\u3067\u3057\u305f\u3002<\/p>\n<p>\u304b\u308d\u3046\u3058\u3066\u3001footer.php \u3067\u3001get_template_part( &#8216;template-parts\/footer\/site&#8217;, &#8216;info&#8217; ); \u304c\u547c\u3070\u308c\u3066\u3001twentyseventeen\/template-parts\/footer\/site-info.php \u304c\u8aad\u307f\u8fbc\u307e\u308c\u308b\u3068\u304d\u306b\u3001\u30a2\u30af\u30b7\u30e7\u30f3\u30d5\u30c3\u30af\u304c\u547c\u3070\u308c\u308b\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u201d\u8ffd\u8a18\u201d\u306a\u3089\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<pre>\r\nfunction my_site_info($slug, $name)\r\n{\r\n        if ($name == 'info') {\r\n?&gt;&lt;div class=\"site-info\"&gt;Copyright &amp;copy; &lt;?php echo date('Y'); ?&gt; &lt;a href=\"https:\/\/example.com\/\" class=\"imprint\"&gt;example.com&lt;\/a&gt; All rights reserved.&lt;\/div&gt;&lt;?php\r\n        }\r\n}\r\nadd_action( 'get_template_part_template-parts\/footer\/site', 'my_site_info', 10, 2 );\r\n<\/pre>\n<p>\u7d50\u679c\u306f\u4e0b\u56f3\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/058.jp\/twentyseventeen\/wp\/wp-content\/uploads\/2018\/09\/footer-site-info.png\" alt=\"footer\u306b\u8ffd\u8a18\u3059\u308b\u4f8b\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b50\u30c6\u30fc\u30de\u3067\u4e0a\u66f8\u304d\u306a\u3089\u53ef\u80fd\u3067\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":[9],"tags":[],"class_list":["post-99","post","type-post","status-publish","format-standard","hentry","category-adjustment"],"_links":{"self":[{"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/posts\/99","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=99"}],"version-history":[{"count":5,"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/posts\/99\/revisions"}],"predecessor-version":[{"id":107,"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/posts\/99\/revisions\/107"}],"wp:attachment":[{"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/media?parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/categories?post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/058.jp\/twentyseventeen\/wp-json\/wp\/v2\/tags?post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}