From 56eb881559b0717ac22a7417265873e629f30d4c Mon Sep 17 00:00:00 2001 From: Jason Crist Date: Mon, 6 Jun 2022 10:52:40 -0400 Subject: [PATCH] Moved templates from old folder location to new --- blockbase/inc/block-patterns.php | 2 +- blockbase/{block-template-parts => parts}/footer.html | 0 blockbase/{block-template-parts => parts}/header-centered.html | 0 blockbase/{block-template-parts => parts}/header-default.html | 0 blockbase/{block-template-parts => parts}/header-linear.html | 0 blockbase/{block-template-parts => parts}/header-minimal.html | 0 .../{block-template-parts => parts}/header-rounded-logo.html | 0 blockbase/{block-template-parts => parts}/header-wide.html | 0 blockbase/{block-template-parts => parts}/header.html | 0 blockbase/{block-template-parts => parts}/post-meta-icons.html | 0 blockbase/{block-template-parts => parts}/post-meta.html | 0 blockbase/{block-templates => templates}/404.html | 0 blockbase/{block-templates => templates}/archive.html | 0 blockbase/{block-templates => templates}/blank.html | 0 blockbase/{block-templates => templates}/footer-only.html | 0 .../{block-templates => templates}/header-footer-only.html | 0 blockbase/{block-templates => templates}/index.html | 0 blockbase/{block-templates => templates}/page.html | 0 blockbase/{block-templates => templates}/search.html | 0 blockbase/{block-templates => templates}/single.html | 0 20 files changed, 1 insertion(+), 1 deletion(-) rename blockbase/{block-template-parts => parts}/footer.html (100%) rename blockbase/{block-template-parts => parts}/header-centered.html (100%) rename blockbase/{block-template-parts => parts}/header-default.html (100%) rename blockbase/{block-template-parts => parts}/header-linear.html (100%) rename blockbase/{block-template-parts => parts}/header-minimal.html (100%) rename blockbase/{block-template-parts => parts}/header-rounded-logo.html (100%) rename blockbase/{block-template-parts => parts}/header-wide.html (100%) rename blockbase/{block-template-parts => parts}/header.html (100%) rename blockbase/{block-template-parts => parts}/post-meta-icons.html (100%) rename blockbase/{block-template-parts => parts}/post-meta.html (100%) rename blockbase/{block-templates => templates}/404.html (100%) rename blockbase/{block-templates => templates}/archive.html (100%) rename blockbase/{block-templates => templates}/blank.html (100%) rename blockbase/{block-templates => templates}/footer-only.html (100%) rename blockbase/{block-templates => templates}/header-footer-only.html (100%) rename blockbase/{block-templates => templates}/index.html (100%) rename blockbase/{block-templates => templates}/page.html (100%) rename blockbase/{block-templates => templates}/search.html (100%) rename blockbase/{block-templates => templates}/single.html (100%) diff --git a/blockbase/inc/block-patterns.php b/blockbase/inc/block-patterns.php index be18197e8b..f007fc0d26 100644 --- a/blockbase/inc/block-patterns.php +++ b/blockbase/inc/block-patterns.php @@ -52,7 +52,7 @@ function blockbase_register_block_patterns() { 'title' => __( 'Blockbase Header (' . $header_pattern . ')', 'blockbase' ), 'categories' => array( 'header' ), 'blockTypes' => array( 'core/template-part/header' ), - 'content' => file_get_contents (get_theme_file_path( '/block-template-parts/header-' . $header_pattern . '.html' )), + 'content' => file_get_contents (get_theme_file_path( '/parts/header-' . $header_pattern . '.html' )), ) ); } diff --git a/blockbase/block-template-parts/footer.html b/blockbase/parts/footer.html similarity index 100% rename from blockbase/block-template-parts/footer.html rename to blockbase/parts/footer.html diff --git a/blockbase/block-template-parts/header-centered.html b/blockbase/parts/header-centered.html similarity index 100% rename from blockbase/block-template-parts/header-centered.html rename to blockbase/parts/header-centered.html diff --git a/blockbase/block-template-parts/header-default.html b/blockbase/parts/header-default.html similarity index 100% rename from blockbase/block-template-parts/header-default.html rename to blockbase/parts/header-default.html diff --git a/blockbase/block-template-parts/header-linear.html b/blockbase/parts/header-linear.html similarity index 100% rename from blockbase/block-template-parts/header-linear.html rename to blockbase/parts/header-linear.html diff --git a/blockbase/block-template-parts/header-minimal.html b/blockbase/parts/header-minimal.html similarity index 100% rename from blockbase/block-template-parts/header-minimal.html rename to blockbase/parts/header-minimal.html diff --git a/blockbase/block-template-parts/header-rounded-logo.html b/blockbase/parts/header-rounded-logo.html similarity index 100% rename from blockbase/block-template-parts/header-rounded-logo.html rename to blockbase/parts/header-rounded-logo.html diff --git a/blockbase/block-template-parts/header-wide.html b/blockbase/parts/header-wide.html similarity index 100% rename from blockbase/block-template-parts/header-wide.html rename to blockbase/parts/header-wide.html diff --git a/blockbase/block-template-parts/header.html b/blockbase/parts/header.html similarity index 100% rename from blockbase/block-template-parts/header.html rename to blockbase/parts/header.html diff --git a/blockbase/block-template-parts/post-meta-icons.html b/blockbase/parts/post-meta-icons.html similarity index 100% rename from blockbase/block-template-parts/post-meta-icons.html rename to blockbase/parts/post-meta-icons.html diff --git a/blockbase/block-template-parts/post-meta.html b/blockbase/parts/post-meta.html similarity index 100% rename from blockbase/block-template-parts/post-meta.html rename to blockbase/parts/post-meta.html diff --git a/blockbase/block-templates/404.html b/blockbase/templates/404.html similarity index 100% rename from blockbase/block-templates/404.html rename to blockbase/templates/404.html diff --git a/blockbase/block-templates/archive.html b/blockbase/templates/archive.html similarity index 100% rename from blockbase/block-templates/archive.html rename to blockbase/templates/archive.html diff --git a/blockbase/block-templates/blank.html b/blockbase/templates/blank.html similarity index 100% rename from blockbase/block-templates/blank.html rename to blockbase/templates/blank.html diff --git a/blockbase/block-templates/footer-only.html b/blockbase/templates/footer-only.html similarity index 100% rename from blockbase/block-templates/footer-only.html rename to blockbase/templates/footer-only.html diff --git a/blockbase/block-templates/header-footer-only.html b/blockbase/templates/header-footer-only.html similarity index 100% rename from blockbase/block-templates/header-footer-only.html rename to blockbase/templates/header-footer-only.html diff --git a/blockbase/block-templates/index.html b/blockbase/templates/index.html similarity index 100% rename from blockbase/block-templates/index.html rename to blockbase/templates/index.html diff --git a/blockbase/block-templates/page.html b/blockbase/templates/page.html similarity index 100% rename from blockbase/block-templates/page.html rename to blockbase/templates/page.html diff --git a/blockbase/block-templates/search.html b/blockbase/templates/search.html similarity index 100% rename from blockbase/block-templates/search.html rename to blockbase/templates/search.html diff --git a/blockbase/block-templates/single.html b/blockbase/templates/single.html similarity index 100% rename from blockbase/block-templates/single.html rename to blockbase/templates/single.html