@@ -3,13 +3,13 @@ |
||
3 | 3 | * 404 content. |
4 | 4 | */ |
5 | 5 | return array( |
6 | - 'title' => __( '404 content', 'twentytwentytwo' ), |
|
6 | + 'title' => __('404 content', 'twentytwentytwo'), |
|
7 | 7 | 'inserter' => false, |
8 | 8 | 'content' => '<!-- wp:heading {"style":{"typography":{"fontSize":"clamp(4rem, 40vw, 20rem)","fontWeight":"200","lineHeight":"1"}},"className":"has-text-align-center"} --> |
9 | - <h2 class="has-text-align-center" style="font-size:clamp(4rem, 40vw, 20rem);font-weight:200;line-height:1">' . esc_html( _x( '404', 'Error code for a webpage that is not found.', 'twentytwentytwo' ) ) . '</h2> |
|
9 | + <h2 class="has-text-align-center" style="font-size:clamp(4rem, 40vw, 20rem);font-weight:200;line-height:1">' . esc_html(_x('404', 'Error code for a webpage that is not found.', 'twentytwentytwo')).'</h2> |
|
10 | 10 | <!-- /wp:heading --> |
11 | 11 | <!-- wp:paragraph {"align":"center"} --> |
12 | - <p class="has-text-align-center">' . esc_html__( 'This page could not be found. Maybe try a search?', 'twentytwentytwo' ) . '</p> |
|
12 | + <p class="has-text-align-center">' . esc_html__('This page could not be found. Maybe try a search?', 'twentytwentytwo').'</p> |
|
13 | 13 | <!-- /wp:paragraph --> |
14 | - <!-- wp:search {"label":"' . esc_html_x( 'Search', 'label', 'twentytwentytwo' ) . '","showLabel":false,"width":50,"widthUnit":"%","buttonText":"' . esc_html__( 'Search', 'twentytwentytwo' ) . '","buttonUseIcon":true,"align":"center"} /-->', |
|
14 | + <!-- wp:search {"label":"' . esc_html_x('Search', 'label', 'twentytwentytwo').'","showLabel":false,"width":50,"widthUnit":"%","buttonText":"'.esc_html__('Search', 'twentytwentytwo').'","buttonUseIcon":true,"align":"center"} /-->', |
|
15 | 15 | ); |
@@ -3,11 +3,11 @@ discard block |
||
3 | 3 | * Page layout with two columns. |
4 | 4 | */ |
5 | 5 | return array( |
6 | - 'title' => __( 'Page layout with two columns', 'twentytwentytwo' ), |
|
7 | - 'categories' => array( 'pages' ), |
|
6 | + 'title' => __('Page layout with two columns', 'twentytwentytwo'), |
|
7 | + 'categories' => array('pages'), |
|
8 | 8 | 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--large, 8rem)","bottom":"var(--wp--custom--spacing--large, 8rem)"}}},"layout":{"inherit":true}} --> |
9 | 9 | <div class="wp-block-group alignfull" style="padding-top:var(--wp--custom--spacing--large, 8rem);padding-bottom:var(--wp--custom--spacing--large, 8rem);"><!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"fontSize":"clamp(4rem, 15vw, 12.5rem)","lineHeight":"1","fontWeight":"200"}}} --> |
10 | - <h1 class="alignwide" style="font-size:clamp(4rem, 15vw, 12.5rem);font-weight:200;line-height:1">' . wp_kses_post( __( '<em>Goldfinch </em><br><em>& Sparrow</em>', 'twentytwentytwo' ) ) . '</h1> |
|
10 | + <h1 class="alignwide" style="font-size:clamp(4rem, 15vw, 12.5rem);font-weight:200;line-height:1">' . wp_kses_post(__('<em>Goldfinch </em><br><em>& Sparrow</em>', 'twentytwentytwo')).'</h1> |
|
11 | 11 | <!-- /wp:heading --> |
12 | 12 | |
13 | 13 | <!-- wp:spacer {"height":50} --> |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | <div class="wp-block-group alignwide"><!-- wp:columns --> |
19 | 19 | <div class="wp-block-columns"><!-- wp:column {"verticalAlignment":"center","width":"20%"} --> |
20 | 20 | <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:20%"><!-- wp:paragraph --> |
21 | - <p>' . esc_html__( 'WELCOME', 'twentytwentytwo' ) . '</p> |
|
21 | + <p>' . esc_html__('WELCOME', 'twentytwentytwo').'</p> |
|
22 | 22 | <!-- /wp:paragraph --></div> |
23 | 23 | <!-- /wp:column --> |
24 | 24 | |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | <!-- wp:columns {"align":"wide"} --> |
34 | 34 | <div class="wp-block-columns alignwide"><!-- wp:column --> |
35 | 35 | <div class="wp-block-column"><!-- wp:paragraph --> |
36 | - <p>' . wp_kses_post( __( 'Oh hello. My name’s Angelo, and I operate this blog. I was born in Portland, but I currently live in upstate New York. You may recognize me from publications with names like <a href="#">Eagle Beagle</a> and <a href="#">Mourning Dive</a>. I write for a living.<br><br>I usually use this blog to catalog extensive lists of birds and other things that I find interesting. If you find an error with one of my lists, please keep it to yourself.<br><br>If that’s not your cup of tea, <a href="#">I definitely recommend this tea</a>. It’s my favorite.', 'twentytwentytwo' ) ) . '</p> |
|
36 | + <p>' . wp_kses_post(__('Oh hello. My name’s Angelo, and I operate this blog. I was born in Portland, but I currently live in upstate New York. You may recognize me from publications with names like <a href="#">Eagle Beagle</a> and <a href="#">Mourning Dive</a>. I write for a living.<br><br>I usually use this blog to catalog extensive lists of birds and other things that I find interesting. If you find an error with one of my lists, please keep it to yourself.<br><br>If that’s not your cup of tea, <a href="#">I definitely recommend this tea</a>. It’s my favorite.', 'twentytwentytwo')).'</p> |
|
37 | 37 | <!-- /wp:paragraph --></div> |
38 | 38 | <!-- /wp:column --> |
39 | 39 | |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | |
56 | 56 | <!-- wp:column {"verticalAlignment":"center"} --> |
57 | 57 | <div class="wp-block-column is-vertically-aligned-center"><!-- wp:paragraph --> |
58 | - <p>' . esc_html__( 'POSTS', 'twentytwentytwo' ) . '</p> |
|
58 | + <p>' . esc_html__('POSTS', 'twentytwentytwo').'</p> |
|
59 | 59 | <!-- /wp:paragraph --></div> |
60 | 60 | <!-- /wp:column --></div> |
61 | 61 | <!-- /wp:columns --> |
@@ -3,9 +3,9 @@ |
||
3 | 3 | * Grid of posts block pattern |
4 | 4 | */ |
5 | 5 | return array( |
6 | - 'title' => __( 'Grid of posts', 'twentytwentytwo' ), |
|
7 | - 'categories' => array( 'query' ), |
|
8 | - 'blockTypes' => array( 'core/query' ), |
|
6 | + 'title' => __('Grid of posts', 'twentytwentytwo'), |
|
7 | + 'categories' => array('query'), |
|
8 | + 'blockTypes' => array('core/query'), |
|
9 | 9 | 'content' => '<!-- wp:query {"query":{"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","sticky":"","perPage":12},"displayLayout":{"type":"flex","columns":3},"align":"wide","layout":{"inherit":true}} --> |
10 | 10 | <div class="wp-block-query alignwide"><!-- wp:post-template {"align":"wide"} --> |
11 | 11 | <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"318px"} /--> |
@@ -3,9 +3,9 @@ discard block |
||
3 | 3 | * Footer with query, featured images, title, and citation |
4 | 4 | */ |
5 | 5 | return array( |
6 | - 'title' => __( 'Footer with query, featured images, title, and citation', 'twentytwentytwo' ), |
|
7 | - 'categories' => array( 'footer' ), |
|
8 | - 'blockTypes' => array( 'core/template-part/footer' ), |
|
6 | + 'title' => __('Footer with query, featured images, title, and citation', 'twentytwentytwo'), |
|
7 | + 'categories' => array('footer'), |
|
8 | + 'blockTypes' => array('core/template-part/footer'), |
|
9 | 9 | 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} --> |
10 | 10 | <div class="wp-block-group alignfull has-background-color has-foreground-background-color has-text-color has-background has-link-color" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"flex","columns":3},"align":"wide"} --> |
11 | 11 | <div class="wp-block-query alignwide"><!-- wp:post-template --> |
@@ -31,9 +31,9 @@ discard block |
||
31 | 31 | <p>' . |
32 | 32 | sprintf( |
33 | 33 | /* Translators: WordPress link. */ |
34 | - esc_html__( 'Proudly powered by %s', 'twentytwentytwo' ), |
|
35 | - '<a href="' . esc_url( __( 'https://wordpress.org', 'twentytwentytwo' ) ) . '" rel="nofollow">WordPress</a>' |
|
36 | - ) . '</p> |
|
34 | + esc_html__('Proudly powered by %s', 'twentytwentytwo'), |
|
35 | + '<a href="'.esc_url(__('https://wordpress.org', 'twentytwentytwo')).'" rel="nofollow">WordPress</a>' |
|
36 | + ).'</p> |
|
37 | 37 | <!-- /wp:paragraph --></div> |
38 | 38 | <!-- /wp:group --></div> |
39 | 39 | <!-- /wp:group --></div> |
@@ -3,12 +3,12 @@ |
||
3 | 3 | * Header with image background and overlay block pattern |
4 | 4 | */ |
5 | 5 | return array( |
6 | - 'title' => __( 'Header with image background and overlay', 'twentytwentytwo' ), |
|
7 | - 'categories' => array( 'header' ), |
|
8 | - 'blockTypes' => array( 'core/template-part/header' ), |
|
6 | + 'title' => __('Header with image background and overlay', 'twentytwentytwo'), |
|
7 | + 'categories' => array('header'), |
|
8 | + 'blockTypes' => array('core/template-part/header'), |
|
9 | 9 | 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} --> |
10 | - <div class="wp-block-group alignfull"><!-- wp:cover {"url":"' . esc_url( get_template_directory_uri() ) . '/assets/images/ducks.jpg","dimRatio":90,"overlayColor":"primary","focalPoint":{"x":"0.26","y":"0.34"},"minHeight":100,"minHeightUnit":"px","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}},"color":{"duotone":["#000000","#ffffff"]}}} --> |
|
11 | - <div class="wp-block-cover alignfull" style="padding-top:var(--wp--custom--spacing--small, 1.25rem);padding-bottom:var(--wp--custom--spacing--small, 1.25rem);min-height:100px"><span aria-hidden="true" class="has-primary-background-color has-background-dim-90 wp-block-cover__gradient-background has-background-dim"></span><img class="wp-block-cover__image-background" alt="' . esc_attr__( 'Painting of ducks in the water.', 'twentytwentytwo' ) . '" src="' . esc_url( get_template_directory_uri() ) . '/assets/images/ducks.jpg" style="object-position:26% 34%" data-object-fit="cover" data-object-position="26% 34%"/><div class="wp-block-cover__inner-container"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"0rem","top":"0px","right":"0px","left":"0px"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"textColor":"background","layout":{"type":"flex","justifyContent":"space-between"}} --> |
|
10 | + <div class="wp-block-group alignfull"><!-- wp:cover {"url":"' . esc_url(get_template_directory_uri()).'/assets/images/ducks.jpg","dimRatio":90,"overlayColor":"primary","focalPoint":{"x":"0.26","y":"0.34"},"minHeight":100,"minHeightUnit":"px","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}},"color":{"duotone":["#000000","#ffffff"]}}} --> |
|
11 | + <div class="wp-block-cover alignfull" style="padding-top:var(--wp--custom--spacing--small, 1.25rem);padding-bottom:var(--wp--custom--spacing--small, 1.25rem);min-height:100px"><span aria-hidden="true" class="has-primary-background-color has-background-dim-90 wp-block-cover__gradient-background has-background-dim"></span><img class="wp-block-cover__image-background" alt="' . esc_attr__('Painting of ducks in the water.', 'twentytwentytwo').'" src="'.esc_url(get_template_directory_uri()).'/assets/images/ducks.jpg" style="object-position:26% 34%" data-object-fit="cover" data-object-position="26% 34%"/><div class="wp-block-cover__inner-container"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"0rem","top":"0px","right":"0px","left":"0px"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"textColor":"background","layout":{"type":"flex","justifyContent":"space-between"}} --> |
|
12 | 12 | <div class="wp-block-group alignwide has-background-color has-text-color has-link-color" style="padding-top:0px;padding-right:0px;padding-bottom:0rem;padding-left:0px"><!-- wp:site-title {"style":{"typography":{"fontStyle":"normal","fontWeight":"700"}}} /--> |
13 | 13 | |
14 | 14 | <!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"}} --> |
@@ -3,12 +3,12 @@ discard block |
||
3 | 3 | * Page layout with image, text and video. |
4 | 4 | */ |
5 | 5 | return array( |
6 | - 'title' => __( 'Page layout with image, text and video', 'twentytwentytwo' ), |
|
7 | - 'categories' => array( 'pages' ), |
|
6 | + 'title' => __('Page layout with image, text and video', 'twentytwentytwo'), |
|
7 | + 'categories' => array('pages'), |
|
8 | 8 | 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--large, 8rem)","bottom":"var(--wp--custom--spacing--large, 8rem)"}}},"backgroundColor":"primary","textColor":"background"} --> |
9 | 9 | <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background" style="padding-top:var(--wp--custom--spacing--large, 8rem);padding-bottom:var(--wp--custom--spacing--large, 8rem)"><!-- wp:group {"layout":{"inherit":true}} --> |
10 | 10 | <div class="wp-block-group"><!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"fontSize":"clamp(3rem, 6vw, 4.5rem)"}}} --> |
11 | - <h1 class="alignwide" style="font-size:clamp(3rem, 6vw, 4.5rem)">' . wp_kses_post( __( '<em>Warble</em>, a film about <br>hobbyist bird watchers.', 'twentytwentytwo' ) ) . '</h1> |
|
11 | + <h1 class="alignwide" style="font-size:clamp(3rem, 6vw, 4.5rem)">' . wp_kses_post(__('<em>Warble</em>, a film about <br>hobbyist bird watchers.', 'twentytwentytwo')).'</h1> |
|
12 | 12 | <!-- /wp:heading --> |
13 | 13 | |
14 | 14 | <!-- wp:spacer {"height":50} --> |
@@ -18,16 +18,16 @@ discard block |
||
18 | 18 | <!-- wp:columns {"align":"wide"} --> |
19 | 19 | <div class="wp-block-columns alignwide"><!-- wp:column {"width":"33.33%"} --> |
20 | 20 | <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:heading {"fontSize":"x-large"} --> |
21 | - <h2 class="has-x-large-font-size">' . esc_html__( 'Screening', 'twentytwentytwo' ) . '</h2> |
|
21 | + <h2 class="has-x-large-font-size">' . esc_html__('Screening', 'twentytwentytwo').'</h2> |
|
22 | 22 | <!-- /wp:heading --> |
23 | 23 | |
24 | 24 | <!-- wp:paragraph --> |
25 | - <p>' . wp_kses_post( __( 'May 14th, 2022 @ 7:00PM<br>The Vintagé Theater,<br>245 Arden Rd.<br>Gardenville, NH', 'twentytwentytwo' ) ) . '</p> |
|
25 | + <p>' . wp_kses_post(__('May 14th, 2022 @ 7:00PM<br>The Vintagé Theater,<br>245 Arden Rd.<br>Gardenville, NH', 'twentytwentytwo')).'</p> |
|
26 | 26 | <!-- /wp:paragraph --> |
27 | 27 | |
28 | 28 | <!-- wp:buttons --> |
29 | 29 | <div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"secondary","textColor":"primary"} --> |
30 | - <div class="wp-block-button"><a class="wp-block-button__link has-primary-color has-secondary-background-color has-text-color has-background">' . esc_html__( 'Buy Tickets', 'twentytwentytwo' ) . '</a></div> |
|
30 | + <div class="wp-block-button"><a class="wp-block-button__link has-primary-color has-secondary-background-color has-text-color has-background">' . esc_html__('Buy Tickets', 'twentytwentytwo').'</a></div> |
|
31 | 31 | <!-- /wp:button --></div> |
32 | 32 | <!-- /wp:buttons --></div> |
33 | 33 | <!-- /wp:column --> |
@@ -39,24 +39,24 @@ discard block |
||
39 | 39 | <!-- /wp:group --> |
40 | 40 | |
41 | 41 | <!-- wp:image {"align":"full","style":{"color":{}}} --> |
42 | - <figure class="wp-block-image alignfull"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-transparent-a.png" alt="' . esc_attr__( 'An illustration of a bird in flight', 'twentytwentytwo' ) . '"/></figure> |
|
42 | + <figure class="wp-block-image alignfull"><img src="' . esc_url(get_template_directory_uri()).'/assets/images/flight-path-on-transparent-a.png" alt="'.esc_attr__('An illustration of a bird in flight', 'twentytwentytwo').'"/></figure> |
|
43 | 43 | <!-- /wp:image --> |
44 | 44 | |
45 | 45 | <!-- wp:group {"align":"full","layout":{"inherit":true}} --> |
46 | 46 | <div class="wp-block-group alignfull"><!-- wp:columns {"align":"wide"} --> |
47 | 47 | <div class="wp-block-columns alignwide"><!-- wp:column {"width":"33.33%"} --> |
48 | 48 | <div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:heading {"fontSize":"x-large"} --> |
49 | - <h2 class="has-x-large-font-size">' . esc_html__( 'Extended Trailer', 'twentytwentytwo' ) . '</h2> |
|
49 | + <h2 class="has-x-large-font-size">' . esc_html__('Extended Trailer', 'twentytwentytwo').'</h2> |
|
50 | 50 | <!-- /wp:heading --> |
51 | 51 | |
52 | 52 | <!-- wp:paragraph --> |
53 | - <p>' . esc_html__( 'Oh hello. My name’s Angelo, and you’ve found your way to my blog. I write about a range of topics, but lately I’ve been sharing my hopes for next year.', 'twentytwentytwo' ) . '</p> |
|
53 | + <p>' . esc_html__('Oh hello. My name’s Angelo, and you’ve found your way to my blog. I write about a range of topics, but lately I’ve been sharing my hopes for next year.', 'twentytwentytwo').'</p> |
|
54 | 54 | <!-- /wp:paragraph --></div> |
55 | 55 | <!-- /wp:column --> |
56 | 56 | |
57 | 57 | <!-- wp:column {"width":"66.66%"} --> |
58 | 58 | <div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:video {"id":181} --> |
59 | - <figure class="wp-block-video"><video controls src="' . esc_url( get_template_directory_uri() ) . '/assets/videos/birds.mp4"></video></figure> |
|
59 | + <figure class="wp-block-video"><video controls src="' . esc_url(get_template_directory_uri()).'/assets/videos/birds.mp4"></video></figure> |
|
60 | 60 | <!-- /wp:video --></div> |
61 | 61 | <!-- /wp:column --></div> |
62 | 62 | <!-- /wp:columns --></div> |
@@ -3,10 +3,10 @@ discard block |
||
3 | 3 | * About page with media on the left |
4 | 4 | */ |
5 | 5 | return array( |
6 | - 'title' => __( 'About page with media on the left', 'twentytwentytwo' ), |
|
7 | - 'categories' => array( 'pages' ), |
|
6 | + 'title' => __('About page with media on the left', 'twentytwentytwo'), |
|
7 | + 'categories' => array('pages'), |
|
8 | 8 | 'content' => '<!-- wp:media-text {"align":"full","mediaType":"image","imageFill":true,"focalPoint":{"x":"0.63","y":"0.16"},"backgroundColor":"foreground","className":"alignfull is-image-fill has-background-color has-text-color has-background has-link-color"} --> |
9 | - <div class="wp-block-media-text alignfull is-stacked-on-mobile is-image-fill has-background-color has-text-color has-background has-link-color has-foreground-background-color has-background"><figure class="wp-block-media-text__media" style="background-image:url(' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-salmon.jpg);background-position:63% 16%"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-salmon.jpg" alt="' . esc_attr__( 'Image of a bird on a branch', 'twentytwentytwo' ) . '"/></figure><div class="wp-block-media-text__content"><!-- wp:spacer {"height":32} --> |
|
9 | + <div class="wp-block-media-text alignfull is-stacked-on-mobile is-image-fill has-background-color has-text-color has-background has-link-color has-foreground-background-color has-background"><figure class="wp-block-media-text__media" style="background-image:url(' . esc_url(get_template_directory_uri()).'/assets/images/bird-on-salmon.jpg);background-position:63% 16%"><img src="'.esc_url(get_template_directory_uri()).'/assets/images/bird-on-salmon.jpg" alt="'.esc_attr__('Image of a bird on a branch', 'twentytwentytwo').'"/></figure><div class="wp-block-media-text__content"><!-- wp:spacer {"height":32} --> |
|
10 | 10 | <div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div> |
11 | 11 | <!-- /wp:spacer --> |
12 | 12 | |
@@ -14,11 +14,11 @@ discard block |
||
14 | 14 | |
15 | 15 | <!-- wp:group {"style":{"spacing":{"padding":{"right":"min(8rem, 5vw)","top":"min(28rem, 28vw)"}}}} --> |
16 | 16 | <div class="wp-block-group" style="padding-top:min(28rem, 28vw);padding-right:min(8rem, 5vw)"><!-- wp:heading {"style":{"typography":{"fontWeight":"300","lineHeight":"1.115","fontSize":"clamp(3rem, 6vw, 4.5rem)"}}} --> |
17 | - <h2 style="font-size:clamp(3rem, 6vw, 4.5rem);font-weight:300;line-height:1.115"><em>' . esc_html__( 'Doug', 'twentytwentytwo' ) . '<br>' . esc_html__( 'Stilton', 'twentytwentytwo' ) . '</em></h2> |
|
17 | + <h2 style="font-size:clamp(3rem, 6vw, 4.5rem);font-weight:300;line-height:1.115"><em>' . esc_html__('Doug', 'twentytwentytwo').'<br>'.esc_html__('Stilton', 'twentytwentytwo').'</em></h2> |
|
18 | 18 | <!-- /wp:heading --> |
19 | 19 | |
20 | 20 | <!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.6"}}} --> |
21 | - <p style="line-height:1.6">' . esc_html__( 'Oh hello. My name’s Doug, and you’ve found your way to my website. I’m an avid bird watcher, and I also broadcast my own radio show on Tuesday evenings at 11PM EDT.', 'twentytwentytwo' ) . '</p> |
|
21 | + <p style="line-height:1.6">' . esc_html__('Oh hello. My name’s Doug, and you’ve found your way to my website. I’m an avid bird watcher, and I also broadcast my own radio show on Tuesday evenings at 11PM EDT.', 'twentytwentytwo').'</p> |
|
22 | 22 | <!-- /wp:paragraph --> |
23 | 23 | |
24 | 24 | <!-- wp:spacer {"height":40} --> |
@@ -3,12 +3,12 @@ discard block |
||
3 | 3 | * Video with header and details block pattern |
4 | 4 | */ |
5 | 5 | return array( |
6 | - 'title' => __( 'Video with header and details', 'twentytwentytwo' ), |
|
7 | - 'categories' => array( 'featured', 'columns' ), |
|
6 | + 'title' => __('Video with header and details', 'twentytwentytwo'), |
|
7 | + 'categories' => array('featured', 'columns'), |
|
8 | 8 | 'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--large, 8rem)","bottom":"var(--wp--custom--spacing--large, 8rem)"}},"elements":{"link":{"color":{"text":"var:preset|color|secondary"}}}},"backgroundColor":"foreground","textColor":"secondary"} --> |
9 | 9 | <div class="wp-block-group alignfull has-secondary-color has-foreground-background-color has-text-color has-background has-link-color" style="padding-top:var(--wp--custom--spacing--large, 8rem);padding-bottom:var(--wp--custom--spacing--large, 8rem)"><!-- wp:group {"align":"full","layout":{"inherit":true}} --> |
10 | 10 | <div class="wp-block-group alignfull"><!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"fontSize":"clamp(3rem, 6vw, 4.5rem)"}}} --> |
11 | - <h1 class="alignwide" id="warble-a-film-about-hobbyist-bird-watchers-1" style="font-size:clamp(3rem, 6vw, 4.5rem)">' . wp_kses_post( __( '<em>Warble</em>, a film about <br>hobbyist bird watchers.', 'twentytwentytwo' ) ) . '</h1> |
|
11 | + <h1 class="alignwide" id="warble-a-film-about-hobbyist-bird-watchers-1" style="font-size:clamp(3rem, 6vw, 4.5rem)">' . wp_kses_post(__('<em>Warble</em>, a film about <br>hobbyist bird watchers.', 'twentytwentytwo')).'</h1> |
|
12 | 12 | <!-- /wp:heading --> |
13 | 13 | |
14 | 14 | <!-- wp:spacer {"height":32} --> |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | <!-- /wp:spacer --> |
17 | 17 | |
18 | 18 | <!-- wp:video {"align":"wide"} --> |
19 | - <figure class="wp-block-video alignwide"><video controls src="' . esc_url( get_template_directory_uri() ) . '/assets/videos/birds.mp4"></video></figure> |
|
19 | + <figure class="wp-block-video alignwide"><video controls src="' . esc_url(get_template_directory_uri()).'/assets/videos/birds.mp4"></video></figure> |
|
20 | 20 | <!-- /wp:video --> |
21 | 21 | |
22 | 22 | <!-- wp:spacer {"height":32} --> |
@@ -26,19 +26,19 @@ discard block |
||
26 | 26 | <!-- wp:columns {"align":"wide"} --> |
27 | 27 | <div class="wp-block-columns alignwide"><!-- wp:column {"width":"50%"} --> |
28 | 28 | <div class="wp-block-column" style="flex-basis:50%"><!-- wp:paragraph --> |
29 | - <p><strong>' . esc_html__( 'Featuring', 'twentytwentytwo' ) . '</strong></p> |
|
29 | + <p><strong>' . esc_html__('Featuring', 'twentytwentytwo').'</strong></p> |
|
30 | 30 | <!-- /wp:paragraph --></div> |
31 | 31 | <!-- /wp:column --> |
32 | 32 | |
33 | 33 | <!-- wp:column --> |
34 | 34 | <div class="wp-block-column"><!-- wp:paragraph --> |
35 | - <p>' . wp_kses_post( __( 'Jesús Rodriguez<br>Doug Stilton<br>Emery Driscoll<br>Megan Perry<br>Rowan Price', 'twentytwentytwo' ) ) . '</p> |
|
35 | + <p>' . wp_kses_post(__('Jesús Rodriguez<br>Doug Stilton<br>Emery Driscoll<br>Megan Perry<br>Rowan Price', 'twentytwentytwo')).'</p> |
|
36 | 36 | <!-- /wp:paragraph --></div> |
37 | 37 | <!-- /wp:column --> |
38 | 38 | |
39 | 39 | <!-- wp:column --> |
40 | 40 | <div class="wp-block-column"><!-- wp:paragraph --> |
41 | - <p>' . wp_kses_post( __( 'Angelo Tso<br>Edward Stilton<br>Amy Jensen<br>Boston Bell<br>Shay Ford', 'twentytwentytwo' ) ) . '</p> |
|
41 | + <p>' . wp_kses_post(__('Angelo Tso<br>Edward Stilton<br>Amy Jensen<br>Boston Bell<br>Shay Ford', 'twentytwentytwo')).'</p> |
|
42 | 42 | <!-- /wp:paragraph --></div> |
43 | 43 | <!-- /wp:column --></div> |
44 | 44 | <!-- /wp:columns --></div> |
@@ -3,18 +3,18 @@ discard block |
||
3 | 3 | * Two images with text block pattern |
4 | 4 | */ |
5 | 5 | return array( |
6 | - 'title' => __( 'Two images with text', 'twentytwentytwo' ), |
|
7 | - 'categories' => array( 'featured', 'columns', 'gallery' ), |
|
6 | + 'title' => __('Two images with text', 'twentytwentytwo'), |
|
7 | + 'categories' => array('featured', 'columns', 'gallery'), |
|
8 | 8 | 'content' => '<!-- wp:columns {"align":"wide"} --> |
9 | 9 | <div class="wp-block-columns alignwide"><!-- wp:column {"style":{"spacing":{"padding":{"top":"0rem","right":"0rem","bottom":"0rem","left":"0rem"}}}} --> |
10 | 10 | <div class="wp-block-column" style="padding-top:0rem;padding-right:0rem;padding-bottom:0rem;padding-left:0rem"><!-- wp:image {"sizeSlug":"large"} --> |
11 | - <figure class="wp-block-image size-large"><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' ) . '"/></figure> |
|
11 | + <figure class="wp-block-image size-large"><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').'"/></figure> |
|
12 | 12 | <!-- /wp:image --></div> |
13 | 13 | <!-- /wp:column --> |
14 | 14 | |
15 | 15 | <!-- wp:column {"style":{"spacing":{"padding":{"top":"0rem","right":"0rem","bottom":"0rem","left":"0rem"}}}} --> |
16 | 16 | <div class="wp-block-column" style="padding-top:0rem;padding-right:0rem;padding-bottom:0rem;padding-left:0rem"><!-- wp:image {"sizeSlug":"large"} --> |
17 | - <figure class="wp-block-image size-large"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/bird-on-green.jpg" alt="' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '"/></figure> |
|
17 | + <figure class="wp-block-image size-large"><img src="' . esc_url(get_template_directory_uri()).'/assets/images/bird-on-green.jpg" alt="'.esc_attr__('Illustration of a bird flying.', 'twentytwentytwo').'"/></figure> |
|
18 | 18 | <!-- /wp:image --> |
19 | 19 | |
20 | 20 | <!-- wp:spacer {"height":30} --> |
@@ -22,11 +22,11 @@ discard block |
||
22 | 22 | <!-- /wp:spacer --> |
23 | 23 | |
24 | 24 | <!-- wp:heading {"fontSize":"x-large"} --> |
25 | - <h2 class="has-x-large-font-size" id="screening">' . esc_html__( 'SCREENING', 'twentytwentytwo' ) . '</h2> |
|
25 | + <h2 class="has-x-large-font-size" id="screening">' . esc_html__('SCREENING', 'twentytwentytwo').'</h2> |
|
26 | 26 | <!-- /wp:heading --> |
27 | 27 | |
28 | 28 | <!-- wp:paragraph --> |
29 | - <p>' . wp_kses_post( __( 'May 14th, 2022 @ 7:00PM<br>The Vintagé Theater,<br>245 Arden Rd.<br>Gardenville, NH', 'twentytwentytwo' ) ) . '</p> |
|
29 | + <p>' . wp_kses_post(__('May 14th, 2022 @ 7:00PM<br>The Vintagé Theater,<br>245 Arden Rd.<br>Gardenville, NH', 'twentytwentytwo')).'</p> |
|
30 | 30 | <!-- /wp:paragraph --> |
31 | 31 | |
32 | 32 | <!-- wp:spacer {"height":8} --> |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | |
40 | 40 | <!-- wp:buttons --> |
41 | 41 | <div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"foreground"} --> |
42 | - <div class="wp-block-button"><a class="wp-block-button__link has-foreground-background-color has-background">' . esc_html__( 'Buy Tickets', 'twentytwentytwo' ) . '</a></div> |
|
42 | + <div class="wp-block-button"><a class="wp-block-button__link has-foreground-background-color has-background">' . esc_html__('Buy Tickets', 'twentytwentytwo').'</a></div> |
|
43 | 43 | <!-- /wp:button --></div> |
44 | 44 | <!-- /wp:buttons --></div> |
45 | 45 | <!-- /wp:column --></div> |