[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/ipsum/patterns/ -> archive-minimal.php (source)

   1  <?php
   2  /**
   3   * Title: Archive Minimal
   4   * Slug: ipsum/archive-minimal
   5   * Categories: posts
   6   * Block Types: core/query
   7   * Viewport width: 1280
   8   * Description: Big post titles and a whisper of meta — nothing else.
   9   *
  10   * @package Ipsum
  11   * @since Ipsum 1.0
  12   */
  13  
  14  ?>
  15  <!-- wp:query {"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[],"excludeCurrent":null},"metadata":{"categories":["posts"],"name":"<?php echo esc_html_x( 'Archive Minimal', 'Name of the Archive Minimal query', 'ipsum' ); ?>"},"align":"wide","layout":{"type":"default"}} -->
  16  <div class="wp-block-query alignwide"><!-- wp:post-template {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"default"}} -->
  17  <!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Minimal Row', 'Name of the minimal row group', 'ipsum' ); ?>"},"style":{"spacing":{"blockGap":{"top":"var:preset|spacing|30","left":"var:preset|spacing|20"},"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}},"border":{"bottom":{"style":"dotted","width":"1px"},"top":[],"right":[],"left":[]}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between","verticalAlignment":"top"}} -->
  18  <div class="wp-block-group" style="border-bottom-style:dotted;border-bottom-width:1px;padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)"><!-- wp:post-title {"isLink":true,"className":"is-style-text-display","style":{"typography":{"fontStyle":"normal","fontWeight":"600","letterSpacing":"-0.04rem"}}} /-->
  19  
  20  <!-- wp:post-date {"format":"M j","isLink":true} /--></div>
  21  <!-- /wp:group -->
  22  <!-- /wp:post-template -->
  23  
  24  <!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'No Results Wrapper', 'Name of the group shown when a query has no results', 'ipsum' ); ?>"},"layout":{"type":"default"}} -->
  25  <div class="wp-block-group"><!-- wp:query-no-results {"align":"wide"} -->
  26  <!-- wp:paragraph -->
  27  <p><?php esc_html_e( 'No posts have been published in this section yet.', 'ipsum' ); ?></p>
  28  <!-- /wp:paragraph -->
  29  <!-- /wp:query-no-results --></div>
  30  <!-- /wp:group -->
  31  
  32  <!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Pagination Wrapper', 'Name of the group wrapping the pagination', 'ipsum' ); ?>"},"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|60"}}},"layout":{"type":"default"}} -->
  33  <div class="wp-block-group alignwide" style="margin-top:var(--wp--preset--spacing--60)"><!-- wp:query-pagination {"paginationArrow":"arrow","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
  34  <!-- wp:query-pagination-previous /-->
  35  
  36  <!-- wp:query-pagination-next /-->
  37  <!-- /wp:query-pagination --></div>
  38  <!-- /wp:group --></div>
  39  <!-- /wp:query -->


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