[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/ipsum/patterns/ -> format-audio.php (source)

   1  <?php
   2  /**
   3   * Title: Format Audio
   4   * Slug: ipsum/format-audio
   5   * Categories: posts
   6   * Viewport width: 1280
   7   * Description: An audio-format post body — cover art, title and a one-line description over the player.
   8   *
   9   * @package Ipsum
  10   * @since Ipsum 1.0
  11   */
  12  
  13  ?>
  14  <!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Format Audio', 'Name of the audio format group', 'ipsum' ); ?>"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}},"layout":{"type":"constrained"}} -->
  15  <div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)"><!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Format Audio Wrapper', 'Name of the audio format card group', 'ipsum' ); ?>"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30","left":"var:preset|spacing|30","right":"var:preset|spacing|30"}},"border":{"radius":{"topLeft":"10px","topRight":"10px","bottomLeft":"10px","bottomRight":"10px"}}},"backgroundColor":"theme-5","layout":{"type":"constrained"}} -->
  16  <div class="wp-block-group has-theme-5-background-color has-background" style="border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-left-radius:10px;border-bottom-right-radius:10px;padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)"><!-- wp:image {"aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none"} -->
  17  <figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/ipsum-monobloc-front.webp?ver=<?php echo esc_attr( wp_get_theme( get_template() )->get( 'Version' ) ); ?>" alt="<?php echo esc_attr_x( 'A blurred plastic chair in blue and cream tones.', 'Alt text for the monobloc chair image', 'ipsum' ); ?>" style="aspect-ratio:1;object-fit:cover"/></figure>
  18  <!-- /wp:image -->
  19  
  20  <!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Title and Description', 'Name of the title and description group', 'ipsum' ); ?>"},"style":{"spacing":{"blockGap":{"top":"var:preset|spacing|20"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
  21  <div class="wp-block-group"><!-- wp:heading {"fontSize":"large"} -->
  22  <h2 class="wp-block-heading has-large-font-size"><?php esc_html_e( 'The keyboard, slowed down', 'ipsum' ); ?></h2>
  23  <!-- /wp:heading -->
  24  
  25  <!-- wp:paragraph -->
  26  <p><?php esc_html_e( 'The first recording to make it into a post: three minutes of typing, stretched until it sounds like weather', 'ipsum' ); ?></p>
  27  <!-- /wp:paragraph --></div>
  28  <!-- /wp:group -->
  29  
  30  <!-- wp:audio -->
  31  <figure class="wp-block-audio"><audio controls></audio></figure>
  32  <!-- /wp:audio --></div>
  33  <!-- /wp:group --></div>
  34  <!-- /wp:group -->


Generated : Thu Oct 22 08:20:34 2026 Cross-referenced by PHPXref