[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfive/patterns/ -> page-coming-soon.php (source)

   1  <?php
   2  /**
   3   * Title: Coming soon
   4   * Slug: twentytwentyfive/page-coming-soon
   5   * Categories: twentytwentyfive_page, featured
   6   * Keywords: starter
   7   * Block Types: core/post-content
   8   * Post Types: page, wp_template
   9   * Viewport width: 1400
  10   * Description: A full-width cover banner that can be applied to a page or it can work as a single landing page.
  11   *
  12   * @package WordPress
  13   * @subpackage Twenty_Twenty_Five
  14   * @since Twenty Twenty-Five 1.0
  15   */
  16  
  17  ?>
  18  <!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/coming-soon-bg-image.webp","alt":"Photo of a field full of flowers, a blue sky and a tree.","dimRatio":10,"minHeight":100,"minHeightUnit":"vh","align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|accent-1"}},"heading":{"color":{"text":"var:preset|color|accent-1"}}},"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"200px","bottom":"200px"},"margin":{"top":"0","bottom":"0"},"blockGap":"var:preset|spacing|40"}},"textColor":"accent-1","layout":{"type":"constrained"}} -->
  19  <div class="wp-block-cover alignfull has-accent-1-color has-text-color has-link-color" style="margin-top:0;margin-bottom:0;padding-top:200px;padding-right:var(--wp--preset--spacing--50);padding-bottom:200px;padding-left:var(--wp--preset--spacing--50);min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-10 has-background-dim"></span><img class="wp-block-cover__image-background" alt="<?php esc_attr_e( 'Photo of a field full of flowers, a blue sky and a tree.', 'twentytwentyfive' ); ?>" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/coming-soon-bg-image.webp" data-object-fit="cover"/>
  20      <div class="wp-block-cover__inner-container">
  21          <!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
  22          <div class="wp-block-group">
  23              <!-- wp:heading {"textAlign":"center","className":"is-style-text-annotation"} -->
  24              <h2 class="wp-block-heading has-text-align-center is-style-text-annotation"><?php esc_html_e( 'Event', 'twentytwentyfive' ); ?></h2>
  25              <!-- /wp:heading -->
  26          </div>
  27          <!-- /wp:group -->
  28          <!-- wp:heading {"textAlign":"center","level":3,"fontSize":"xx-large"} -->
  29          <h3 class="wp-block-heading has-text-align-center has-xx-large-font-size"><?php esc_html_e( 'Something great is coming soon', 'twentytwentyfive' ); ?></h3>
  30          <!-- /wp:heading -->
  31  
  32          <!-- wp:paragraph {"align":"center"} -->
  33          <p class="has-text-align-center"><?php esc_html_e( 'Subscribe to get notified when our website is ready.', 'twentytwentyfive' ); ?></p>
  34          <!-- /wp:paragraph -->
  35  
  36          <!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
  37          <div class="wp-block-buttons">
  38              <!-- wp:button {"backgroundColor":"accent-1","textColor":"contrast","className":"is-style-fill","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"borderColor":"accent-1"} -->
  39              <div class="wp-block-button is-style-fill"><a class="wp-block-button__link has-contrast-color has-accent-1-background-color has-text-color has-background has-link-color has-border-color has-accent-1-border-color wp-element-button"><?php esc_html_e( 'Subscribe', 'twentytwentyfive' ); ?></a></div>
  40              <!-- /wp:button -->
  41          </div>
  42          <!-- /wp:buttons -->
  43      </div>
  44  </div>
  45  <!-- /wp:cover -->


Generated : Sun Nov 24 08:20:01 2024 Cross-referenced by PHPXref