summaryrefslogtreecommitdiffstats
path: root/wp-content/themes/twentytwentytwo/inc/patterns/general-divider-light.php
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:56:49 +0000
commita415c29efee45520ae252d2aa28f1083a521cd7b (patch)
treef4ade4b6668ecc0765de7e1424f7c1427ad433ff /wp-content/themes/twentytwentytwo/inc/patterns/general-divider-light.php
parentInitial commit. (diff)
downloadwordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.tar.xz
wordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.zip
Adding upstream version 6.4.3+dfsg1.upstream/6.4.3+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-content/themes/twentytwentytwo/inc/patterns/general-divider-light.php')
-rw-r--r--wp-content/themes/twentytwentytwo/inc/patterns/general-divider-light.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/wp-content/themes/twentytwentytwo/inc/patterns/general-divider-light.php b/wp-content/themes/twentytwentytwo/inc/patterns/general-divider-light.php
new file mode 100644
index 0000000..a29b825
--- /dev/null
+++ b/wp-content/themes/twentytwentytwo/inc/patterns/general-divider-light.php
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Divider with image and color (light) block pattern
+ */
+return array(
+ 'title' => __( 'Divider with image and color (light)', 'twentytwentytwo' ),
+ 'categories' => array( 'featured' ),
+ 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"1rem","right":"0px","bottom":"1rem","left":"0px"}}},"backgroundColor":"secondary"} -->
+ <div class="wp-block-group alignfull has-secondary-background-color has-background" style="padding-top:1rem;padding-right:0px;padding-bottom:1rem;padding-left:0px"><!-- wp:image {"id":473,"width":3001,"height":246,"sizeSlug":"full","linkDestination":"none"} -->
+ <figure class="wp-block-image size-full is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/divider-black.png" alt="" class="wp-image-473" width="3001" height="246"/></figure>
+ <!-- /wp:image --></div>
+ <!-- /wp:group -->',
+);