浏览代码

Videomaker: Update patterns (#5062)

* Remove pattern from the name

* Replace post meta with a description

* Remove post meta from pattern
Ben Dwyer 3 年之前
父节点
当前提交
803a8c71b2

+ 1 - 1
videomaker/inc/patterns/pattern-grid.php

@@ -6,7 +6,7 @@
  */
 
 return array(
-	'title'      => __( 'Pattern: Grid', 'videomaker' ),
+	'title'      => __( 'Grid', 'videomaker' ),
 	'categories' => array( 'videomaker' ),
 	'content'    => '<!-- wp:columns {"align":"wide"} -->
 	<div class="wp-block-columns alignwide"><!-- wp:column -->

+ 16 - 31
videomaker/inc/patterns/pattern-offset-project-grid.php

@@ -6,7 +6,7 @@
  */
 
 return array(
-	'title'      => __( 'Pattern: Offset Project Grid', 'videomaker' ),
+	'title'      => __( 'Offset Project Grid', 'videomaker' ),
 	'categories' => array( 'videomaker' ),
 	'content'    => '<!-- wp:columns {"align":"wide"} -->
 	<div class="wp-block-columns alignwide"><!-- wp:column {"width":"60%"} -->
@@ -24,12 +24,9 @@ return array(
 	<h4>' . esc_html__( 'Man Working at Dawn', 'videomaker' ) . '</h4>
 	<!-- /wp:heading -->
 
-	<!-- wp:group {"className":"post-meta","layout":{"type":"flex"},"style":{"spacing":{"padding":{"bottom":"var(--wp--style--block-gap,1em)"}}}} -->
-	<div class="wp-block-group post-meta" style="padding-bottom:var(--wp--style--block-gap,1em)">
-		<!-- wp:post-date {"isLink":true,"style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
-		<!-- wp:post-terms {"term":"category","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
-	</div>
-	<!-- /wp:group -->
+	<!-- wp:paragraph -->
+	<p>' . esc_html__( 'Trailer for a film about people working along a river.', 'videomaker' ) . '</p>
+	<!-- /wp:paragraph -->
 
 	</div>
 	<!-- /wp:group --></div>
@@ -52,12 +49,9 @@ return array(
 	<h4>' . esc_html__( 'Boats', 'videomaker' ) . '</h4>
 	<!-- /wp:heading -->
 
-	<!-- wp:group {"className":"post-meta","layout":{"type":"flex"},"style":{"spacing":{"padding":{"bottom":"var(--wp--style--block-gap,1em)"}}}} -->
-	<div class="wp-block-group post-meta" style="padding-bottom:var(--wp--style--block-gap,1em)">
-		<!-- wp:post-date {"isLink":true,"style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
-		<!-- wp:post-terms {"term":"category","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
-	</div>
-	<!-- /wp:group -->
+	<!-- wp:paragraph -->
+	<p>' . esc_html__( 'A brief, ambient film of boats rising and lowering in the waves.', 'videomaker' ) . '</p>
+	<!-- /wp:paragraph -->
 
 	</div>
 	<!-- /wp:group --></div>
@@ -90,12 +84,9 @@ return array(
 	<h4>' . esc_html__( 'The Tale Of Three Cocktails', 'videomaker' ) . '</h4>
 	<!-- /wp:heading -->
 
-	<!-- wp:group {"className":"post-meta","layout":{"type":"flex"},"style":{"spacing":{"padding":{"bottom":"var(--wp--style--block-gap,1em)"}}}} -->
-	<div class="wp-block-group post-meta" style="padding-bottom:var(--wp--style--block-gap,1em)">
-		<!-- wp:post-date {"isLink":true,"style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
-		<!-- wp:post-terms {"term":"category","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
-	</div>
-	<!-- /wp:group -->
+	<!-- wp:paragraph -->
+	<p>' . esc_html__( 'A music video for the band “Generous Penguin”.', 'videomaker' ) . '</p>
+	<!-- /wp:paragraph -->
 
 	</div>
 	<!-- /wp:group --></div>
@@ -129,12 +120,9 @@ return array(
 	<h4>' . esc_html__( 'Is This The Pacific?', 'videomaker' ) . '</h4>
 	<!-- /wp:heading -->
 
-	<!-- wp:group {"className":"post-meta","layout":{"type":"flex"},"style":{"spacing":{"padding":{"bottom":"var(--wp--style--block-gap,1em)"}}}} -->
-	<div class="wp-block-group post-meta" style="padding-bottom:var(--wp--style--block-gap,1em)">
-		<!-- wp:post-date {"isLink":true,"style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
-		<!-- wp:post-terms {"term":"category","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
-	</div>
-	<!-- /wp:group -->
+	<!-- wp:paragraph -->
+	<p>' . esc_html__( 'A documentary about how the climate crisis affects the Pacific ocean.', 'videomaker' ) . '</p>
+	<!-- /wp:paragraph -->
 
 	</div>
 	<!-- /wp:group --></div>
@@ -155,12 +143,9 @@ return array(
 	<h4>' . esc_html__( 'Plenty of Fish In The Sea', 'videomaker' ) . '</h4>
 	<!-- /wp:heading -->
 
-	<!-- wp:group {"className":"post-meta","layout":{"type":"flex"},"style":{"spacing":{"padding":{"bottom":"var(--wp--style--block-gap,1em)"}}}} -->
-	<div class="wp-block-group post-meta" style="padding-bottom:var(--wp--style--block-gap,1em)">
-		<!-- wp:post-date {"isLink":true,"style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
-		<!-- wp:post-terms {"term":"category","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
-	</div>
-	<!-- /wp:group -->
+	<!-- wp:paragraph -->
+	<p>' . esc_html__( 'A film about finding what you’re looking for.', 'videomaker' ) . '</p>
+	<!-- /wp:paragraph -->
 
 	</div>
 	<!-- /wp:group --></div>

+ 0 - 14
videomaker/inc/patterns/pattern-two-posts-with-excerpt.php

@@ -26,13 +26,6 @@ return array(
 	<h4>' . esc_html__( 'Man Working at Dawn', 'videomaker' ) . '</h4>
 	<!-- /wp:heading -->
 
-	<!-- wp:group {"className":"post-meta","layout":{"type":"flex"},"style":{"spacing":{"padding":{"top":"var(--wp--style--block-gap,1em)","bottom":"var(--wp--style--block-gap,1em)"}}}} -->
-	<div class="wp-block-group post-meta" style="padding-top:var(--wp--style--block-gap,1em);padding-bottom:var(--wp--style--block-gap,1em)">
-		<!-- wp:post-date {"isLink":true,"style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
-		<!-- wp:post-terms {"term":"category","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
-	</div>
-	<!-- /wp:group -->
-
 	</div>
 	<!-- /wp:column -->
 
@@ -79,13 +72,6 @@ return array(
 	<h4>' . esc_html__( 'Boats', 'videomaker' ) . '</h4>
 	<!-- /wp:heading -->
 
-	<!-- wp:group {"className":"post-meta","layout":{"type":"flex"},"style":{"spacing":{"padding":{"top":"var(--wp--style--block-gap,1em)","bottom":"var(--wp--style--block-gap,1em)"}}}} -->
-	<div class="wp-block-group post-meta" style="padding-top:var(--wp--style--block-gap,1em);padding-bottom:var(--wp--style--block-gap,1em)">
-		<!-- wp:post-date {"isLink":true,"style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
-		<!-- wp:post-terms {"term":"category","style":{"typography":{"fontSize":"var(--wp--custom--font-sizes--tiny)"}}} /-->
-	</div>
-	<!-- /wp:group -->
-
 	</div>
 	<!-- /wp:column -->