mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-21 07:41:28 +01:00
b04ed7ed22
Twenty Twenty-Two arrives during an exciting time for WordPress themes. With the advent of Full Site Editing and Global Styles, themes are changing structurally and functionally to enable far more avenues for customization than users have come to expect in the past. To take advantage of these new abilities, Twenty Twenty-Two has been designed to be the most flexible default theme ever created for WordPress. Props sourav926, aristath, audrasjb, bgardner, briceduclos, poena, colorful-tones, dgwyer, dimadin, gregrickaby, ellenbauer, jffng, kafleg, karmatosed, kraftbj, kjellr, littlebigthing, onemaggie, matveb, mburridge, mtoensing, nickcernis, nielslange, williampatton, pgking, ribaricplusplus, scruffian, soean, utz119, youknowriad, desrosj, richtabor. See #54318. Built from https://develop.svn.wordpress.org/trunk@52081 git-svn-id: http://core.svn.wordpress.org/trunk@51673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
28 lines
1.3 KiB
PHP
28 lines
1.3 KiB
PHP
<?php
|
|
/**
|
|
* Subscribe callout block pattern
|
|
*/
|
|
return array(
|
|
'title' => __( 'Subscribe callout', 'twentytwentytwo' ),
|
|
'categories' => array( 'twentytwentytwo-general' ),
|
|
'content' => '<!-- wp:columns {"verticalAlignment":"center","align":"wide"} -->
|
|
<div class="wp-block-columns alignwide are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center"} -->
|
|
<div class="wp-block-column is-vertically-aligned-center"><!-- wp:heading -->
|
|
<h2>' . wp_kses_post( __( 'Watch birds<br>from your inbox', 'twentytwentytwo' ) ) . '</h2>
|
|
<!-- /wp:heading -->
|
|
|
|
<!-- wp:buttons -->
|
|
<div class="wp-block-buttons"><!-- wp:button {"fontSize":"normal"} -->
|
|
<div class="wp-block-button has-custom-font-size has-normal-font-size"><a class="wp-block-button__link">' . esc_html__( 'Join our mailing list', 'twentytwentytwo' ) . '</a></div>
|
|
<!-- /wp:button --></div>
|
|
<!-- /wp:buttons --></div>
|
|
<!-- /wp:column -->
|
|
|
|
<!-- wp:column {"verticalAlignment":"center"} -->
|
|
<div class="wp-block-column is-vertically-aligned-center"><!-- wp:separator {"color":"primary","className":"is-style-wide"} -->
|
|
<hr class="wp-block-separator has-text-color has-background has-primary-background-color has-primary-color is-style-wide"/>
|
|
<!-- /wp:separator --></div>
|
|
<!-- /wp:column --></div>
|
|
<!-- /wp:columns -->',
|
|
);
|