فهرست منبع

Quadrat: Update the layout of the query template

Ben Dwyer 4 سال پیش
والد
کامیت
6aca1c2b8c
1فایلهای تغییر یافته به همراه8 افزوده شده و 6 حذف شده
  1. 8 6
      quadrat/block-template-parts/query.html

+ 8 - 6
quadrat/block-template-parts/query.html

@@ -1,13 +1,15 @@
 <!-- wp:query {"layout":{"inherit":true},"queryId":1,"query":{"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","sticky":"","inherit":true}} -->
 <!-- wp:query {"layout":{"inherit":true},"queryId":1,"query":{"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","sticky":"","inherit":true}} -->
 <div class="wp-block-query">
 <div class="wp-block-query">
 <!-- wp:query-loop -->
 <!-- wp:query-loop -->
+	<!-- wp:post-date {"fontSize":"tiny","textAlign":"center"} /-->
+	<!-- wp:post-title {"isLink":true, "level": 3, "textAlign":"center"} /-->
+	<!-- wp:spacer {"height":15} -->
+	<div style="height:15px" aria-hidden="true" class="wp-block-spacer"></div>
+	<!-- /wp:spacer -->
 	<!-- wp:post-featured-image {"isLink":true} /-->
 	<!-- wp:post-featured-image {"isLink":true} /-->
-	<!-- wp:post-title {"isLink":true, "level": 3} /-->
-	<!-- wp:post-date {"fontSize":"tiny"} /-->
 	<!-- wp:post-excerpt /-->
 	<!-- wp:post-excerpt /-->
-
-	<!-- wp:spacer {"height":30} -->
-	<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>
+	<!-- wp:spacer {"height":60} -->
+	<div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
 	<!-- /wp:spacer -->
 	<!-- /wp:spacer -->
 <!-- /wp:query-loop -->
 <!-- /wp:query-loop -->
 
 
@@ -15,7 +17,7 @@
 <div class="wp-block-query-pagination alignwide"><!-- wp:query-pagination-previous {"label":"Previous Page"} /-->
 <div class="wp-block-query-pagination alignwide"><!-- wp:query-pagination-previous {"label":"Previous Page"} /-->
 
 
 	<!-- wp:query-pagination-numbers /-->
 	<!-- wp:query-pagination-numbers /-->
-	
+
 	<!-- wp:query-pagination-next {"label":"Next Page"} /--></div>
 	<!-- wp:query-pagination-next {"label":"Next Page"} /--></div>
 <!-- /wp:query-pagination -->
 <!-- /wp:query-pagination -->