[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfive/patterns/ -> event-rsvp.php (source)

   1  <?php
   2  /**
   3   * Title: Event RSVP
   4   * Slug: twentytwentyfive/event-rsvp
   5   * Keywords: call-to-action, rsvp, event
   6   * Categories: call-to-action
   7   * Block Types: core/post-content
   8   * Viewport width: 1400
   9   * Description: RSVP for an upcoming event with a cover image and event details.
  10   *
  11   * @package WordPress
  12   * @subpackage Twenty_Twenty_Five
  13   * @since Twenty Twenty-Five 1.0
  14   */
  15  
  16  ?>
  17  <!-- wp:group {"align":"full","style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} -->
  18  <div class="wp-block-group alignfull">
  19      <!-- wp:group {"align":"full","style":{"spacing":{"blockGap":"0"}},"layout":{"type":"grid","minimumColumnWidth":"70rem"}} -->
  20      <div class="wp-block-group alignfull">
  21          <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|80","left":"var:preset|spacing|40","right":"var:preset|spacing|40","top":"var:preset|spacing|40"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between","verticalAlignment":"top"}} -->
  22          <div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--40)">
  23              <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
  24              <div class="wp-block-group">
  25                  <!-- wp:heading {"fontSize":"xx-large"} -->
  26                  <h2 class="wp-block-heading has-xx-large-font-size"><?php echo esc_html_x( '“Stories, historias, iсторії, iστορίες”', 'Placeholder heading in four languages.', 'twentytwentyfive' ); ?></h2>
  27                  <!-- /wp:heading -->
  28  
  29                  <!-- wp:paragraph {"fontSize":"x-large"} -->
  30                  <p class="has-x-large-font-size"><?php echo esc_html_x( 'Mon, Jan 1', 'Example event date in pattern.', 'twentytwentyfive' ); ?></p>
  31                  <!-- /wp:paragraph -->
  32  
  33                  <!-- wp:spacer {"height":"0px","style":{"layout":{"selfStretch":"fixed","flexSize":"100px"}}} -->
  34                  <div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
  35                  <!-- /wp:spacer -->
  36              </div>
  37              <!-- /wp:group -->
  38  
  39              <!-- wp:paragraph {"align":"left","style":{"typography":{"writingMode":"vertical-rl","textTransform":"uppercase","lineHeight":"0.6"}}} -->
  40              <p class="has-text-align-left" style="line-height:0.6;text-transform:uppercase;writing-mode:vertical-rl"><?php esc_html_e( 'Free WorKshop', 'twentytwentyfive' ); ?></p>
  41              <!-- /wp:paragraph -->
  42          </div>
  43          <!-- /wp:group -->
  44      </div>
  45      <!-- /wp:group -->
  46  
  47      <!-- wp:group {"align":"full","style":{"spacing":{"blockGap":"0"}},"layout":{"type":"grid","minimumColumnWidth":"40rem","columnCount":null}} -->
  48      <div class="wp-block-group alignfull">
  49          <!-- wp:group {"className":"is-style-section-2","style":{"spacing":{"blockGap":"var:preset|spacing|20","padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30","left":"var:preset|spacing|40","right":"var:preset|spacing|40"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
  50          <div class="wp-block-group is-style-section-2" style="padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--40)">
  51              <!-- wp:paragraph -->
  52              <p><?php esc_html_e( 'This immersive event celebrates the universal human experience through the lenses of history and ancestry, featuring a diverse array of photographers whose works capture the essence of different cultures and historical moments.', 'twentytwentyfive' ); ?></p>
  53              <!-- /wp:paragraph -->
  54  
  55              <!-- wp:spacer {"height":"0px","style":{"layout":{"selfStretch":"fixed","flexSize":"100px"}}} -->
  56              <div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
  57              <!-- /wp:spacer -->
  58  
  59              <!-- wp:heading {"fontSize":"xx-large"} -->
  60              <h2 class="wp-block-heading has-xx-large-font-size"><a href="#"><?php echo esc_html_x( 'RSVP', 'Abbreviation for "Please respond".', 'twentytwentyfive' ); ?></a></h2>
  61              <!-- /wp:heading -->
  62          </div>
  63          <!-- /wp:group -->
  64  
  65          <!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/botany-flowers-closeup.webp","dimRatio":0,"overlayColor":"base","isUserOverlayColor":true,"isDark":false,"layout":{"type":"constrained"}} -->
  66          <div class="wp-block-cover is-light">
  67              <span aria-hidden="true" class="wp-block-cover__background has-base-background-color has-background-dim-0 has-background-dim"></span><img class="wp-block-cover__image-background" alt="<?php esc_attr_e( 'Close up photo of white flowers on a grey background', 'twentytwentyfive' ); ?>" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/botany-flowers-closeup.webp" data-object-fit="cover"/>
  68              <div class="wp-block-cover__inner-container">
  69                  <!-- wp:spacer {"height":"var:preset|spacing|20"} -->
  70                  <div style="height:var(--wp--preset--spacing--20)" aria-hidden="true" class="wp-block-spacer"></div>
  71                  <!-- /wp:spacer -->
  72              </div>
  73          </div>
  74          <!-- /wp:cover -->
  75      </div>
  76      <!-- /wp:group -->
  77  </div>
  78  <!-- /wp:group -->


Generated : Thu Oct 24 08:20:01 2024 Cross-referenced by PHPXref