Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Recognize template parts after theme switch
Browse files Browse the repository at this point in the history
  • Loading branch information
nielslange committed Oct 10, 2023
1 parent e8d97cf commit 9d28f06
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions templates/templates/blockified/order-confirmation.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<!-- wp:template-part {"slug":"header"} /-->
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->

<!-- wp:group {"tagName": "main", "layout":{"inherit":true,"type":"constrained"}} -->
<main class="wp-block-group">
<!-- wp:woocommerce/legacy-template {"template":"order-confirmation"} /-->
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer"} /-->

<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
6 changes: 4 additions & 2 deletions templates/templates/order-confirmation.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<!-- wp:template-part {"slug":"header"} /-->
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->

<!-- wp:group {"tagName": "main", "layout":{"inherit":true,"type":"constrained"}} -->
<main class="wp-block-group">
<!-- wp:woocommerce/legacy-template {"template":"order-confirmation"} /-->
</main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer"} /-->

<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

0 comments on commit 9d28f06

Please sign in to comment.