Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit 2086a0a

Browse files
committed
Changes from WordPress Playground
1 parent 25ae970 commit 2086a0a

11 files changed

Lines changed: 233 additions & 201 deletions

File tree

covr/parts/header.html

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0px","bottom":"0px","right":"20px","left":"20px"}}},"layout":{"type":"constrained"}} -->
2-
<div class="wp-block-group" style="padding-top:0px;padding-right:20px;padding-bottom:0px;padding-left:20px"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"20px","top":"20px","right":"0px","left":"0px"},"blockGap":"10px"}},"layout":{"type":"flex","justifyContent":"space-between","flexWrap":"wrap"}} -->
3-
<div class="wp-block-group alignwide" style="padding-top:20px;padding-right:0px;padding-bottom:20px;padding-left:0px"><!-- wp:group {"layout":{"type":"flex"}} -->
4-
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"20px"}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"center"}} -->
1+
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0px","bottom":"0px","right":"4vw","left":"4vw"}}},"layout":{"type":"constrained"}} -->
2+
<div class="wp-block-group" style="padding-top:0px;padding-right:4vw;padding-bottom:0px;padding-left:4vw"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"20px","top":"20px","right":"0px","left":"0px"},"blockGap":"10px"}},"layout":{"type":"flex","justifyContent":"space-between","flexWrap":"nowrap"}} -->
3+
<div class="wp-block-group alignwide" style="padding-top:20px;padding-right:0px;padding-bottom:20px;padding-left:0px"><!-- wp:group {"style":{"spacing":{"blockGap":"2em"}},"layout":{"type":"flex"}} -->
54
<div class="wp-block-group"><!-- wp:site-title /-->
65

7-
<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"}} /--></div>
8-
<!-- /wp:group --></div>
6+
<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"left","orientation":"horizontal"},"style":{"spacing":{"blockGap":"1.4em"}}} /--></div>
97
<!-- /wp:group -->
108

11-
<!-- wp:search {"showLabel":false,"placeholder":"Search by painting","buttonPosition":"button-inside","buttonUseIcon":true,"style":{"border":{"radius":"100px","top":{"style":"none","width":"0px"},"right":{"style":"none","width":"0px"},"bottom":{"style":"none","width":"0px"},"left":{"style":"none","width":"0px"}}}} /--></div>
9+
<!-- wp:search {"showLabel":false,"placeholder":"Search by painting","buttonPosition":"button-inside","buttonUseIcon":true,"style":{"border":{"radius":"100px","top":{"style":"none","width":"0px"},"right":{"style":"none","width":"0px"},"bottom":{"style":"none","width":"0px"},"left":{"style":"none","width":"0px"}}},"fontSize":"small","fontFamily":"manrope"} /--></div>
1210
<!-- /wp:group --></div>
1311
<!-- /wp:group -->

covr/patterns/archive.php

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?php
2+
/**
3+
* Title: archive
4+
* Slug: covr/archive
5+
* Categories: hidden
6+
* Inserter: no
7+
*/
8+
?>
9+
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
10+
11+
<!-- wp:group {"style":{"spacing":{"padding":{"right":"4vw","left":"4vw","top":"5vh","bottom":"0vh"},"blockGap":"1em"}},"layout":{"type":"constrained"}} -->
12+
<div class="wp-block-group" style="padding-top:5vh;padding-right:4vw;padding-bottom:0vh;padding-left:4vw"><!-- wp:query-title {"type":"archive","align":"wide","fontSize":"large"} /-->
13+
14+
<!-- wp:term-description {"align":"wide"} /--></div>
15+
<!-- /wp:group -->
16+
17+
<!-- wp:group {"style":{"spacing":{"padding":{"right":"4vw","left":"4vw","top":"60px"},"blockGap":"20px"},"dimensions":{"minHeight":"100vh"}},"backgroundColor":"background","layout":{"type":"constrained"}} -->
18+
<div class="wp-block-group has-background-background-color has-background" style="min-height:100vh;padding-top:60px;padding-right:4vw;padding-left:4vw"><!-- wp:query {"queryId":14,"query":{"perPage":20,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"align":"wide"} -->
19+
<div class="wp-block-query alignwide"><!-- wp:post-template {"style":{"spacing":{"blockGap":"2em"}},"layout":{"type":"grid","columnCount":3}} -->
20+
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"4/3","align":"wide"} /-->
21+
22+
<!-- wp:group {"style":{"spacing":{"blockGap":"0.6em"}},"layout":{"type":"constrained"}} -->
23+
<div class="wp-block-group"><!-- wp:post-title {"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"},":hover":{"color":{"text":"var:preset|color|foreground"}}}}},"textColor":"primary"} /-->
24+
25+
<!-- wp:post-terms {"term":"category"} /--></div>
26+
<!-- /wp:group -->
27+
28+
<!-- wp:spacer {"height":"20px"} -->
29+
<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>
30+
<!-- /wp:spacer -->
31+
<!-- /wp:post-template -->
32+
33+
<!-- wp:paragraph -->
34+
<p><?php echo __('', 'covr');?></p>
35+
<!-- /wp:paragraph --></div>
36+
<!-- /wp:query -->
37+
38+
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"40px","bottom":"40px"}}},"layout":{"type":"constrained"}} -->
39+
<div class="wp-block-group alignwide" style="padding-top:40px;padding-bottom:40px"><!-- wp:query-pagination {"align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
40+
<!-- wp:query-pagination-previous /-->
41+
42+
<!-- wp:query-pagination-numbers /-->
43+
44+
<!-- wp:query-pagination-next /-->
45+
<!-- /wp:query-pagination --></div>
46+
<!-- /wp:group --></div>
47+
<!-- /wp:group -->
48+
49+
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

covr/readme.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ Covr is a beautifully crafted theme that boasts a clean and modern design, speci
1212

1313
== Changelog ==
1414

15+
= 1.0.5 =
16+
* Lossless image optimization (#7671)
17+
18+
= 1.0.5 =
19+
* Optimize images (#7671)
20+
21+
= 1.0.4 =
22+
* Updates from theme export (#7560)
23+
1524
= 1.0.3 =
1625
* Multiple Block Themes: Fix Cursor When Hovering Links (#7479)
1726

@@ -39,3 +48,16 @@ This program is distributed in the hope that it will be useful,
3948
but WITHOUT ANY WARRANTY; without even the implied warranty of
4049
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4150
GNU General Public License for more details.
51+
52+
This theme bundles the following third-party resources:
53+
54+
Manrope Font
55+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
56+
This license is available with an FAQ at http://scripts.sil.org/OFL
57+
License URL: http://scripts.sil.org/OFL
58+
-- End of Manrope Font credits --
59+
60+
Image for theme screenshot, Credit Jan Brueghel The Elder, Flowers in a Wan-Li Vase (c. 1610 - 1615)
61+
License: Public Domain
62+
License URL: https://creativecommons.org/public-domain/pdm/
63+
Source: https://artvee.com/dl/flowers-in-a-wan-li-vase-2#00

covr/screenshot.png

-1 MB
Loading

covr/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ Description: Covr is a simple and straightforward theme designed for a sleek pre
77
Requires at least: 5.8
88
Tested up to: 6.2
99
Requires PHP: 5.7
10-
Version: 1.0.3
10+
Version: 1.0.5
1111
License: GNU General Public License v2 or later
1212
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1313
Text Domain: covr
14-
Tags: blog, photography, portfolio, grid-layout, one-column, two-columns, wide-blocks, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, full-site-editing, rtl-language-support, template-editing, theme-options, threaded-comments, translation-ready, fullwidth, photography, art
14+
Tags: blog, photography, portfolio, grid-layout, one-column, two-columns, wide-blocks, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, full-site-editing, rtl-language-support, template-editing, theme-options, threaded-comments, translation-ready
1515
*/
1616

1717
/*

covr/templates/archive.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!-- wp:pattern {"slug":"covr/archive"} /-->

covr/templates/index.html

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,30 @@
11
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
22

3-
<!-- wp:group {"style":{"spacing":{"padding":{"right":"20px","left":"20px","top":"80px"},"blockGap":"20px"},"dimensions":{"minHeight":"100vh"}},"backgroundColor":"background","layout":{"type":"constrained"}} -->
4-
<div class="wp-block-group has-background-background-color has-background" style="min-height:100vh;padding-top:80px;padding-right:20px;padding-left:20px"><!-- wp:query {"queryId":14,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"displayLayout":{"type":"flex","columns":3},"align":"wide"} -->
5-
<div class="wp-block-query alignwide"><!-- wp:post-template -->
6-
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"auto","align":"wide"} /-->
3+
<!-- wp:group {"style":{"spacing":{"padding":{"right":"4vw","left":"4vw","top":"60px"},"blockGap":"20px"},"dimensions":{"minHeight":"100vh"}},"backgroundColor":"background","layout":{"type":"constrained"}} -->
4+
<div class="wp-block-group has-background-background-color has-background" style="min-height:100vh;padding-top:60px;padding-right:4vw;padding-left:4vw"><!-- wp:query {"queryId":14,"query":{"perPage":20,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"align":"wide"} -->
5+
<div class="wp-block-query alignwide"><!-- wp:post-template {"style":{"spacing":{"blockGap":"2em"}},"layout":{"type":"grid","columnCount":3}} -->
6+
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"4/3","align":"wide"} /-->
77

8-
<!-- wp:post-title {"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"},":hover":{"color":{"text":"var:preset|color|foreground"}}}}},"textColor":"primary"} /-->
9-
<!-- /wp:post-template --></div>
8+
<!-- wp:group {"style":{"spacing":{"blockGap":"0.6em"}},"layout":{"type":"constrained"}} -->
9+
<div class="wp-block-group"><!-- wp:post-title {"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"},":hover":{"color":{"text":"var:preset|color|foreground"}}}}},"textColor":"primary"} /-->
10+
11+
<!-- wp:post-terms {"term":"category"} /--></div>
12+
<!-- /wp:group -->
13+
14+
<!-- wp:spacer {"height":"20px"} -->
15+
<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>
16+
<!-- /wp:spacer -->
17+
<!-- /wp:post-template -->
18+
19+
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"40px","bottom":"40px"}}},"layout":{"type":"constrained"}} -->
20+
<div class="wp-block-group alignwide" style="padding-top:40px;padding-bottom:40px"><!-- wp:query-pagination {"align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
21+
<!-- wp:query-pagination-previous /-->
22+
23+
<!-- wp:query-pagination-numbers /-->
24+
25+
<!-- wp:query-pagination-next /-->
26+
<!-- /wp:query-pagination --></div>
27+
<!-- /wp:group --></div>
1028
<!-- /wp:query --></div>
1129
<!-- /wp:group -->
1230

covr/templates/page.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
2+
3+
<!-- wp:group {"align":"full","layout":{"type":"constrained"}} -->
4+
<div class="wp-block-group alignfull"><!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"4vh","padding":{"top":"6vh","bottom":"3vh"}}},"layout":{"type":"constrained"}} -->
5+
<div class="wp-block-group alignwide" style="padding-top:6vh;padding-bottom:3vh"><!-- wp:post-featured-image /-->
6+
7+
<!-- wp:post-title {"fontSize":"x-large"} /--></div>
8+
<!-- /wp:group -->
9+
10+
<!-- wp:group {"lock":{"move":false,"remove":true},"align":"full","style":{"spacing":{"padding":{"right":"4vw","left":"4vw"}}},"layout":{"type":"constrained"}} -->
11+
<div class="wp-block-group alignfull" style="padding-right:4vw;padding-left:4vw"><!-- wp:post-content {"align":"full","layout":{"type":"constrained"}} /--></div>
12+
<!-- /wp:group --></div>
13+
<!-- /wp:group -->
14+
15+
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

covr/templates/search.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
22

3-
<!-- wp:group {"style":{"spacing":{"padding":{"top":"80px"}}},"layout":{"type":"default"}} -->
4-
<div class="wp-block-group" style="padding-top:80px"><!-- wp:query {"queryId":22,"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":"constrained"}} -->
5-
<main class="wp-block-query"><!-- wp:post-template {"align":"wide"} -->
6-
<!-- wp:columns {"verticalAlignment":"center","style":{"spacing":{"blockGap":{"top":"20px","left":"20px"},"padding":{"top":"20px","right":"20px","bottom":"20px","left":"20px"}},"border":{"radius":"20px"}},"backgroundColor":"tertiary"} -->
7-
<div class="wp-block-columns are-vertically-aligned-center has-tertiary-background-color has-background" style="border-radius:20px;padding-top:20px;padding-right:20px;padding-bottom:20px;padding-left:20px"><!-- wp:column {"verticalAlignment":"center","width":"10%"} -->
8-
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:10%"><!-- wp:post-featured-image {"aspectRatio":"1","height":""} /--></div>
9-
<!-- /wp:column -->
3+
<!-- wp:group {"style":{"spacing":{"padding":{"right":"4vw","left":"4vw","top":"5vh","bottom":"0vh"},"blockGap":"1em"}},"layout":{"type":"constrained"}} -->
4+
<div class="wp-block-group" style="padding-top:5vh;padding-right:4vw;padding-bottom:0vh;padding-left:4vw"><!-- wp:query-title {"type":"search","align":"wide"} /--></div>
5+
<!-- /wp:group -->
106

11-
<!-- wp:column {"verticalAlignment":"center","width":"90%"} -->
7+
<!-- wp:group {"style":{"spacing":{"padding":{"top":"80px","right":"4vw","left":"4vw"}}},"layout":{"type":"default"}} -->
8+
<div class="wp-block-group" style="padding-top:80px;padding-right:4vw;padding-left:4vw"><!-- wp:query {"queryId":22,"query":{"perPage":20,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"constrained"}} -->
9+
<main class="wp-block-query"><!-- wp:post-template {"align":"wide","style":{"spacing":{"blockGap":"0em"}}} -->
10+
<!-- wp:columns {"verticalAlignment":"center","style":{"spacing":{"blockGap":{"top":"30px","left":"30px"},"padding":{"top":"20px","right":"20px","bottom":"20px","left":"20px"}},"border":{"radius":"20px"}},"backgroundColor":"tertiary"} -->
11+
<div class="wp-block-columns are-vertically-aligned-center has-tertiary-background-color has-background" style="border-radius:20px;padding-top:20px;padding-right:20px;padding-bottom:20px;padding-left:20px"><!-- wp:column {"verticalAlignment":"center","width":"90%"} -->
1212
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:90%"><!-- wp:group {"style":{"spacing":{"blockGap":"20px"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
1313
<div class="wp-block-group"><!-- wp:post-title {"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary","fontSize":"small"} /-->
1414

1515
<!-- wp:post-terms {"term":"category"} /--></div>
1616
<!-- /wp:group --></div>
17+
<!-- /wp:column -->
18+
19+
<!-- wp:column {"verticalAlignment":"center","width":"7%"} -->
20+
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:7%"><!-- wp:post-featured-image {"aspectRatio":"1","height":"80px"} /--></div>
1721
<!-- /wp:column --></div>
1822
<!-- /wp:columns -->
19-
20-
<!-- wp:spacer {"height":"10px"} -->
21-
<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>
22-
<!-- /wp:spacer -->
2323
<!-- /wp:post-template -->
2424

2525
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"40px","bottom":"40px"}}},"layout":{"type":"constrained"}} -->

covr/templates/single.html

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
22

3-
<!-- wp:group {"style":{"spacing":{"padding":{"right":"20px","left":"20px","top":"80px"},"blockGap":"20px"},"dimensions":{"minHeight":"100vh"}},"backgroundColor":"background","layout":{"type":"constrained"}} -->
4-
<div class="wp-block-group has-background-background-color has-background" style="min-height:100vh;padding-top:80px;padding-right:20px;padding-left:20px"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"40px","left":"40px"}}}} -->
3+
<!-- wp:group {"style":{"spacing":{"padding":{"top":"80px"},"blockGap":"20px"},"dimensions":{"minHeight":"0vh"}},"backgroundColor":"background","layout":{"type":"constrained"}} -->
4+
<div class="wp-block-group has-background-background-color has-background" style="min-height:0vh;padding-top:80px"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"40px","left":"40px"}}}} -->
55
<div class="wp-block-columns alignwide"><!-- wp:column -->
66
<div class="wp-block-column"><!-- wp:post-featured-image {"align":"wide"} /--></div>
77
<!-- /wp:column -->
@@ -13,15 +13,7 @@
1313

1414
<!-- wp:template-part {"slug":"post-meta","align":"wide"} /-->
1515

16-
<!-- wp:columns {"align":"wide"} -->
17-
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"66.66%"} -->
18-
<div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:post-excerpt /--></div>
19-
<!-- /wp:column -->
20-
21-
<!-- wp:column {"width":"33.33%"} -->
22-
<div class="wp-block-column" style="flex-basis:33.33%"></div>
23-
<!-- /wp:column --></div>
24-
<!-- /wp:columns --></div>
16+
<!-- wp:post-content /--></div>
2517
<!-- /wp:group --></div>
2618
<!-- /wp:group -->
2719

@@ -34,8 +26,4 @@
3426
<!-- /wp:columns --></div>
3527
<!-- /wp:group -->
3628

37-
<!-- wp:paragraph -->
38-
<p></p>
39-
<!-- /wp:paragraph -->
40-
4129
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

0 commit comments

Comments
 (0)