our-work: add filter to posts query
This commit is contained in:
parent
8a35c8a9ed
commit
817a6561e0
18
parts/useful-links.html
Normal file
18
parts/useful-links.html
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"textColor":"secondary","layout":{"type":"constrained","justifyContent":"center"}} -->
|
||||||
|
<div class="wp-block-group has-secondary-color has-text-color">
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":3,"style":{"typography":{"fontSize":"14px"}},"fontFamily":"ft88"} -->
|
||||||
|
<h3 class="has-text-align-center has-ft-88-font-family" style="font-size:14px">Useful links</h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}},"typography":{"textTransform":"uppercase","fontStyle":"normal","fontWeight":"700"}},"fontSize":"small"} -->
|
||||||
|
<p class="has-text-align-center has-link-color has-small-font-size"
|
||||||
|
style="font-style:normal;font-weight:700;text-transform:uppercase"><a href="#">Portfolio presentation</a></p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}},"typography":{"textTransform":"uppercase","fontStyle":"normal","fontWeight":"700"}},"fontSize":"small"} -->
|
||||||
|
<p class="has-text-align-center has-link-color has-small-font-size"
|
||||||
|
style="font-style:normal;font-weight:700;text-transform:uppercase"><a href="#">Design portfolio
|
||||||
|
presentation</a></p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
56
templates/blog.html
Normal file
56
templates/blog.html
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"96px"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group" style="padding-top:96px"><!-- wp:columns -->
|
||||||
|
<div class="wp-block-columns"><!-- wp:column {"width":"20%"} -->
|
||||||
|
<div class="wp-block-column" style="flex-basis:20%">
|
||||||
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"188px","right":"64px"}}},"layout":{"type":"constrained"}} -->
|
||||||
|
<div class="wp-block-group" style="padding-top:188px;padding-right:64px">
|
||||||
|
<!-- wp:template-part {"slug":"nav-menu","theme":"autonomic-block-theme","area":"uncategorized"} /-->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
<!-- wp:column {"width":"64%"} -->
|
||||||
|
<div class="wp-block-column" style="flex-basis:64%"><!-- wp:post-title {"level":1,"textColor":"secondary"} /-->
|
||||||
|
|
||||||
|
<!-- wp:query {"queryId":40,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"parents":[]}} -->
|
||||||
|
<div class="wp-block-query"><!-- wp:post-template -->
|
||||||
|
<!-- wp:post-title {"isLink":true,"style":{"typography":{"textDecoration":"none"},"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}}}} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-featured-image {"isLink":true,"align":"wide","style":{"border":{"width":"1px"}},"borderColor":"primary"} /-->
|
||||||
|
|
||||||
|
<!-- wp:post-excerpt {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|70"}}}} /-->
|
||||||
|
<!-- /wp:post-template -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:query -->
|
||||||
|
|
||||||
|
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"textColor":"secondary","layout":{"type":"constrained","justifyContent":"center"}} -->
|
||||||
|
<div class="wp-block-group has-secondary-color has-text-color">
|
||||||
|
<!-- wp:heading {"textAlign":"center","level":3,"style":{"typography":{"fontSize":"14px"}},"fontFamily":"ft88"} -->
|
||||||
|
<h3 class="has-text-align-center has-ft-88-font-family" style="font-size:14px">Useful links</h3>
|
||||||
|
<!-- /wp:heading -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}},"typography":{"textTransform":"uppercase","fontStyle":"normal","fontWeight":"700"}},"fontSize":"small"} -->
|
||||||
|
<p class="has-text-align-center has-link-color has-small-font-size"
|
||||||
|
style="font-style:normal;font-weight:700;text-transform:uppercase"><a href="#">Portfolio presentation</a></p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
|
||||||
|
<!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}},"typography":{"textTransform":"uppercase","fontStyle":"normal","fontWeight":"700"}},"fontSize":"small"} -->
|
||||||
|
<p class="has-text-align-center has-link-color has-small-font-size"
|
||||||
|
style="font-style:normal;font-weight:700;text-transform:uppercase"><a href="#">Design portfolio
|
||||||
|
presentation</a></p>
|
||||||
|
<!-- /wp:paragraph -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
<!-- wp:column {"width":"16%"} -->
|
||||||
|
<div class="wp-block-column" style="flex-basis:16%"></div>
|
||||||
|
<!-- /wp:column -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:columns -->
|
||||||
|
</div>
|
||||||
|
<!-- /wp:group -->
|
||||||
|
|
||||||
|
<!-- wp:template-part {"slug":"footer","theme":"autonomic-block-theme"} /-->
|
@ -4,8 +4,7 @@
|
|||||||
<div class="wp-block-column" style="flex-basis:20%">
|
<div class="wp-block-column" style="flex-basis:20%">
|
||||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"188px","right":"64px"}}},"layout":{"type":"constrained"}} -->
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"188px","right":"64px"}}},"layout":{"type":"constrained"}} -->
|
||||||
<div class="wp-block-group" style="padding-top:188px;padding-right:64px">
|
<div class="wp-block-group" style="padding-top:188px;padding-right:64px">
|
||||||
<!-- wp:template-part {"slug":"nav-menu","theme":"autonomic-block-theme","area":"uncategorized"} /-->
|
<!-- wp:template-part {"slug":"nav-menu","theme":"autonomic-block-theme","area":"uncategorized"} /--></div>
|
||||||
</div>
|
|
||||||
<!-- /wp:group -->
|
<!-- /wp:group -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /wp:column -->
|
<!-- /wp:column -->
|
||||||
@ -13,35 +12,18 @@
|
|||||||
<!-- wp:column {"width":"64%"} -->
|
<!-- wp:column {"width":"64%"} -->
|
||||||
<div class="wp-block-column" style="flex-basis:64%"><!-- wp:post-title {"level":1,"textColor":"secondary"} /-->
|
<div class="wp-block-column" style="flex-basis:64%"><!-- wp:post-title {"level":1,"textColor":"secondary"} /-->
|
||||||
|
|
||||||
<!-- wp:query {"queryId":40,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"parents":[]}} -->
|
<!-- wp:post-content /-->
|
||||||
|
|
||||||
|
<!-- wp:query {"queryId":40,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"parents":[],"taxQuery":{"category":[17]}}} -->
|
||||||
<div class="wp-block-query"><!-- wp:post-template -->
|
<div class="wp-block-query"><!-- wp:post-template -->
|
||||||
<!-- wp:post-title {"isLink":true,"style":{"typography":{"textDecoration":"none"},"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}}}} /-->
|
<!-- wp:post-title {"isLink":true,"style":{"typography":{"textDecoration":"none"},"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}}}} /-->
|
||||||
|
|
||||||
<!-- wp:post-featured-image {"isLink":true,"align":"wide","style":{"border":{"width":"1px"}},"borderColor":"primary"} /-->
|
<!-- wp:post-featured-image {"isLink":true,"align":"wide","style":{"border":{"width":"1px"}},"borderColor":"primary"} /-->
|
||||||
|
|
||||||
<!-- wp:post-excerpt {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|70"}}}} /-->
|
<!-- wp:post-content /-->
|
||||||
<!-- /wp:post-template -->
|
<!-- /wp:post-template -->
|
||||||
</div>
|
</div>
|
||||||
<!-- /wp:query -->
|
<!-- /wp:query -->
|
||||||
|
|
||||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"textColor":"secondary","layout":{"type":"constrained","justifyContent":"center"}} -->
|
|
||||||
<div class="wp-block-group has-secondary-color has-text-color">
|
|
||||||
<!-- wp:heading {"textAlign":"center","level":3,"style":{"typography":{"fontSize":"14px"}},"fontFamily":"ft88"} -->
|
|
||||||
<h3 class="has-text-align-center has-ft-88-font-family" style="font-size:14px">Useful links</h3>
|
|
||||||
<!-- /wp:heading -->
|
|
||||||
|
|
||||||
<!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}},"typography":{"textTransform":"uppercase","fontStyle":"normal","fontWeight":"700"}},"fontSize":"small"} -->
|
|
||||||
<p class="has-text-align-center has-link-color has-small-font-size"
|
|
||||||
style="font-style:normal;font-weight:700;text-transform:uppercase"><a href="#">Portfolio presentation</a></p>
|
|
||||||
<!-- /wp:paragraph -->
|
|
||||||
|
|
||||||
<!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}},"typography":{"textTransform":"uppercase","fontStyle":"normal","fontWeight":"700"}},"fontSize":"small"} -->
|
|
||||||
<p class="has-text-align-center has-link-color has-small-font-size"
|
|
||||||
style="font-style:normal;font-weight:700;text-transform:uppercase"><a href="#">Design portfolio
|
|
||||||
presentation</a></p>
|
|
||||||
<!-- /wp:paragraph -->
|
|
||||||
</div>
|
|
||||||
<!-- /wp:group -->
|
|
||||||
</div>
|
</div>
|
||||||
<!-- /wp:column -->
|
<!-- /wp:column -->
|
||||||
|
|
||||||
|
11
theme.json
11
theme.json
@ -22,6 +22,13 @@
|
|||||||
"postTypes": [
|
"postTypes": [
|
||||||
"page"
|
"page"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "blog",
|
||||||
|
"title": "Blog page",
|
||||||
|
"postTypes": [
|
||||||
|
"page"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"settings": {
|
"settings": {
|
||||||
@ -192,6 +199,10 @@
|
|||||||
"name": "footer",
|
"name": "footer",
|
||||||
"title": "Footer",
|
"title": "Footer",
|
||||||
"area": "footer"
|
"area": "footer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "useful-links",
|
||||||
|
"title": "Useful links"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user