[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentytwentytwo/inc/patterns/ -> query-large-titles.php (source)

   1  <?php
   2  /**
   3   * Large post titles block pattern
   4   */
   5  return array(
   6      'title'      => __( 'Large post titles', 'twentytwentytwo' ),
   7      'categories' => array( 'query' ),
   8      'blockTypes' => array( 'core/query' ),
   9      'content'    => '<!-- wp:query {"query":{"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"perPage":8},"align":"wide"} -->
  10                      <div class="wp-block-query alignwide"><!-- wp:post-template -->
  11                      <!-- wp:columns -->
  12                      <div class="wp-block-columns"><!-- wp:column {"verticalAlignment":"top","width":"4em"} -->
  13                      <div class="wp-block-column is-vertically-aligned-top" style="flex-basis:4em"><!-- wp:post-date {"format":"M j","fontSize":"small"} /--></div>
  14                      <!-- /wp:column -->
  15  
  16                      <!-- wp:column {"verticalAlignment":"center","width":""} -->
  17                      <div class="wp-block-column is-vertically-aligned-center"><!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}},"typography":{"fontSize":"clamp(2.75rem, 6vw, 3.25rem)"}}} /--></div>
  18                      <!-- /wp:column --></div>
  19                      <!-- /wp:columns -->
  20  
  21                      <!-- wp:separator {"className":"is-style-wide"} -->
  22                      <hr class="wp-block-separator is-style-wide"/>
  23                      <!-- /wp:separator -->
  24                      <!-- /wp:post-template --></div>
  25                      <!-- /wp:query -->',
  26  );


Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1