[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfive/patterns/ -> banner-about-book.php (source)

   1  <?php
   2  /**
   3   * Title: Banner with book description
   4   * Slug: twentytwentyfive/banner-about-book
   5   * Categories: banner
   6   * Description: Banner with book description and accompanying image for promotion.
   7   *
   8   * @package WordPress
   9   * @subpackage Twenty_Twenty_Five
  10   * @since Twenty Twenty-Five 1.0
  11   */
  12  
  13  ?>
  14  
  15  <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
  16  <div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)">
  17      <!-- wp:columns {"verticalAlignment":null,"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|50","left":"var:preset|spacing|70"}}}} -->
  18      <div class="wp-block-columns alignwide">
  19          <!-- wp:column {"verticalAlignment":"center","width":""} -->
  20          <div class="wp-block-column is-vertically-aligned-center">
  21              <!-- wp:heading {"className":"wp-block-heading","fontSize":"xx-large"} -->
  22              <h2 class="wp-block-heading has-xx-large-font-size"><?php esc_html_e( 'About the book', 'twentytwentyfive' ); ?></h2>
  23              <!-- /wp:heading -->
  24  
  25              <!-- wp:paragraph {"fontSize":"medium"} -->
  26              <p class="has-medium-font-size"><?php echo esc_html_x( 'This exquisite compilation showcases a diverse array of photographs that capture the essence of different eras and cultures, reflecting the unique styles and perspectives of each artist. Fleckenstein’s evocative imagery, Strand’s groundbreaking modernist approach, and Kōno’s meticulous documentation of Japanese life come together in a harmonious blend that celebrates the art of photography. Each image in “The Stories Book” is accompanied by insightful commentary, providing historical context and revealing the stories behind the photographs. This collection is not only a visual feast but also a tribute to the power of photography to preserve and narrate the multifaceted experiences of humanity.', 'Pattern placeholder text.', 'twentytwentyfive' ); ?></p>
  27              <!-- /wp:paragraph -->
  28          </div>
  29          <!-- /wp:column -->
  30  
  31          <!-- wp:column {"verticalAlignment":"center","width":"","layout":{"type":"default"}} -->
  32          <div class="wp-block-column is-vertically-aligned-center">
  33              <!-- wp:image {"aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none"} -->
  34              <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/book-image-landing.webp" alt="<?php esc_attr_e( 'Image of a book', 'twentytwentyfive' ); ?>" style="aspect-ratio:1;object-fit:cover"/></figure>
  35              <!-- /wp:image -->
  36          </div>
  37          <!-- /wp:column -->
  38      </div>
  39      <!-- /wp:columns -->
  40  </div>
  41  <!-- /wp:group -->


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