{"id":5880,"date":"2021-02-26T16:08:41","date_gmt":"2021-02-26T07:08:41","guid":{"rendered":"https:\/\/colors-themes.com\/info\/?page_id=5880"},"modified":"2025-04-11T11:45:47","modified_gmt":"2025-04-11T02:45:47","slug":"storefront-child","status":"publish","type":"page","link":"https:\/\/colors-themes.com\/info\/storefront-child\/","title":{"rendered":"Storefront\u306e\u5b50\u30c6\u30fc\u30de\u306e\u4f5c\u308a\u65b9"},"content":{"rendered":"\n<h1 class=\"wp-block-silent-blocks-block-08 heading-bg title-theme title-style3 title-bg-left\"><span class=\"silent-blocks-align-none\">1. Storefront\u30c6\u30fc\u30de\u3068\u306f<\/span><\/h1>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-theme-directory wp-block-embed-theme-directory\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"n7J0bsDffW\"><a href=\"https:\/\/ja.wordpress.org\/themes\/storefront\/\">Storefront<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Storefront&#8221; &#8212; Theme Directory\" src=\"https:\/\/ja.wordpress.org\/themes\/storefront\/embed\/#?secret=r5oe3nI9xF#?secret=n7J0bsDffW\" data-secret=\"n7J0bsDffW\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Storefront\u30c6\u30fc\u30de\u306f\u3001WooCommerce\u30d7\u30e9\u30b0\u30a4\u30f3\u5bfe\u5fdc\u306eWordPress\u30c6\u30fc\u30de\u3067\u3059\u3002<br>\u6709\u52b9\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6570\u306f20\u4e07\u30b5\u30a4\u30c8\u4ee5\u4e0a\u3067\u3059\u3002<br>WooCommerce\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5229\u7528\u3059\u308b\u3068\u304d\u306b\u3001\u6700\u521d\u306b\u5019\u88dc\u306b\u3042\u304c\u308b\u30c6\u30fc\u30de\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h1 class=\"wp-block-silent-blocks-block-08 heading-bg title-theme title-style3 title-bg-left\"><span class=\"silent-blocks-align-none\">2. Storefront\u30c6\u30fc\u30de\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span><\/h1>\n\n\n\n<p><strong>\u7ba1\u7406\u753b\u9762 \/ \u5916\u89b3 \/ \u30c6\u30fc\u30de<\/strong><\/p>\n\n\n\n<p>\u691c\u7d22\u3067storefront\u3092\u63a2\u3057\u3066\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3001\u6709\u52b9\u5316\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/colors-themes.com\/info\/wp-content\/uploads\/2021\/02\/storefront-install-1024x373.jpg\" alt=\"\" class=\"wp-image-5996\"\/><\/figure>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h1 class=\"wp-block-silent-blocks-block-08 heading-bg title-theme title-style3 title-bg-left\"><span class=\"silent-blocks-align-none\">3. \u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u65b0\u898f\u4f5c\u6210<\/span><\/h1>\n\n\n\n<p><strong>\u7ba1\u7406\u753b\u9762 \/ \u56fa\u5b9a\u30da\u30fc\u30b8 \/ \u65b0\u898f\u8ffd\u52a0<\/strong><br>\u56fa\u5b9a\u30da\u30fc\u30b8\u30924\u30da\u30fc\u30b8\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Toppage<\/li>\n\n\n\n<li>Shop<\/li>\n\n\n\n<li>Blog<\/li>\n\n\n\n<li>Contact<\/li>\n<\/ul>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Toppage<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u53f3\u30d1\u30cd\u30eb\u3067\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u300cHomepage\u300d\u306b\u3059\u308b\u3068\u3001\u7528\u610f\u3055\u308c\u305f\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u8868\u793a\u3055\u308c\u307e\u3059<br>\u203b\u5546\u54c1\u304c\u306a\u3044\u3068\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u753b\u50cf\u3092\u8a2d\u5b9a\u3059\u308b\u3068\u30d2\u30fc\u30ed\u30fc\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u753b\u50cf\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u53f3\u30d1\u30cd\u30eb\u3067\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u300c\u30c7\u30d5\u30a9\u30eb\u30c8\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u300d\u306e\u307e\u307e\u306b\u3059\u308b\u3068\u3001\u901a\u5e38\u306e\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u3068\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1920\" height=\"950\" src=\"https:\/\/colors-themes.com\/info\/wp-content\/uploads\/2021\/02\/storefront1-1.png\" alt=\"\" class=\"wp-image-5988\" srcset=\"https:\/\/colors-themes.com\/info\/wp-content\/uploads\/2021\/02\/storefront1-1.png 1920w, https:\/\/colors-themes.com\/info\/wp-content\/uploads\/2021\/02\/storefront1-1-600x297.png 600w, https:\/\/colors-themes.com\/info\/wp-content\/uploads\/2021\/02\/storefront1-1-300x148.png 300w, https:\/\/colors-themes.com\/info\/wp-content\/uploads\/2021\/02\/storefront1-1-1024x507.png 1024w, https:\/\/colors-themes.com\/info\/wp-content\/uploads\/2021\/02\/storefront1-1-768x380.png 768w, https:\/\/colors-themes.com\/info\/wp-content\/uploads\/2021\/02\/storefront1-1-1536x760.png 1536w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/figure>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h1 class=\"wp-block-silent-blocks-block-08 heading-bg title-theme title-style3 title-bg-left\"><span class=\"silent-blocks-align-none\">4. \u521d\u671f\u8a2d\u5b9a<\/span><\/h1>\n\n\n\n<p><strong>\u7ba1\u7406\u753b\u9762 \/ \u8a2d\u5b9a \/ \u8868\u793a\u8a2d\u5b9a<\/strong><br><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u56fa\u5b9a\u30da\u30fc\u30b8\uff08\u4ee5\u4e0b\u3067\u9078\u629e\uff09\n<ul class=\"wp-block-list\">\n<li>\u30db\u30fc\u30e0\u30da\u30fc\u30b8\uff1a\u3000Toppage<\/li>\n\n\n\n<li>\u6295\u7a3f\u30da\u30fc\u30b8\uff1a\u3000Blog<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/colors-themes.com\/info\/wp-content\/uploads\/2021\/02\/storefront-display-1024x373.png\" alt=\"\" class=\"wp-image-5998\"\/><\/figure>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>\u7ba1\u7406\u753b\u9762 \/ \u5916\u89b3 \/ \u30e1\u30cb\u30e5\u30fc<\/strong><\/p>\n\n\n\n<p>\u30e1\u30cb\u30e5\u30fc\u8a2d\u5b9a\u3067\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u306e\u3088\u3046\u306b\u30012\u304b\u6240\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/colors-themes.com\/info\/wp-content\/uploads\/2021\/02\/storefront2-1024x480.png\" alt=\"\" class=\"wp-image-5992\"\/><\/figure>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>\u7ba1\u7406\u753b\u9762 \/ \u8a2d\u5b9a \/ \u30d1\u30fc\u30de\u30ea\u30f3\u30af\u8a2d\u5b9a<\/strong><\/p>\n\n\n\n<p>\u300c\u6295\u7a3f\u540d\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/colors-themes.com\/info\/wp-content\/uploads\/2020\/07\/link-1024x508.png\" alt=\"\" class=\"wp-image-2833\"\/><\/figure>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong><strong>\u7ba1\u7406\u753b\u9762 \/ WooCommerce \/ \u8a2d\u5b9a \/ \u5546\u54c1<\/strong><\/strong><\/p>\n\n\n\n<p>\u30b7\u30e7\u30c3\u30d7\u30da\u30fc\u30b8\uff1aShop\u30da\u30fc\u30b8\u3092\u95a2\u9023\u4ed8\u3051\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"267\" src=\"https:\/\/colors-themes.com\/info\/wp-content\/uploads\/2022\/05\/woo-setting-1024x267.png\" alt=\"\" class=\"wp-image-7293\" srcset=\"https:\/\/colors-themes.com\/info\/wp-content\/uploads\/2022\/05\/woo-setting-1024x267.png 1024w, https:\/\/colors-themes.com\/info\/wp-content\/uploads\/2022\/05\/woo-setting-600x156.png 600w, https:\/\/colors-themes.com\/info\/wp-content\/uploads\/2022\/05\/woo-setting-300x78.png 300w, https:\/\/colors-themes.com\/info\/wp-content\/uploads\/2022\/05\/woo-setting-768x200.png 768w, https:\/\/colors-themes.com\/info\/wp-content\/uploads\/2022\/05\/woo-setting-1536x400.png 1536w, https:\/\/colors-themes.com\/info\/wp-content\/uploads\/2022\/05\/woo-setting.png 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h1 class=\"wp-block-silent-blocks-block-08 heading-bg title-theme title-style3 title-bg-left\"><span class=\"silent-blocks-align-none\">5. \u5b50\u30c6\u30fc\u30de\u306e\u4f5c\u308a\u65b9<\/span><\/h1>\n\n\n\n<ul class=\"wp-block-list\">\n<li>storefront-child\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u308a\u307e\u3059\u3002<\/li>\n\n\n\n<li>storefront-child\u30d5\u30a9\u30eb\u30c0\u306e\u4e2d\u306b\u3001style.css\u3068functions.php\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308a\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30da\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"500\" height=\"200\" src=\"https:\/\/colors-themes.com\/info\/wp-content\/uploads\/2021\/07\/storefront-child-1.png\" alt=\"\" class=\"wp-image-6656\" srcset=\"https:\/\/colors-themes.com\/info\/wp-content\/uploads\/2021\/07\/storefront-child-1.png 500w, https:\/\/colors-themes.com\/info\/wp-content\/uploads\/2021\/07\/storefront-child-1-300x120.png 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/figure>\n\n\n\n<p><strong>style.css<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@charset \"UTF-8\";\n\/*\nTheme Name: Storefront Child\nAuthor: John Doe\nAuthor URI: https:\/\/example.com\/\nVersion: 1.0.0\nDescription: Storefront Child Theme\nTemplate: storefront\nTags: e-commerce\n*\/<\/code><\/pre>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>functions.php<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\nfunction storefront_child_scripts() {\n\twp_enqueue_style( 'parent-style', get_template_directory_uri() . '\/style.css' );\n}\nadd_action( 'wp_enqueue_scripts', 'storefront_child_scripts' );\n<\/code><\/pre>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-silent-blocks-block-11 heading-line h-theme title-line-style1 title-line-left\"><span class=\"silent-blocks-align-none\">\u65e5\u672c\u8a9e\u8868\u793a\u3092\u6574\u3048\u308b<\/span><\/h2>\n\n\n\n<p>\u65e5\u672c\u8a9e\u3067\u7dba\u9e97\u306b\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<br>style.css\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>style.css<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>body {\n\tposition: relative;\n\tmargin: 0;\n\ttext-align: left;\n\toverflow-x: hidden;\n\tbackground: #fff;\n\tfont-size: 16px;\n\tline-height: 2;\n\tcolor: #333;\n\tfont-family: \"Helvetica Neue\", \"Arial\", \"Hiragino Kaku Gothic ProN\", \"Hiragino Sans\", \"Yu Gothic Medium\", \"Yu Gothic\", \"Meiryo\", sans-serif;\n\tfont-weight: 400;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n\tfont-family: inherit;\n\tline-height: 1.4;\n\tcolor: inherit;\n\tfont-weight: 600;\n\tmargin-top: 0;\n\tmargin-bottom: 0.5rem;\n}\n\nh1 {\n\tfont-size: 1.5rem;\n}\n\nh2 {\n\tfont-size: 1.4rem;\n}\n\nh3 {\n\tfont-size: 1.3rem;\n}\n\nh4 {\n\tfont-size: 1.2rem;\n}\n\nh5 {\n\tfont-size: 1.1rem;\n}\n\nh6 {\n\tfont-size: 1rem;\n}<\/code><\/pre>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-silent-blocks-block-11 heading-line h-theme title-line-style1 title-line-left\"><span class=\"silent-blocks-align-none\">\u30d5\u30c3\u30bf\u30fc\u306e\u30af\u30ec\u30b8\u30c3\u30c8\u524a\u9664\u65b9\u6cd5<\/span><\/h2>\n\n\n\n<p>functions.php\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u53c2\u8003\u5143<br><a href=\"https:\/\/wordpress.org\/support\/topic\/how-to-remove-built-with-storefront-woocommerce-footer\/\">https:\/\/wordpress.org\/support\/topic\/how-to-remove-built-with-storefront-woocommerce-footer\/<\/a><\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>functions.php<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ Remove Credit\nfunction storefront_child_remove_credit() {\n\tremove_action( 'storefront_footer', 'storefront_credit', 20 );\n}\nadd_action( 'init', 'storefront_child_remove_credit', 10 );\n\n\/\/ Add Credit\nfunction storefront_child_add_credit() {\n?&gt;\n&lt;div class=\"site-info\"&gt;\n\t&lt;a href=\"&lt;?php echo esc_url( home_url( '\/' ) ); ?&gt;\"&gt;&lt;?php bloginfo( 'name' ); ?&gt;&lt;\/a&gt;\n&lt;\/div&gt;\n&lt;!-- .site-info --&gt;\n&lt;?php\n}\nadd_action( 'storefront_footer', 'storefront_child_add_credit', 20 );<\/code><\/pre>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-silent-blocks-block-11 heading-line h-theme title-line-style1 title-line-left\"><span class=\"silent-blocks-align-none\">Bootstrap4 \u4e92\u63db\u6027\u5bfe\u5fdc<\/span><\/h2>\n\n\n\n<p>Bootstrap4\u4f7f\u7528\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3068\u4f75\u7528\u3059\u308b\u3068\u30d5\u30c3\u30bf\u30fc\u306e\u8868\u793a\u304c\u5d29\u308c\u307e\u3059\u3002CSS\u306e\u30af\u30e9\u30b9\u540d\u304c\u540c\u3058\u306a\u306e\u304c\u539f\u56e0\u3067\u3059\u3002<br>style.css\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>style.css<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/* Bootstrap4 Compatibility *\/\n.footer-widgets.col-1,\n.footer-widgets.col-2,\n.footer-widgets.col-3,\n.footer-widgets.col-4 {\n\tmax-width: 100%;\n}<\/code><\/pre>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-silent-blocks-block-11 heading-line h-theme title-line-style1 title-line-left\"><span class=\"silent-blocks-align-none\">\u30ed\u30b4\u753b\u50cf\u306e\u554f\u984c<\/span><\/h2>\n\n\n\n<p>\u30ed\u30b4\u753b\u50cf\u304c\u307c\u3084\u3051\u305f\u308a\u3001\u30ed\u30b4\u753b\u50cf\u306e\u53f3\u30b9\u30da\u30fc\u30b9\u304c\u30af\u30ea\u30c3\u30af\u5bfe\u8c61\u3068\u306a\u3063\u3066\u3044\u308b\u306e\u3092\u4fee\u6b63\u3057\u307e\u3059\u3002<br>style.css\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>style.css<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/* Logo Image *\/\n.site-branding a.custom-logo-link {\n\tdisplay: inline-block;\n}<\/code><\/pre>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-silent-blocks-block-11 heading-line h-theme title-line-style1 title-line-left\"><span class=\"silent-blocks-align-none\">\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/span><\/h2>\n\n\n\n<p>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u300cHomepage\u300d\u306b\u3057\u305f\u5834\u5408\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u65b9\u6cd5\u3067\u3059\u3002<br>\u300c\u30c7\u30d5\u30a9\u30eb\u30c8\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u300d\u306e\u307e\u307e\u306e\u5834\u5408\u306f\u95a2\u4fc2\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u300cHomepage\u300d\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u306f\u3001\u6700\u521d\u304b\u3089\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u753b\u50cf\uff0b6\u30bb\u30af\u30b7\u30e7\u30f3\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br>\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u753b\u50cf\u3092\u8a2d\u5b9a\u3057\u3066\u3001Gutenberg\u30a8\u30c7\u30a3\u30bf\u306b\u6587\u5b57\u3092\u66f8\u304f\u3068\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u753b\u50cf\u4e0a\u306b\u6587\u5b57\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br>6\u30bb\u30af\u30b7\u30e7\u30f3\u3092\u4e26\u3073\u66ff\u3048\u308b\u306b\u306f\u3001\u5b50\u30c6\u30fc\u30de\u3092\u4f7f\u3046\u65b9\u6cd5\u3068<a href=\"https:\/\/wordpress.org\/plugins\/homepage-control\/\">Homepage Control\u30d7\u30e9\u30b0\u30a4\u30f3<\/a>&nbsp;\u3092\u4f7f\u3046\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u53c2\u8003\u5143<br><a href=\"https:\/\/www.businessbloomer.com\/storefront-theme-visual-hook-guide\/\">https:\/\/www.businessbloomer.com\/storefront-theme-visual-hook-guide\/<\/a><\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong><strong>functions.php<\/strong><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>function storefront_child_remove_and_add_homepage() {\n\t\/\/ \u6700\u521d\u304b\u3089\u8aad\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b7\u30bb\u30af\u30b7\u30e7\u30f3\u3092\u524a\u9664\u3059\u308b\u5834\u5408\n\tremove_action( 'homepage', 'storefront_homepage_content', 10 ); \/\/ \u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u753b\u50cf\uff0b\u30ad\u30e3\u30d7\u30b7\u30e7\u30f3\n\tremove_action( 'homepage', 'storefront_product_categories', 20 );\n\tremove_action( 'homepage', 'storefront_recent_products', 30 );\n\tremove_action( 'homepage', 'storefront_featured_products', 40 );\n\tremove_action( 'homepage', 'storefront_popular_products', 50 );\n\tremove_action( 'homepage', 'storefront_on_sale_products', 60 );\n\tremove_action( 'homepage', 'storefront_best_selling_products', 70 );\n\t\/\/ \u8ffd\u52a0\u3057\u3066\u4e26\u3073\u66ff\u3048\u3092\u3059\u308b\u5834\u5408\uff08\u6570\u5b57\u3092\u5909\u3048\u307e\u3059\uff09\n\tadd_action( 'homepage', 'storefront_homepage_content', 11 );\n\tadd_action( 'homepage', 'storefront_product_categories', 21 );\n\tadd_action( 'homepage', 'storefront_recent_products', 31 );\n\tadd_action( 'homepage', 'storefront_featured_products', 41 );\n\tadd_action( 'homepage', 'storefront_popular_products', 51 );\n\tadd_action( 'homepage', 'storefront_on_sale_products', 61 );\n\tadd_action( 'homepage', 'storefront_best_selling_products', 71 );\n}\nadd_action( 'init', 'storefront_child_remove_and_add_homepage' );<\/code><\/pre>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-silent-blocks-block-11 heading-line h-theme title-line-style1 title-line-left\"><span class=\"silent-blocks-align-none\">\u30c7\u30b6\u30a4\u30f3\u9762\u306e\u5fae\u8abf\u6574<\/span><\/h2>\n\n\n\n<p>\u30c7\u30b6\u30a4\u30f3\u9762\u306e\u5fae\u8abf\u6574\u3092\u3057\u307e\u3059\u3002<br>style.css\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong><strong>style.css<\/strong><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/* Input Shadow *\/\ninput.search-field {\n\tbox-shadow: none;\n}\n\n\/* Blog Title *\/\n.entry-header .entry-title {\n\tpadding: 30px 0;\n}\n\n\/* Link *\/\na:focus {\n\toutline: none;\n\tcursor: pointer;\n}\n\n.site-branding a,\nul.page-numbers li a,\nul.products li.product a,\n.woocommerce-breadcrumb a,\n.primary-navigation ul li a,\n.storefront-product-section ul.products li a {\n\ttext-decoration: none;\n}<\/code><\/pre>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h1 class=\"wp-block-silent-blocks-block-08 heading-bg title-theme title-style3 title-bg-left\"><span class=\"silent-blocks-align-none\">6. \u307e\u3068\u3081\u30b3\u30fc\u30c9<\/span><\/h1>\n\n\n\n<p>\u3053\u306e\u30da\u30fc\u30b8\u3067\u7d39\u4ecb\u3057\u305f\u5168\u30b3\u30fc\u30c9\u3092\u307e\u3068\u3081\u3066\u3042\u308a\u307e\u3059\u3002<br>\u9069\u5207\u306b\u8868\u793a\u3055\u305b\u308b\u306b\u306f\u3001\u300c<strong>Storefront\u30c6\u30fc\u30de\u306e\u521d\u671f\u8a2d\u5b9a<\/strong>\u300d\u3068\u300c<strong>\u5546\u54c1\u306e\u65b0\u898f\u8ffd\u52a0<\/strong>\u300d\u3092\u3057\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong><strong>style.css<\/strong><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@charset \"UTF-8\";\n\/*\nTheme Name: Storefront Child\nAuthor: John Doe\nAuthor URI: https:\/\/example.com\/\nVersion: 1.0.0\nDescription: Storefront Child Theme\nTemplate: storefront\nTags: e-commerce\n*\/\n\nbody {\n\tposition: relative;\n\tmargin: 0;\n\ttext-align: left;\n\toverflow-x: hidden;\n\tbackground: #fff;\n\tfont-size: 16px;\n\tline-height: 2;\n\tcolor: #333;\n\tfont-family: \"Helvetica Neue\", \"Arial\", \"Hiragino Kaku Gothic ProN\", \"Hiragino Sans\", \"Yu Gothic Medium\", \"Yu Gothic\", \"Meiryo\", sans-serif;\n\tfont-weight: 400;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n\tfont-family: inherit;\n\tline-height: 1.4;\n\tcolor: inherit;\n\tfont-weight: 600;\n\tmargin-top: 0;\n\tmargin-bottom: 0.5rem;\n}\n\nh1 {\n\tfont-size: 1.5rem;\n}\n\nh2 {\n\tfont-size: 1.4rem;\n}\n\nh3 {\n\tfont-size: 1.3rem;\n}\n\nh4 {\n\tfont-size: 1.2rem;\n}\n\nh5 {\n\tfont-size: 1.1rem;\n}\n\nh6 {\n\tfont-size: 1rem;\n}\n\n\/* Bootstrap4 Compatibility *\/\n.footer-widgets.col-1,\n.footer-widgets.col-2,\n.footer-widgets.col-3,\n.footer-widgets.col-4 {\n\tmax-width: 100%;\n}\n\n\/* Logo Image *\/\n.site-branding a.custom-logo-link {\n\tdisplay: inline-block;\n}\n\n\/* Input Shadow *\/\ninput.search-field {\n\tbox-shadow: none;\n}\n\n\/* Blog Title *\/\n.entry-header .entry-title {\n\tpadding: 30px 0;\n}\n\n\/* Link *\/\na:focus {\n\toutline: none;\n\tcursor: pointer;\n}\n\n.site-branding a,\nul.page-numbers li a,\nul.products li.product a,\n.woocommerce-breadcrumb a,\n.primary-navigation ul li a,\n.storefront-product-section ul.products li a {\n\ttext-decoration: none;\n}\n<\/code><\/pre>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong><strong>functions.php<\/strong><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\nfunction storefront_child_scripts() {\n\twp_enqueue_style( 'parent-style', get_template_directory_uri() . '\/style.css' );\n}\nadd_action( 'wp_enqueue_scripts', 'storefront_child_scripts' );\n\n\n\/\/ Remove Credit\nfunction storefront_child_remove_credit() {\n\tremove_action( 'storefront_footer', 'storefront_credit', 20 );\n}\nadd_action( 'init', 'storefront_child_remove_credit', 10 );\n\n\/\/ Add Credit\nfunction storefront_child_add_credit() {\n?&gt;\n&lt;div class=\"site-info\"&gt;\n\t&lt;a href=\"&lt;?php echo esc_url( home_url( '\/' ) ); ?&gt;\"&gt;&lt;?php bloginfo( 'name' ); ?&gt;&lt;\/a&gt;\n&lt;\/div&gt;\n&lt;!-- .site-info --&gt;\n&lt;?php\n}\nadd_action( 'storefront_footer', 'storefront_child_add_credit', 20 );\n\nfunction storefront_child_remove_and_add_homepage() {\n\t\/\/ \u6700\u521d\u304b\u3089\u8aad\u307f\u8fbc\u307e\u308c\u3066\u3044\u308b7\u30bb\u30af\u30b7\u30e7\u30f3\u3092\u524a\u9664\u3059\u308b\u5834\u5408\n\tremove_action( 'homepage', 'storefront_homepage_content', 10 ); \/\/ \u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u753b\u50cf\uff0b\u30ad\u30e3\u30d7\u30b7\u30e7\u30f3\n\tremove_action( 'homepage', 'storefront_product_categories', 20 );\n\tremove_action( 'homepage', 'storefront_recent_products', 30 );\n\tremove_action( 'homepage', 'storefront_featured_products', 40 );\n\tremove_action( 'homepage', 'storefront_popular_products', 50 );\n\tremove_action( 'homepage', 'storefront_on_sale_products', 60 );\n\tremove_action( 'homepage', 'storefront_best_selling_products', 70 );\n\t\/\/ \u8ffd\u52a0\u3057\u3066\u4e26\u3073\u66ff\u3048\u3092\u3059\u308b\u5834\u5408\uff08\u6570\u5b57\u3092\u5909\u3048\u307e\u3059\uff09\n\tadd_action( 'homepage', 'storefront_homepage_content', 11 );\n\tadd_action( 'homepage', 'storefront_product_categories', 21 );\n\tadd_action( 'homepage', 'storefront_recent_products', 31 );\n\tadd_action( 'homepage', 'storefront_featured_products', 41 );\n\tadd_action( 'homepage', 'storefront_popular_products', 51 );\n\tadd_action( 'homepage', 'storefront_on_sale_products', 61 );\n\tadd_action( 'homepage', 'storefront_best_selling_products', 71 );\n}\nadd_action( 'init', 'storefront_child_remove_and_add_homepage' );\n<\/code><\/pre>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Storefront\u30c6\u30fc\u30de\u306f\u3001WooCommerce\u30d7\u30e9\u30b0\u30a4\u30f3\u5bfe\u5fdc\u306eWordPress\u30c6\u30fc\u30de\u3067\u3059\u3002\u6709\u52b9\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6570\u306f20\u4e07\u30b5\u30a4\u30c8\u4ee5\u4e0a\u3067\u3059\u3002WooCommerce\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5229\u7528\u3059\u308b\u3068\u304d\u306b\u3001\u6700\u521d\u306b\u5019\u88dc\u306b\u3042\u304c\u308b\u30c6\u30fc\u30de\u3067\u3059\u3002...<\/p>\n","protected":false},"author":1,"featured_media":6016,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"footnotes":""},"class_list":["post-5880","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/colors-themes.com\/info\/wp-json\/wp\/v2\/pages\/5880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/colors-themes.com\/info\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/colors-themes.com\/info\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/colors-themes.com\/info\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/colors-themes.com\/info\/wp-json\/wp\/v2\/comments?post=5880"}],"version-history":[{"count":26,"href":"https:\/\/colors-themes.com\/info\/wp-json\/wp\/v2\/pages\/5880\/revisions"}],"predecessor-version":[{"id":10706,"href":"https:\/\/colors-themes.com\/info\/wp-json\/wp\/v2\/pages\/5880\/revisions\/10706"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/colors-themes.com\/info\/wp-json\/wp\/v2\/media\/6016"}],"wp:attachment":[{"href":"https:\/\/colors-themes.com\/info\/wp-json\/wp\/v2\/media?parent=5880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}