diff options
Diffstat (limited to 'wp-content/themes/twentytwentytwo/inc/patterns/general-two-images-text.php')
-rw-r--r-- | wp-content/themes/twentytwentytwo/inc/patterns/general-two-images-text.php | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/wp-content/themes/twentytwentytwo/inc/patterns/general-two-images-text.php b/wp-content/themes/twentytwentytwo/inc/patterns/general-two-images-text.php new file mode 100644 index 0000000..5534b6f --- /dev/null +++ b/wp-content/themes/twentytwentytwo/inc/patterns/general-two-images-text.php @@ -0,0 +1,47 @@ +<?php +/** + * Two images with text block pattern + */ +return array( + 'title' => __( 'Two images with text', 'twentytwentytwo' ), + 'categories' => array( 'featured', 'columns', 'gallery' ), + 'content' => '<!-- wp:columns {"align":"wide"} --> + <div class="wp-block-columns alignwide"><!-- wp:column {"style":{"spacing":{"padding":{"top":"0rem","right":"0rem","bottom":"0rem","left":"0rem"}}}} --> + <div class="wp-block-column" style="padding-top:0rem;padding-right:0rem;padding-bottom:0rem;padding-left:0rem"><!-- wp:image {"width":984,"height":1426,"sizeSlug":"large"} --> + <figure class="wp-block-image size-large is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-salmon.jpg" alt="' . esc_attr__( 'Illustration of a bird sitting on a branch.', 'twentytwentytwo' ) . '" width="984" height="1426"/></figure> + <!-- /wp:image --></div> + <!-- /wp:column --> + + <!-- wp:column {"style":{"spacing":{"padding":{"top":"0rem","right":"0rem","bottom":"0rem","left":"0rem"}}}} --> + <div class="wp-block-column" style="padding-top:0rem;padding-right:0rem;padding-bottom:0rem;padding-left:0rem"><!-- wp:image {"width":984,"height":1426,"sizeSlug":"large"} --> + <figure class="wp-block-image size-large is-resized"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-green.jpg" alt="' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '" width="984" height="1426"/></figure> + <!-- /wp:image --> + + <!-- wp:spacer {"height":30} --> + <div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div> + <!-- /wp:spacer --> + + <!-- wp:heading {"fontSize":"x-large"} --> + <h2 class="has-x-large-font-size" id="screening">' . esc_html__( 'SCREENING', 'twentytwentytwo' ) . '</h2> + <!-- /wp:heading --> + + <!-- wp:paragraph --> + <p>' . wp_kses_post( __( 'May 14th, 2022 @ 7:00PM<br>The Vintagé Theater,<br>245 Arden Rd.<br>Gardenville, NH', 'twentytwentytwo' ) ) . '</p> + <!-- /wp:paragraph --> + + <!-- wp:spacer {"height":8} --> + <div style="height:8px" aria-hidden="true" class="wp-block-spacer"></div> + <!-- /wp:spacer --> + + <!-- wp:spacer {"height":10} --> + <div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div> + <!-- /wp:spacer --> + + <!-- wp:buttons --> + <div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"foreground"} --> + <div class="wp-block-button"><a class="wp-block-button__link has-foreground-background-color has-background">' . esc_html__( 'Buy Tickets', 'twentytwentytwo' ) . '</a></div> + <!-- /wp:button --></div> + <!-- /wp:buttons --></div> + <!-- /wp:column --></div> + <!-- /wp:columns -->', +); |