-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Term archive wc porto #183
Open
liviopv
wants to merge
6
commits into
trunk
Choose a base branch
from
term-archive-wc-porto
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
34c0e4f
Clean up TT1 Blocks Page Template markup
liviopv 8a0b917
Update theme.json
liviopv f84868b
Clean up Single Post Template
liviopv dbe0008
Create Archive Template
liviopv 8c257a1
Revert "Create Archive Template"
liviopv c08d5a0
First pass at Term Archive template
liviopv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,39 @@ | ||
<!-- wp:template-part {"slug":"header","tagName":"header"} /--> | ||
|
||
<!-- wp:group {"style":{"color":{"background":"#edece8"},"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"var:preset|spacing|40","right":"var:preset|spacing|40"},"blockGap":"0px","margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"default"}} --> | ||
<div class="wp-block-group has-background" style="background-color:#edece8;margin-top:0px;margin-bottom:0px;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)"><!-- wp:group {"style":{"spacing":{"blockGap":"0px"},"border":{"radius":"12px","color":"#131b1e"}},"layout":{"type":"default"}} --> | ||
<div class="wp-block-group has-border-color" style="border-color:#131b1e;border-radius:12px"><!-- wp:group {"style":{"border":{"radius":{"topLeft":"12px","topRight":"12px"}},"color":{"background":"#131b1e"}},"layout":{"type":"default"}} --> | ||
<div class="wp-block-group has-background" style="border-top-left-radius:12px;border-top-right-radius:12px;background-color:#131b1e"><!-- wp:group {"style":{"color":{"background":"#edece8"},"spacing":{"padding":{"right":"var:preset|spacing|60","left":"var:preset|spacing|60","top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"},"margin":{"top":"0"}},"border":{"radius":"12px"}},"layout":{"type":"default"}} --> | ||
<div class="wp-block-group has-background" style="border-radius:12px;background-color:#edece8;margin-top:0;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--60)"><!-- wp:query-title {"type":"archive","style":{"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"right":"0","left":"0"}}}} /--></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:group {"style":{"border":{"width":"0px","style":"none"}},"layout":{"type":"default"}} --> | ||
<div class="wp-block-group" style="border-style:none;border-width:0px"><!-- wp:query {"queryId":2,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"default"}} --> | ||
<main class="wp-block-query"><!-- wp:group {"style":{"spacing":{"blockGap":"0","padding":{"top":"0","bottom":"0","left":"0","right":"0"}}},"layout":{"type":"default"}} --> | ||
<div class="wp-block-group" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:post-template {"align":"full","style":{"spacing":{"blockGap":"0px"}},"layout":{"type":"grid","columnCount":4}} --> | ||
<!-- wp:group {"style":{"spacing":{"blockGap":"0rem","padding":{"top":"0px","bottom":"0px","left":"0px","right":"0px"}}},"backgroundColor":"black","layout":{"type":"constrained"}} --> | ||
<div class="wp-block-group has-black-background-color has-background" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:group {"style":{"border":{"radius":"12px","top":{"width":"2px"},"right":{"radius":"12px","width":"1px"},"bottom":{"width":"1px"},"left":{"radius":"12px","width":"1px"}},"color":{"background":"#edece8"},"dimensions":{"minHeight":"412px"}},"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"bottom"}} --> | ||
<div class="wp-block-group has-background" style="border-radius:12px;border-top-width:2px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;background-color:#edece8;min-height:412px"><!-- wp:post-date {"isLink":true,"style":{"typography":{"textTransform":"uppercase"}}} /--> | ||
|
||
<!-- wp:post-title {"isLink":true} /--></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --> | ||
<!-- /wp:post-template --></div> | ||
<!-- /wp:group --></main> | ||
<!-- /wp:query --></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:group {"layout":{"inherit":true,"type":"constrained"}} --> | ||
<div class="wp-block-group"><!-- wp:query-pagination --> | ||
<!-- wp:query-pagination-previous /--> | ||
|
||
<!-- wp:query-pagination-numbers /--> | ||
|
||
<!-- wp:query-pagination-next /--> | ||
<!-- /wp:query-pagination --></div> | ||
<!-- /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
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,29 +1,67 @@ | ||
<!-- wp:template-part {"slug":"header","tagName":"header","className":"site-header"} /--> | ||
|
||
<!-- wp:group {"tagName":"main"} --> | ||
<main class="wp-block-group"> | ||
<!-- wp:group {"layout":{"inherit":true}} --> | ||
<div class="wp-block-group"> | ||
<!-- wp:post-title {"level":1,"align":"wide"} /--> | ||
|
||
<!-- wp:separator {"align":"wide","className":"is-style-twentytwentyone-separator-thick"} --> | ||
<hr class="wp-block-separator alignwide is-style-twentytwentyone-separator-thick"/> | ||
<!-- /wp:separator --> | ||
|
||
<!-- wp:spacer {"height":70} --> | ||
<div style="height:70px" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
</div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:post-content {"layout":{"inherit":true}} /--> | ||
|
||
<!-- wp:group {"layout":{"inherit":true}} --> | ||
<div class="wp-block-group"> | ||
<!-- wp:pattern {"slug":"tt1-blocks/comments"} --> | ||
</div> | ||
<!-- /wp:group --> | ||
</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-twentytwentyone-separator-thick"} --> | ||
<hr class="wp-block-separator has-css-opacity alignwide is-style-twentytwentyone-separator-thick"/> | ||
<!-- /wp:separator --> | ||
|
||
<!-- wp:spacer {"height":"70px"} --> | ||
<div style="height:70px" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:post-content {"layout":{"inherit":true}} /--> | ||
|
||
<!-- wp:group {"layout":{"inherit":true,"type":"constrained"}} --> | ||
<div class="wp-block-group"><!-- wp:spacer {"height":"70px"} --> | ||
<div style="height:70px" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
|
||
<!-- wp:comments {"className":"wp-block-comments-query-loop "} --> | ||
<div class="wp-block-comments wp-block-comments-query-loop"><!-- wp:comments-title {"level":3} /--> | ||
|
||
<!-- wp:comment-template --> | ||
<!-- wp:columns --> | ||
<div class="wp-block-columns"><!-- wp:column {"width":"40px"} --> | ||
<div class="wp-block-column" style="flex-basis:40px"></div> | ||
<!-- /wp:column --> | ||
|
||
<!-- wp:column --> | ||
<div class="wp-block-column"><!-- wp:group {"style":{"spacing":{"blockGap":"10px"}},"layout":{"type":"flex","flexWrap":"nowrap"}} --> | ||
<div class="wp-block-group"><!-- wp:avatar {"size":40,"style":{"border":{"radius":"20px"},"spacing":{"margin":{"top":"10px"}}}} /--> | ||
|
||
<!-- wp:group --> | ||
<div class="wp-block-group"><!-- wp:comment-author-name /--> | ||
|
||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"0.5em"}},"layout":{"type":"flex"}} --> | ||
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px"><!-- wp:comment-date {"format":"F j, Y \\a\\t g:i a"} /--> | ||
|
||
<!-- wp:comment-edit-link /--></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:comment-content /--> | ||
|
||
<!-- wp:comment-reply-link /--></div> | ||
<!-- /wp:column --></div> | ||
<!-- /wp:columns --> | ||
<!-- /wp:comment-template --> | ||
|
||
<!-- wp:comments-pagination --> | ||
<!-- wp:comments-pagination-previous /--> | ||
|
||
<!-- wp:comments-pagination-numbers /--> | ||
|
||
<!-- wp:comments-pagination-next /--> | ||
<!-- /wp:comments-pagination --> | ||
|
||
<!-- wp:post-comments-form /--></div> | ||
<!-- /wp:comments --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer"} /--> | ||
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer"} /--></main> | ||
<!-- /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 |
---|---|---|
@@ -1,52 +1,89 @@ | ||
<!-- wp:template-part {"slug":"header","tagName":"header","className":"site-header"} /--> | ||
|
||
<!-- wp:group {"tagName":"main"} --> | ||
<div class="wp-block-group"> | ||
<!-- wp:group {"layout":{"inherit":true}} --> | ||
<div class="wp-block-group"> | ||
<!-- wp:post-title {"level":1,"align":"wide","style":{"typography":{"fontWeight":"300"}}} /--> | ||
<main class="wp-block-group"><!-- wp:group {"layout":{"inherit":true,"type":"constrained"}} --> | ||
<div class="wp-block-group"><!-- wp:post-title {"level":1,"align":"wide","style":{"typography":{"fontWeight":"300"}}} /--> | ||
|
||
<!-- wp:separator {"align":"wide","className":"is-style-twentytwentyone-separator-thick"} --> | ||
<hr class="wp-block-separator alignwide is-style-twentytwentyone-separator-thick"/> | ||
<!-- /wp:separator --> | ||
<!-- wp:separator {"opacity":"css","className":"alignwide is-style-twentytwentyone-separator-thick"} --> | ||
<hr class="wp-block-separator has-css-opacity alignwide is-style-twentytwentyone-separator-thick"/> | ||
<!-- /wp:separator --> | ||
|
||
<!-- wp:spacer {"height":70} --> | ||
<div style="height:70px" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
</div> | ||
<!-- /wp:group --> | ||
<!-- wp:spacer {"height":"70px"} --> | ||
<div style="height:70px" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:post-content {"layout":{"inherit":true}} /--> | ||
|
||
<!-- wp:group {"layout":{"inherit":true,"type":"constrained"}} --> | ||
<div class="wp-block-group"><!-- wp:spacer {"height":"70px"} --> | ||
<div style="height:70px" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
|
||
<!-- wp:separator {"opacity":"css","className":"aligncenter is-style-twentytwentyone-separator-thick"} --> | ||
<hr class="wp-block-separator has-css-opacity aligncenter is-style-twentytwentyone-separator-thick"/> | ||
<!-- /wp:separator --> | ||
|
||
<!-- wp:columns --> | ||
<div class="wp-block-columns"><!-- wp:column --> | ||
<div class="wp-block-column"><!-- wp:post-date /--> | ||
|
||
<!-- wp:post-author {"showAvatar":false,"byline":""} /--></div> | ||
<!-- /wp:column --> | ||
|
||
<!-- wp:column --> | ||
<div class="wp-block-column"><!-- wp:post-terms {"term":"category","textAlign":"right"} /--> | ||
|
||
<!-- wp:post-content {"layout":{"inherit":true}} /--> | ||
<!-- wp:post-terms {"term":"post_tag","textAlign":"right"} /--></div> | ||
<!-- /wp:column --></div> | ||
<!-- /wp:columns --> | ||
|
||
<!-- wp:group {"layout":{"inherit":true}} --> | ||
<div class="wp-block-group"> | ||
<!-- wp:spacer {"height":70} --> | ||
<div style="height:70px" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
<!-- wp:spacer {"height":"70px"} --> | ||
<div style="height:70px" aria-hidden="true" class="wp-block-spacer"></div> | ||
<!-- /wp:spacer --> | ||
|
||
<!-- wp:separator {"align":"center","className":"is-style-twentytwentyone-separator-thick"} --> | ||
<hr class="wp-block-separator aligncenter is-style-twentytwentyone-separator-thick"/> | ||
<!-- /wp:separator --> | ||
<!-- wp:comments {"className":"wp-block-comments-query-loop "} --> | ||
<div class="wp-block-comments wp-block-comments-query-loop"><!-- wp:comments-title {"level":3} /--> | ||
|
||
<!-- wp:comment-template --> | ||
<!-- wp:columns --> | ||
<div class="wp-block-columns"><!-- wp:column {"width":"40px"} --> | ||
<div class="wp-block-column" style="flex-basis:40px"></div> | ||
<!-- /wp:column --> | ||
|
||
<!-- wp:column --> | ||
<div class="wp-block-column"><!-- wp:group {"style":{"spacing":{"blockGap":"10px"}},"layout":{"type":"flex","flexWrap":"nowrap"}} --> | ||
<div class="wp-block-group"><!-- wp:avatar {"size":40,"style":{"border":{"radius":"20px"},"spacing":{"margin":{"top":"10px"}}}} /--> | ||
|
||
<!-- wp:group --> | ||
<div class="wp-block-group"><!-- wp:comment-author-name /--> | ||
|
||
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"0.5em"}},"layout":{"type":"flex"}} --> | ||
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px"><!-- wp:comment-date {"format":"F j, Y \\a\\t g:i a"} /--> | ||
|
||
<!-- wp:comment-edit-link /--></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:columns --> | ||
<div class="wp-block-columns"><!-- wp:column --> | ||
<div class="wp-block-column"><!-- wp:post-date /--> | ||
<!-- wp:comment-content /--> | ||
|
||
<!-- wp:post-author {"showAvatar":false,"byline":""} /--></div> | ||
<!-- /wp:column --> | ||
<!-- wp:comment-reply-link /--></div> | ||
<!-- /wp:column --></div> | ||
<!-- /wp:columns --> | ||
<!-- /wp:comment-template --> | ||
|
||
<!-- wp:column --> | ||
<div class="wp-block-column"><!-- wp:post-terms {"term":"category","textAlign":"right"} /--> | ||
<!-- wp:comments-pagination --> | ||
<!-- wp:comments-pagination-previous /--> | ||
|
||
<!-- wp:post-terms {"term":"post_tag","textAlign":"right"} /--></div> | ||
<!-- /wp:column --></div> | ||
<!-- /wp:columns --> | ||
<!-- wp:comments-pagination-numbers /--> | ||
|
||
<!-- wp:pattern {"slug":"tt1-blocks/comments"} --> | ||
<!-- wp:comments-pagination-next /--> | ||
<!-- /wp:comments-pagination --> | ||
|
||
</div> | ||
<!-- /wp:group --> | ||
</div> | ||
<!-- wp:post-comments-form /--></div> | ||
<!-- /wp:comments --></div> | ||
<!-- /wp:group --> | ||
|
||
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer"} /--> | ||
<!-- wp:template-part {"slug":"footer","tagName":"footer","className":"site-footer"} /--></main> | ||
<!-- /wp:group --> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's separate the changes into different PRs so they can be reviewed individually