[ 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","margin":{"top":"0","bottom":"0"}}},"layout":{"type":"default"}} -->
  18  <div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0">
  19      <!-- wp:columns {"isStackedOnMobile":false,"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|80","left":"var:preset|spacing|40","right":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"}}}} -->
  20      <div class="wp-block-columns alignfull is-not-stacked-on-mobile" style="margin-top:0;margin-bottom:0;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)">
  21          <!-- wp:column {"width":"66.66%"} -->
  22          <div class="wp-block-column" style="flex-basis:66.66%">
  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">
  27                      <?php
  28                      echo wp_kses_post(
  29                          /* translators: This string contains the word "Stories" in four different languages with the first item in the locale's language. */
  30                          _x( '“Stories, <span lang="es">historias</span>, <span lang="uk">iсторії</span>, <span lang="el">iστορίες</span>”', 'Placeholder heading in four languages.', 'twentytwentyfive' )
  31                      );
  32                      ?>
  33                  </h2>
  34                  <!-- /wp:heading -->
  35  
  36                  <!-- wp:paragraph {"fontSize":"x-large"} -->
  37                  <p class="has-x-large-font-size"><?php echo esc_html_x( 'Mon, Jan 1', 'Example event date in pattern.', 'twentytwentyfive' ); ?></p>
  38                  <!-- /wp:paragraph -->
  39  
  40                  <!-- wp:spacer {"height":"0px","style":{"layout":{"selfStretch":"fixed","flexSize":"140px"}}} -->
  41                  <div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
  42                  <!-- /wp:spacer -->
  43              </div>
  44              <!-- /wp:group -->
  45          </div>
  46          <!-- /wp:column -->
  47  
  48          <!-- wp:column {"width":"12vw"} -->
  49          <div class="wp-block-column" style="flex-basis:12vw"></div>
  50          <!-- /wp:column -->
  51  
  52          <!-- wp:column -->
  53          <div class="wp-block-column">
  54              <!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"right"}} -->
  55              <div class="wp-block-group">
  56                  <!-- wp:paragraph {"align":"left","style":{"typography":{"writingMode":"vertical-rl","textTransform":"uppercase","lineHeight":"0.6"}}} -->
  57                  <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>
  58                  <!-- /wp:paragraph -->
  59              </div>
  60              <!-- /wp:group -->
  61          </div>
  62          <!-- /wp:column -->
  63      </div>
  64      <!-- /wp:columns -->
  65  
  66      <!-- wp:columns {"align":"full","className":"is-style-section-2","style":{"spacing":{"blockGap":{"top":"0","left":"0"},"padding":{"top":"0","bottom":"0"}}}} -->
  67      <div class="wp-block-columns alignfull is-style-section-2" style="padding-top:0;padding-bottom:0">
  68          <!-- wp:column {"width":"50%"} -->
  69          <div class="wp-block-column" style="flex-basis:50%">
  70              <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20","padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}},"dimensions":{"minHeight":"33vh"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
  71              <div class="wp-block-group" style="min-height:33vh;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)">
  72                  <!-- wp:paragraph -->
  73                  <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>
  74                  <!-- /wp:paragraph -->
  75  
  76                  <!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"100px","selfStretch":"fixed"}}} -->
  77                  <div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
  78                  <!-- /wp:spacer -->
  79  
  80                  <!-- wp:heading {"fontSize":"xx-large"} -->
  81                  <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>
  82                  <!-- /wp:heading -->
  83              </div>
  84              <!-- /wp:group -->
  85          </div>
  86          <!-- /wp:column -->
  87  
  88          <!-- wp:column {"width":"50%"} -->
  89          <div class="wp-block-column" style="flex-basis:50%">
  90              <!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/botany-flowers-closeup.webp","dimRatio":0,"isDark":false} -->
  91              <div class="wp-block-cover is-light"><span aria-hidden="true" class="wp-block-cover__background 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"/>
  92              <div class="wp-block-cover__inner-container">
  93                  <!-- wp:spacer {"height":"var:preset|spacing|20"} -->
  94                  <div style="height:var(--wp--preset--spacing--20)" aria-hidden="true" class="wp-block-spacer"></div>
  95                  <!-- /wp:spacer -->
  96              </div></div>
  97              <!-- /wp:cover -->
  98          </div>
  99          <!-- /wp:column -->
 100      </div>
 101      <!-- /wp:columns -->
 102  </div>
 103  <!-- /wp:group -->


Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref