Pārlūkot izejas kodu

Nested: Cleanup query property (#7253)

* Nested: Cleanup query property

* update theme version and author

---------

Co-authored-by: madhusudhand <madhusudhan.dollu@gmail.com>
Takashi Irie 2 gadi atpakaļ
vecāks
revīzija
16648a88b8

+ 3 - 3
nested/readme.txt

@@ -1,7 +1,7 @@
 === Nested ===
-Contributors: the WordPress team
-Requires at least: 6.0
-Tested up to: 6.2.2
+Contributors: Automattic
+Requires at least: 6.1
+Tested up to: 6.2
 Requires PHP: 5.7
 License: GPLv2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html

BIN
nested/screenshot.png


+ 5 - 5
nested/style.css

@@ -1,11 +1,11 @@
 /*
 Theme Name: Nested
-Theme URI: https://github.com/wordpress/nested/
-Author: the WordPress team
-Author URI: https://wordpress.org/themes/
+Theme URI: https://github.com/Automattic/themes/tree/trunk/nested
+Author: Automattic
+Author URI: https://automattic.com
 Description: Nested is a blog design that displays posts overlapping featured images as a Matryoshka effect.
-Requires at least: 6.0
-Tested up to: 6.2.2
+Requires at least: 6.1
+Tested up to: 6.2
 Requires PHP: 5.7
 Version: 1.0.0
 License: GNU General Public License v2 or later

+ 2 - 2
nested/templates/archive.html

@@ -1,7 +1,7 @@
 <!-- wp:template-part {"slug":"header","tagName":"header"} /-->
 
 <!-- wp:group {"style":{"spacing":{"padding":{"bottom":"4rem"}}},"layout":{"type":"constrained"}} -->
-<div class="wp-block-group" style="padding-bottom:4rem"><!-- wp:query {"queryId":3,"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"}} -->
+<div class="wp-block-group" style="padding-bottom:4rem"><!-- wp:query {"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"}} -->
 <main class="wp-block-query"><!-- wp:query-title {"type":"archive","style":{"spacing":{"margin":{"bottom":"4rem"}}}} /-->
 
 <!-- wp:post-template -->
@@ -32,4 +32,4 @@
 <!-- /wp:query --></div>
 <!-- /wp:group -->
 
-<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 2 - 2
nested/templates/home.html

@@ -1,5 +1,5 @@
 <!-- wp:group {"style":{"position":{"type":"sticky","top":"0px"},"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"0px"}},"backgroundColor":"primary","layout":{"type":"constrained"}} -->
-<div class="wp-block-group has-primary-background-color has-background" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:query {"queryId":0,"query":{"perPage":"1","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":{"post_tag":[3]},"parents":[]},"tagName":"main","align":"full","layout":{"type":"constrained"}} -->
+<div class="wp-block-group has-primary-background-color has-background" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:query {"query":{"perPage":"1","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","align":"full","layout":{"type":"constrained"}} -->
 <main class="wp-block-query alignfull"><!-- wp:post-template {"align":"full"} -->
 <!-- wp:cover {"useFeaturedImage":true,"isRepeated":true,"dimRatio":50,"minHeight":100,"minHeightUnit":"vh","align":"full","style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"0px"},"color":[]},"layout":{"type":"default"}} -->
 <div class="wp-block-cover alignfull is-repeated" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"layout":{"type":"constrained"}} -->
@@ -24,4 +24,4 @@
 <!-- /wp:cover -->
 <!-- /wp:post-template --></main>
 <!-- /wp:query --></div>
-<!-- /wp:group -->
+<!-- /wp:group -->

+ 2 - 2
nested/templates/index.html

@@ -1,7 +1,7 @@
 <!-- wp:template-part {"slug":"header"} /-->
 
 <!-- wp:group {"style":{"spacing":{"padding":{"bottom":"4rem"}}},"layout":{"type":"constrained"}} -->
-<div class="wp-block-group" style="padding-bottom:4rem"><!-- wp:query {"queryId":3,"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"}} -->
+<div class="wp-block-group" style="padding-bottom:4rem"><!-- wp:query {"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"}} -->
 <main class="wp-block-query"><!-- wp:post-template -->
 <!-- wp:group -->
 <div class="wp-block-group"><!-- wp:post-featured-image {"isLink":true} /-->
@@ -30,4 +30,4 @@
 <!-- /wp:query --></div>
 <!-- /wp:group -->
 
-<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

+ 2 - 2
nested/templates/search.html

@@ -5,7 +5,7 @@
 <div class="wp-block-group" style="padding-bottom:2rem"><!-- wp:search {"showLabel":false,"placeholder":"Search...","buttonPosition":"button-inside","buttonUseIcon":true,"style":{"border":{"width":"0px","style":"none"}},"backgroundColor":"primary","textColor":"base"} /--></div>
 <!-- /wp:group -->
 
-<!-- wp:query {"queryId":3,"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"}} -->
+<!-- wp:query {"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"}} -->
 <main class="wp-block-query"><!-- wp:post-template -->
 <!-- wp:group -->
 <div class="wp-block-group"><!-- wp:post-featured-image {"isLink":true} /-->
@@ -34,4 +34,4 @@
 <!-- /wp:query --></div>
 <!-- /wp:group -->
 
-<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
+<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->