[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-content/themes/twentytwentytwo/inc/patterns/ -> footer-blog.php (source)

   1  <?php
   2  /**
   3   * Blog footer
   4   */
   5  return array(
   6      'title'      => __( 'Blog footer', 'twentytwentytwo' ),
   7      'categories' => array( 'footer' ),
   8      'blockTypes' => array( 'core/template-part/footer' ),
   9      'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--custom--spacing--large, 8rem)","bottom":"var(--wp--custom--spacing--large, 8rem)"}}},"layout":{"inherit":true}} -->
  10                      <div class="wp-block-group alignfull" style="padding-top:var(--wp--custom--spacing--large, 8rem);padding-bottom:var(--wp--custom--spacing--large, 8rem)"><!-- wp:columns {"align":"wide"} -->
  11                      <div class="wp-block-columns alignwide"><!-- wp:column -->
  12                      <div class="wp-block-column"><!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase"}}} -->
  13                      <p style="text-transform:uppercase">' . esc_html__( 'About us', 'twentytwentytwo' ) . '</p>
  14                      <!-- /wp:paragraph -->
  15  
  16                      <!-- wp:paragraph -->
  17                      <p>' . esc_html__( 'We are a rogue collective of bird watchers. We’ve been known to sneak through fences, climb perimeter walls, and generally trespass in order to observe the rarest of birds.', 'twentytwentytwo' ) . '</p>
  18                      <!-- /wp:paragraph --></div>
  19                      <!-- /wp:column -->
  20  
  21                      <!-- wp:column -->
  22                      <div class="wp-block-column"><!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase"}}} -->
  23                      <p style="text-transform:uppercase">' . esc_html__( 'Latest posts', 'twentytwentytwo' ) . '</p>
  24                      <!-- /wp:paragraph -->
  25  
  26                      <!-- wp:latest-posts /--></div>
  27                      <!-- /wp:column -->
  28  
  29                      <!-- wp:column -->
  30                      <div class="wp-block-column"><!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase"}}} -->
  31                      <p style="text-transform:uppercase">' . esc_html__( 'Categories', 'twentytwentytwo' ) . '</p>
  32                      <!-- /wp:paragraph -->
  33  
  34                      <!-- wp:categories /--></div>
  35                      <!-- /wp:column --></div>
  36                      <!-- /wp:columns -->
  37  
  38                      <!-- wp:spacer {"height":50} -->
  39                      <div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
  40                      <!-- /wp:spacer -->
  41  
  42                      <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
  43                      <div class="wp-block-group alignwide" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:site-title {"level":0} /-->
  44  
  45                      <!-- wp:paragraph {"align":"right"} -->
  46                      <p class="has-text-align-right">' .
  47                      sprintf(
  48                          /* Translators: WordPress link. */
  49                          esc_html__( 'Proudly powered by %s', 'twentytwentytwo' ),
  50                          '<a href="' . esc_url( __( 'https://wordpress.org', 'twentytwentytwo' ) ) . '" rel="nofollow">WordPress</a>'
  51                      ) . '</p>
  52                      <!-- /wp:paragraph --></div>
  53                      <!-- /wp:group --></div>
  54                      <!-- /wp:group -->',
  55  );


Generated : Sat Nov 23 08:20:01 2024 Cross-referenced by PHPXref