This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #382 from WordPress/add-single-portfolio
Add: Single portfolio template
- Loading branch information
Showing
1 changed file
with
41 additions
and
0 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,41 @@ | ||
<?php | ||
/** | ||
* Title: Portfolio Single post Template | ||
* Slug: twentytwentyfour/template-single-portfolio | ||
* Template Types: posts, single | ||
* Viewport width: 1400 | ||
* Inserter: no | ||
*/ | ||
?> | ||
|
||
<!-- wp:group {"style":{"position":{"type":"sticky","top":"0px"}},"layout":{"type":"default"}} --> | ||
<div class="wp-block-group"> | ||
<!-- wp:template-part {"slug":"header","theme":"twentytwentyfour"} /--> | ||
</div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:group {"tagName":"main","align":"full","layout":{"type":"constrained"}} --> | ||
<main class="wp-block-group alignfull"><!-- wp:spacer {"height":"var:preset|spacing|40"} --> | ||
<div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
|
||
<!-- wp:post-featured-image {"align":"wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|20"}}}} /--> | ||
|
||
<!-- wp:columns {"align":"wide"} --> | ||
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"45%"} --> | ||
<div class="wp-block-column" style="flex-basis:45%"></div> | ||
<!-- /wp:column --> | ||
|
||
<!-- wp:column {"width":"55%"} --> | ||
<div class="wp-block-column" style="flex-basis:55%"><!-- wp:pattern {"slug":"twentytwentyfour/post-meta"} /--></div> | ||
<!-- /wp:column --></div> | ||
<!-- /wp:columns --> | ||
|
||
<!-- wp:spacer {"height":"var:preset|spacing|40"} --> | ||
<div style="height:var(--wp--preset--spacing--40)" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
|
||
</main> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:template-part {"slug":"footer-portfolio","area":"footer","tagName":"footer"} /--> |