-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding custom templates and template parts
- Loading branch information
1 parent
2ab48c8
commit 935b53f
Showing
4 changed files
with
148 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- wp:group {"layout":{"inherit":true,"type":"constrained"}} --> | ||
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"flex"}} --> | ||
<div class="wp-block-group"><!-- wp:post-date {"format":"F j, Y"} /--> | ||
|
||
<!-- wp:post-author {"showAvatar":false} /--> | ||
|
||
<!-- wp:post-terms {"term":"category"} /--> | ||
|
||
<!-- wp:post-terms {"term":"post_tag"} /--></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:spacer {"height":"var(--wp--preset--spacing--30)"} --> | ||
<div style="height:var(--wp--preset--spacing--30)" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
|
||
<!-- wp:separator {"opacity":"css","className":"is-style-wide"} --> | ||
<hr class="wp-block-separator has-css-opacity is-style-wide"/> | ||
<!-- /wp:separator --> | ||
|
||
<!-- wp:comments {"legacy":true} /--></div> | ||
<!-- /wp:group --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!-- wp:template-part {"slug":"header","tagName":"header"} /--> | ||
|
||
<!-- wp:group {"tagName":"main"} --> | ||
<main class="wp-block-group"><!-- wp:group {"layout":{"inherit":true,"type":"constrained"}} --> | ||
<div class="wp-block-group"><!-- wp:post-title {"level":1,"align":"wide"} /--> | ||
|
||
<!-- wp:separator {"opacity":"css","className":"alignwide is-style-wide"} --> | ||
<hr class="wp-block-separator has-css-opacity alignwide is-style-wide"/> | ||
<!-- /wp:separator --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:spacer {"height":"var(--wp--preset--spacing--30)"} --> | ||
<div style="height:var(--wp--preset--spacing--30)" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
|
||
<!-- wp:post-content {"layout":{"inherit":true}} /--></main> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!-- wp:template-part {"slug":"header","tagName":"header"} /--> | ||
|
||
<!-- wp:group {"tagName":"main"} --> | ||
<main class="wp-block-group"><!-- wp:group {"layout":{"inherit":true,"type":"constrained"}} --> | ||
<div class="wp-block-group"><!-- wp:post-title {"level":1,"align":"wide"} /--> | ||
|
||
<!-- wp:separator {"opacity":"css","className":"alignwide is-style-wide"} --> | ||
<hr class="wp-block-separator has-css-opacity alignwide is-style-wide"/> | ||
<!-- /wp:separator --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:spacer {"height":"var(--wp--preset--spacing--30)"} --> | ||
<div style="height:var(--wp--preset--spacing--30)" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
|
||
<!-- wp:post-content {"layout":{"inherit":true}} /--></main> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters