[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentytwo/inc/patterns/ -> footer-query-images-title-citation.php (source)

   1  <?php
   2  /**
   3   * Footer with query, featured images, title, and citation
   4   */
   5  return array(
   6      'title'      => __( 'Footer with query, featured images, title, and citation', 'twentytwentytwo' ),
   7      'categories' => array( 'footer' ),
   8      'blockTypes' => array( 'core/template-part/footer' ),
   9      'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}},"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} -->
  10                      <div class="wp-block-group alignfull has-background-color has-foreground-background-color has-text-color has-background has-link-color" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","categoryIds":[],"tagIds":[],"order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"flex","columns":3},"align":"wide"} -->
  11                      <div class="wp-block-query alignwide"><!-- wp:post-template -->
  12                      <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"318px"} /-->
  13  
  14                      <!-- wp:post-title {"isLink":true,"fontSize":"x-large"} /-->
  15  
  16                      <!-- wp:post-excerpt /-->
  17  
  18                      <!-- wp:post-date {"format":"F j, Y","isLink":true,"fontSize":"small"} /-->
  19                      <!-- /wp:post-template --></div>
  20                      <!-- /wp:query -->
  21  
  22                      <!-- wp:spacer -->
  23                      <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
  24                      <!-- /wp:spacer -->
  25  
  26                      <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
  27                      <div class="wp-block-group alignwide" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:site-title {"level":0} /-->
  28                      <!-- wp:group {"layout":{"type":"flex","justifyContent":"right"}} -->
  29                      <div class="wp-block-group">
  30                      <!-- wp:paragraph -->
  31                      <p>' .
  32                      sprintf(
  33                          /* Translators: WordPress link. */
  34                          esc_html__( 'Proudly powered by %s', 'twentytwentytwo' ),
  35                          '<a href="' . esc_url( __( 'https://wordpress.org', 'twentytwentytwo' ) ) . '" rel="nofollow">WordPress</a>'
  36                      ) . '</p>
  37                      <!-- /wp:paragraph --></div>
  38                      <!-- /wp:group --></div>
  39                      <!-- /wp:group --></div>
  40                      <!-- /wp:group -->',
  41  );


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref