[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Title: Offset gallery, 4 columns
   4   * Slug: twentytwentyfour/gallery-offset-images-grid-4-col
   5   * Categories: gallery, featured, portfolio
   6   * Keywords: project, images, media, masonry, columns
   7   * Viewport width: 1400
   8   * Description: A gallery section with 4 columns and offset images.
   9   */
  10  ?>
  11  
  12  <!-- 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"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"},"metadata":{"name":"Portfolio Images"}} -->
  13  <div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;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)">
  14      <!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"0","left":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"}}}} -->
  15      <div class="wp-block-columns alignwide" style="margin-top:0;margin-bottom:0">
  16          <!-- wp:column {"style":{"spacing":{"blockGap":"0"}}} -->
  17          <div class="wp-block-column">
  18              <!-- wp:image {"aspectRatio":"4/3","scale":"cover","className":"is-style-rounded"} -->
  19              <figure class="wp-block-image is-style-rounded">
  20                  <img alt="" style="aspect-ratio:4/3;object-fit:cover" />
  21              </figure>
  22              <!-- /wp:image -->
  23  
  24              <!-- wp:spacer {"height":"var:preset|spacing|50"} -->
  25              <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div>
  26              <!-- /wp:spacer -->
  27  
  28              <!-- wp:image {"aspectRatio":"3/4","scale":"cover","className":"is-style-rounded"} -->
  29              <figure class="wp-block-image is-style-rounded">
  30                  <img alt="" style="aspect-ratio:3/4;object-fit:cover" />
  31              </figure>
  32              <!-- /wp:image -->
  33  
  34              <!-- wp:spacer {"height":"var:preset|spacing|50"} -->
  35              <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer">
  36              </div>
  37              <!-- /wp:spacer -->
  38  
  39              <!-- wp:image {"aspectRatio":"3/4","scale":"cover","className":"is-style-rounded"} -->
  40              <figure class="wp-block-image is-style-rounded">
  41                  <img alt="" style="aspect-ratio:3/4;object-fit:cover" />
  42              </figure>
  43              <!-- /wp:image -->
  44          </div>
  45          <!-- /wp:column -->
  46  
  47          <!-- wp:column {"style":{"spacing":{"blockGap":"0"}}} -->
  48          <div class="wp-block-column">
  49              <!-- wp:spacer {"height":"var:preset|spacing|50"} -->
  50              <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div>
  51              <!-- /wp:spacer -->
  52  
  53              <!-- wp:image {"aspectRatio":"3/4","scale":"cover","className":"is-style-rounded"} -->
  54              <figure class="wp-block-image is-style-rounded">
  55                  <img alt="" style="aspect-ratio:3/4;object-fit:cover" />
  56              </figure>
  57              <!-- /wp:image -->
  58  
  59              <!-- wp:spacer {"height":"var:preset|spacing|50"} -->
  60              <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div>
  61              <!-- /wp:spacer -->
  62  
  63              <!-- wp:image {"aspectRatio":"1","scale":"cover","className":"is-style-rounded"} -->
  64              <figure class="wp-block-image is-style-rounded">
  65                  <img alt="" style="aspect-ratio:1;object-fit:cover" />
  66              </figure>
  67              <!-- /wp:image -->
  68  
  69              <!-- wp:spacer {"height":"var:preset|spacing|50"} -->
  70              <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div>
  71              <!-- /wp:spacer -->
  72  
  73              <!-- wp:image {"aspectRatio":"1","scale":"cover","className":"is-style-rounded"} -->
  74              <figure class="wp-block-image is-style-rounded">
  75                  <img alt="" style="aspect-ratio:1;object-fit:cover" />
  76              </figure>
  77              <!-- /wp:image -->
  78          </div>
  79          <!-- /wp:column -->
  80  
  81          <!-- wp:column {"style":{"spacing":{"blockGap":"0"}}} -->
  82          <div class="wp-block-column">
  83              <!-- wp:image {"aspectRatio":"3/4","scale":"cover","className":"is-style-rounded"} -->
  84              <figure class="wp-block-image is-style-rounded">
  85                  <img alt="" style="aspect-ratio:3/4;object-fit:cover" />
  86              </figure>
  87              <!-- /wp:image -->
  88  
  89              <!-- wp:spacer {"height":"var:preset|spacing|50"} -->
  90              <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer">
  91              </div>
  92              <!-- /wp:spacer -->
  93  
  94              <!-- wp:image {"aspectRatio":"3/4","scale":"cover","className":"is-style-rounded"} -->
  95              <figure class="wp-block-image is-style-rounded">
  96                  <img alt="" style="aspect-ratio:3/4;object-fit:cover" />
  97              </figure>
  98              <!-- /wp:image -->
  99  
 100              <!-- wp:spacer {"height":"var:preset|spacing|50"} -->
 101              <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer">
 102              </div>
 103              <!-- /wp:spacer -->
 104  
 105              <!-- wp:image {"aspectRatio":"16/9","scale":"cover","className":"is-style-rounded"} -->
 106              <figure class="wp-block-image is-style-rounded">
 107                  <img alt="" style="aspect-ratio:16/9;object-fit:cover" />
 108              </figure>
 109              <!-- /wp:image -->
 110          </div>
 111          <!-- /wp:column -->
 112  
 113          <!-- wp:column {"style":{"spacing":{"blockGap":"0"}}} -->
 114          <div class="wp-block-column">
 115              <!-- wp:spacer {"height":"var:preset|spacing|50"} -->
 116              <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div>
 117              <!-- /wp:spacer -->
 118  
 119              <!-- wp:image {"aspectRatio":"1","scale":"cover","className":"is-style-rounded"} -->
 120              <figure class="wp-block-image is-style-rounded">
 121                  <img alt="" style="aspect-ratio:1;object-fit:cover" />
 122              </figure>
 123              <!-- /wp:image -->
 124  
 125              <!-- wp:spacer {"height":"var:preset|spacing|50"} -->
 126              <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div>
 127              <!-- /wp:spacer -->
 128  
 129              <!-- wp:image {"aspectRatio":"16/9","scale":"cover","className":"is-style-rounded"} -->
 130              <figure class="wp-block-image is-style-rounded">
 131                  <img alt="" style="aspect-ratio:16/9;object-fit:cover" />
 132              </figure>
 133              <!-- /wp:image -->
 134  
 135              <!-- wp:spacer {"height":"var:preset|spacing|50"} -->
 136              <div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer">
 137              </div>
 138              <!-- /wp:spacer -->
 139  
 140              <!-- wp:image {"aspectRatio":"9/16","scale":"cover","className":"is-style-rounded"} -->
 141              <figure class="wp-block-image is-style-rounded">
 142                  <img alt="" style="aspect-ratio:9/16;object-fit:cover" />
 143              </figure>
 144              <!-- /wp:image -->
 145          </div>
 146          <!-- /wp:column -->
 147      </div>
 148      <!-- /wp:columns -->
 149  </div>
 150  <!-- /wp:group -->


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