Skip to content

Commit

Permalink
Issue #14 - add full-width and output-input custom templates
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed May 5, 2021
1 parent 79e8d7e commit 026c557
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
5 changes: 5 additions & 0 deletions block-template-parts/contents-shortcode.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[contents]
[guts]
[bw_wpadmin]

<!-- wp:oik-css/css {"css":"p { border: 1px solid red; }\nbr { background: #eee; padding: 0px; content: \u0022A\u0022 !important;\n display: block !important; border: 1px red dotted;} ","text":"Problems? "} /-->
19 changes: 19 additions & 0 deletions block-templates/full-width.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!-- wp:template-part {"slug":"header","theme":"thisis"} /-->

<!-- wp:group {"backgroundColor":"site-header-background","layout":{"inherit":true}} -->
<div class="wp-block-group has-site-header-background-background-color has-background"><!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:post-title {"align":"wide","style":{"typography":{"fontFamily":"var:preset|font-family|opensans"}},"textColor":"very-light-gray"} /--></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group -->

<!-- wp:post-featured-image /-->

<!-- wp:post-content /-->

<!-- wp:template-part {"slug":"page-tree","theme":"thisis","layout":{"inherit":true}} /-->

<!-- wp:template-part {"slug":"footer","theme":"thisis","backgroundColor":"very-light-gray","textColor":"foreground","layout":{"inherit":true}} /-->

<!-- wp:template-part {"slug":"post-footer-stuff","theme":"thisis"} /-->
3 changes: 3 additions & 0 deletions block-templates/output-input.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<!-- wp:post-title /-->
<!-- wp:post-content /-->
<!-- wp:template-part {"slug":"contents-shortcode","theme":"thisis"} /-->

0 comments on commit 026c557

Please sign in to comment.