[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentytwentytwo/inc/patterns/ -> general-subscribe.php (source)

   1  <?php
   2  /**
   3   * Subscribe callout block pattern
   4   */
   5  return array(
   6      'title'      => __( 'Subscribe callout', 'twentytwentytwo' ),
   7      'categories' => array( 'featured', 'buttons' ),
   8      'content'    => '<!-- wp:columns {"verticalAlignment":"center","align":"wide"} -->
   9                      <div class="wp-block-columns alignwide are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center"} -->
  10                      <div class="wp-block-column is-vertically-aligned-center"><!-- wp:heading -->
  11                      <h2>' . wp_kses_post( __( 'Watch birds<br>from your inbox', 'twentytwentytwo' ) ) . '</h2>
  12                      <!-- /wp:heading -->
  13  
  14                      <!-- wp:buttons -->
  15                      <div class="wp-block-buttons"><!-- wp:button {"fontSize":"medium"} -->
  16                      <div class="wp-block-button has-custom-font-size has-medium-font-size"><a class="wp-block-button__link">' . esc_html__( 'Join our mailing list', 'twentytwentytwo' ) . '</a></div>
  17                      <!-- /wp:button --></div>
  18                      <!-- /wp:buttons --></div>
  19                      <!-- /wp:column -->
  20  
  21                      <!-- wp:column {"verticalAlignment":"center","style":{"spacing":{"padding":{"top":"2rem","bottom":"2rem"}}}} -->
  22                      <div class="wp-block-column is-vertically-aligned-center" style="padding-top:2rem;padding-bottom:2rem"><!-- wp:separator {"color":"primary","className":"is-style-wide"} -->
  23                      <hr class="wp-block-separator has-text-color has-background has-primary-background-color has-primary-color is-style-wide"/>
  24                      <!-- /wp:separator --></div>
  25                      <!-- /wp:column --></div>
  26                      <!-- /wp:columns -->',
  27  );


Generated: Sun Dec 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1