{"id":11675680,"date":"2021-10-17T21:10:21","date_gmt":"2021-10-17T12:10:21","guid":{"rendered":"https:\/\/ja.wordpress.org\/support\/topic\/lazy-blocks%e3%81%ae%e8%87%aa%e5%8b%95%e3%81%a7%e4%bb%98%e4%b8%8e%e3%81%95%e3%82%8c%e3%82%8bdiv%e3%81%8c%e5%89%8a%e9%99%a4%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84\/"},"modified":"2021-10-17T21:10:21","modified_gmt":"2021-10-17T12:10:21","slug":"lazy-blocks%e3%81%ae%e8%87%aa%e5%8b%95%e3%81%a7%e4%bb%98%e4%b8%8e%e3%81%95%e3%82%8c%e3%82%8bdiv%e3%81%8c%e5%89%8a%e9%99%a4%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84","status":"publish","type":"topic","link":"https:\/\/ja.wordpress.org\/support\/topic\/lazy-blocks%e3%81%ae%e8%87%aa%e5%8b%95%e3%81%a7%e4%bb%98%e4%b8%8e%e3%81%95%e3%82%8c%e3%82%8bdiv%e3%81%8c%e5%89%8a%e9%99%a4%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84\/","title":{"rendered":"Lazy Blocks\u306e\u81ea\u52d5\u3067\u4ed8\u4e0e\u3055\u308c\u308bdiv\u304c\u524a\u9664\u3067\u304d\u306a\u3044"},"content":{"rendered":"<p>\u73fe\u5728\u30c6\u30fc\u30de\u306fLightning\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30da\u30fc\u30b8\u306bLazy Blocks\u3067\u30d6\u30ed\u30c3\u30af\u3092\u8ffd\u52a0\u3057\u3066\u4f7f\u7528\u3057\u3066\u307e\u3059\u304c\u81ea\u52d5\u3067\u4ed8\u4e0e\u3055\u308c\u308bdiv\u3092\u6d88\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p><a href=\"https:\/\/object-web.com\/blog\/149\/\" rel=\"noopener\" target=\"_blank\">https:\/\/object-web.com\/blog\/149\/<\/a><br \/>\n\u3053\u3061\u3089\u306e\u30b5\u30a4\u30c8\u306e\u307e\u3068\u3081\u3066\u6d88\u3059\u3092\u8a66\u3057\u307e\u3057\u305f\u304c\u3046\u307e\u304f\u6d88\u3048\u307e\u305b\u3093\u3002<\/p>\n<p>\u6700\u521d\u306f\u6d88\u3048\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u306e\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u3092\u5225\u3067\u4f5c\u6210\u3057\u305f\u3068\u3053\u308d\u6d88\u305b\u3066\u3044\u305f\u3082\u306e\u304c\u307e\u305f\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u5225\u3067\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3057\u305f\u3068\u304d\u306b\u884c\u3063\u305f\u3053\u3068\u306f<br \/>\nLightning\u5b50\u30c6\u30fc\u30de\/_g3\/<br \/>\n\u3053\u3053\u306b\u89aa\u30c6\u30fc\u30de\u304b\u3089\u6301\u3063\u3066\u304d\u305findex.php\u3092\u5165\u308c\u3001<\/p>\n<pre><code>&lt;?php lightning_get_template_part( &#039;header&#039; ); ?&gt;\n\n&lt;?php\ndo_action( &#039;lightning_site_header_before&#039;, &#039;lightning_site_header_before&#039; );\nif ( apply_filters( &#039;lightning_is_site_header&#039;, true, &#039;site_header&#039; ) ) {\n\tlightning_get_template_part( &#039;template-parts\/site-header&#039; );\n}\ndo_action( &#039;lightning_site_header_after&#039;, &#039;lightning_site_header_after&#039; );\n?&gt;\n\n&lt;?php\nif ( is_front_page() ) {\n\tif ( apply_filters( &#039;lightning_default_slide_display&#039;, true ) ) {\n\t\tLTG_G3_Slider::display_html();\n\t}\n}\n?&gt;\n\n&lt;?php if ( ! is_front_page() ) : ?&gt;\n\n\t&lt;?php\n\tdo_action( &#039;lightning_page_header_before&#039;, &#039;lightning_page_header_before&#039; );\n\tif ( apply_filters( &#039;lightning_is_page_header&#039;, true, &#039;page_header&#039; ) ) {\n\t\tlightning_get_template_part( &#039;template-parts\/page-header&#039; );\n\t}\n\tdo_action( &#039;lightning_page_header_after&#039;, &#039;lightning_page_header_after&#039; );\n\t?&gt;\n\n\t&lt;?php\n\tdo_action( &#039;lightning_breadcrumb_before&#039;, &#039;lightning_breadcrumb_before&#039; );\n\tif ( apply_filters( &#039;lightning_is_breadcrumb&#039;, true, &#039;breadcrumb&#039; ) ) {\n\t\tVK_Breadcrumb::the_breadcrumb();\n\t}\n\tdo_action( &#039;lightning_breadcrumb_after&#039;, &#039;lightning_breadcrumb_after&#039; );\n\t?&gt;\n\n&lt;?php endif; ?&gt;\n\n&lt;div class=&quot;&lt;?php lightning_the_class_name( &#039;site-body&#039; ); ?&gt;&quot;&gt;\n\t&lt;?php do_action( &#039;lightning_site_body_prepend&#039;, &#039;lightning_site_body_prepend&#039; ); ?&gt;\n\t&lt;div class=&quot;&lt;?php lightning_the_class_name( &#039;site-body-container&#039; ); ?&gt; container&quot;&gt;\n\n\t\t&lt;div class=&quot;&lt;?php lightning_the_class_name( &#039;main-section&#039; ); ?&gt;&quot; id=&quot;main&quot; role=&quot;main&quot;&gt;\n\t\t\t&lt;?php do_action( &#039;lightning_main_section_prepend&#039;, &#039;lightning_main_section_prepend&#039; ); ?&gt;\n\n\t\t\t&lt;?php\n\t\t\tif ( lightning_is_woo_page() ) {\n\t\t\t\tlightning_get_template_part( &#039;template-parts\/main-woocommerce&#039; );\n\t\t\t} else {\n\t\t\t\tif ( apply_filters( &#039;lightning_is_singular&#039;, is_singular() ) ) {\n\t\t\t\t\tlightning_get_template_part( &#039;template-parts\/main-singular&#039; );\n\t\t\t\t} else {\n\n\t\t\t\t\t\n\t\t\t\t\tif (get_post_type() === &#039;work&#039;) {\n\t\t\t\t\t\tlightning_get_template_part( &#039;template-parts\/work-archive&#039; ); \/\/ \u30ab\u30b9\u30bf\u30e0\u6295\u7a3f&#039;work&#039;\u306e\u5834\u5408\u3053\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u547c\u3073\u51fa\u3059\n\t\t\t\t\t} else {\t\n\t\t\t\t\t\tlightning_get_template_part( &#039;template-parts\/main-archive&#039; );\n\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\t?&gt;\n\n\t\t\t&lt;?php do_action( &#039;lightning_main_section_append&#039;, &#039;lightning_main_section_append&#039; ); ?&gt;\n\t\t&lt;\/div&gt;&lt;!-- [ \/.main-section ] --&gt;\n\n\t\t&lt;?php\n\t\tdo_action( &#039;lightning_sub_section_before&#039;, &#039;lightning_sub_section_before&#039; );\n\t\tif ( lightning_is_subsection() ) {\n\t\t\tif ( lightning_is_woo_page() ) {\n\t\t\t\tdo_action( &#039;woocommerce_sidebar&#039; );\n\t\t\t} else {\n\t\t\t\tlightning_get_template_part( &#039;sidebar&#039;, get_post_type() );\n\t\t\t}\n\t\t}\n\t\tdo_action( &#039;lightning_sub_section_after&#039;, &#039;lightning_sub_section_after&#039; );\n\t\t?&gt;\n\n\t&lt;\/div&gt;&lt;!-- [ \/.site-body-container ] --&gt;\n\n\t&lt;?php do_action( &#039;lightning_site_body_apepend&#039;, &#039;lightning_site_body_apepend&#039; ); ?&gt;\n\n&lt;\/div&gt;&lt;!-- [ \/.site-body ] --&gt;\n\n&lt;?php if ( is_active_sidebar( &#039;footer-before-widget&#039; ) ) : ?&gt;\n&lt;div class=&quot;site-body-bottom&quot;&gt;\n\t&lt;div class=&quot;container&quot;&gt;\n\t\t&lt;?php dynamic_sidebar( &#039;footer-before-widget&#039; ); ?&gt;\n\t&lt;\/div&gt;\n&lt;\/div&gt;\n&lt;?php endif; ?&gt;\n\n&lt;?php\ndo_action( &#039;lightning_site_footer_before&#039;, &#039;lightning_site_footer_before&#039; );\nif ( apply_filters( &#039;lightning_is_site_footer&#039;, true, &#039;site_footer&#039; ) ) {\n\tlightning_get_template_part( &#039;template-parts\/site-footer&#039; );\n}\ndo_action( &#039;lightning_site_footer_after&#039;, &#039;lightning_site_footer_after&#039; );\n?&gt;\n\n&lt;?php lightning_get_template_part( &#039;footer&#039; ); ?&gt;\n<\/code><\/pre>\n<p>\u3053\u306e\u8a18\u8ff0\u3092\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3055\u3089\u306bLightning\u5b50\u30c6\u30fc\u30de\/_g3\/template-parts<br \/>\n\u3053\u306e\u4e2d\u306b\u5404\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u306ephp\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3069\u3053\u306b\u8a18\u8ff0\u3092\u3059\u308c\u3070\u6d88\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3067\u3057\u3087\u3046\u304b\uff1f<br \/>\n\u3054\u6559\u6388\u3044\u305f\u3060\u3051\u308c\u3070\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u516c\u5f0f\u3067\u51fa\u3066\u308b\u3001\u4f5c\u6210\u3057\u305f\u30d6\u30ed\u30c3\u30af\u500b\u5225\u306b\u3059\u308b\u3082\u306e\u3082\u8a66\u3057\u307e\u3057\u305f\u304c\u6d88\u305b\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u5b9c\u3057\u304f\u304a\u9858\u3044\u81f4\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"template":"","class_list":["post-11675680","topic","type-topic","status-publish","hentry","topic-tag-14060","topic-tag-lazy-blocks","topic-tag-lightning"],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11675680","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11675680\/revisions"}],"wp:attachment":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11675680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}