-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #10 - Add attachment template to display full size screenshots
- Loading branch information
1 parent
c995c4d
commit a51dcc7
Showing
3 changed files
with
39 additions
and
3 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,11 @@ | ||
<!-- wp:post-title {"level": 1 } /--> | ||
<!-- wp:html --> | ||
<div class="featured"> | ||
[bw_field featured] | ||
</div> | ||
<!-- /wp:html --> | ||
|
||
<!-- wp:html --> | ||
[bw_fields file_size ] | ||
[bw_fields dimensions ] | ||
<!-- /wp:html --> |
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 |
---|---|---|
@@ -1,8 +1,23 @@ | ||
<!-- wp:html --> | ||
<div class="WP_DEBUG">attachment.html</div> | ||
<!-- /wp:html --> | ||
<!-- wp:post-featured-image /--> | ||
|
||
<!-- wp:post-content /--> | ||
<!-- wp:template-part {"slug":"attachment-image","theme":"thisis"} /--> | ||
|
||
<!-- wp:template-part {"slug":"footer","theme":"thisis","style":{"color":{"background":"#f7f7f7"}},"textColor":"foreground","layout":{"inherit":true}} /--> | ||
<!-- wp:group {"layout":{"inherit":true}} --> | ||
<div class="wp-block-group"><!-- wp:post-title {"backgroundColor":"vivid-cyan-blue","textColor":"background"} /--> | ||
|
||
<!-- wp:heading {"level":3} --> | ||
<h3>Caption</h3> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:post-excerpt /--> | ||
|
||
<!-- wp:heading {"level":3} --> | ||
<h3>Description</h3> | ||
<!-- /wp:heading --> | ||
|
||
<!-- wp:post-content /--></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:template-part {"slug":"footer","theme":"thisis","style":{"color":{"background":"#f7f7f7"}},"textColor":"foreground","layout":{"inherit":true}} /--> |
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