[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentyfour/patterns/ -> posts-images-only-offset-4-col.php (source)

   1  <?php
   2  /**
   3   * Title: Offset posts with featured images only, 4 columns
   4   * Slug: twentytwentyfour/posts-images-only-offset-4-col
   5   * Categories: posts
   6   * Description: A list of posts with featured images only, 4 columns.
   7   */
   8  ?>
   9  
  10  <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}},"layout":{"type":"constrained"}} -->
  11  <div class="wp-block-group alignfull" style="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)">
  12      <!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"0","left":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"}}}} -->
  13      <div class="wp-block-columns alignwide" style="margin-top:0;margin-bottom:0">
  14          <!-- wp:column {"style":{"spacing":{"blockGap":"0"}}} -->
  15          <div class="wp-block-column">
  16              <!-- wp:query {"query":{"perPage":"3","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
  17              <div class="wp-block-query">
  18                  <!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"default"}} -->
  19                  <!-- wp:post-featured-image {"isLink":true,"align":"wide","style":{"spacing":{"margin":{"bottom":"0"}}}} /-->
  20                  <!-- /wp:post-template -->
  21              </div>
  22              <!-- /wp:query -->
  23          </div>
  24          <!-- /wp:column -->
  25  
  26          <!-- wp:column {"style":{"spacing":{"blockGap":"0","padding":{"top":"0"}}}} -->
  27          <div class="wp-block-column" style="padding-top:0">
  28              <!-- wp:spacer {"height":"var:preset|spacing|50"} -->
  29              <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer">
  30              </div>
  31              <!-- /wp:spacer -->
  32  
  33              <!-- wp:query {"query":{"perPage":"3","pages":0,"offset":"3","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false}} -->
  34              <div class="wp-block-query">
  35                  <!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"default"}} -->
  36                  <!-- wp:post-featured-image {"isLink":true,"align":"wide","style":{"spacing":{"margin":{"bottom":"0","top":"0"}}}} /-->
  37                  <!-- /wp:post-template -->
  38              </div>
  39              <!-- /wp:query -->
  40  
  41              <!-- wp:spacer {"height":"var:preset|spacing|50"} -->
  42              <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer">
  43              </div>
  44              <!-- /wp:spacer -->
  45          </div>
  46          <!-- /wp:column -->
  47  
  48          <!-- wp:column {"style":{"spacing":{"blockGap":"0"}}} -->
  49          <div class="wp-block-column">
  50              <!-- wp:query {"query":{"perPage":"3","pages":0,"offset":"6","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false}} -->
  51              <div class="wp-block-query">
  52                  <!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"default"}} -->
  53                  <!-- wp:post-featured-image {"isLink":true,"align":"wide","style":{"spacing":{"margin":{"bottom":"0"}}}} /-->
  54                  <!-- /wp:post-template -->
  55              </div>
  56              <!-- /wp:query -->
  57          </div>
  58          <!-- /wp:column -->
  59  
  60          <!-- wp:column {"style":{"spacing":{"blockGap":"0","padding":{"top":"0"}}}} -->
  61          <div class="wp-block-column" style="padding-top:0">
  62              <!-- wp:spacer {"height":"var:preset|spacing|50"} -->
  63              <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer">
  64              </div>
  65              <!-- /wp:spacer -->
  66  
  67              <!-- wp:query {"query":{"perPage":"3","pages":0,"offset":"9","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false}} -->
  68              <div class="wp-block-query">
  69                  <!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"default"}} -->
  70                  <!-- wp:post-featured-image {"isLink":true,"align":"wide","style":{"spacing":{"margin":{"top":"0","bottom":"0"}}}} /-->
  71                  <!-- /wp:post-template -->
  72              </div>
  73              <!-- /wp:query -->
  74  
  75              <!-- wp:spacer {"height":"var:preset|spacing|50"} -->
  76              <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer">
  77              </div>
  78              <!-- /wp:spacer -->
  79          </div>
  80          <!-- /wp:column -->
  81      </div>
  82      <!-- /wp:columns -->
  83  </div>
  84  <!-- /wp:group -->


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