[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Default footer
   4   */
   5  return array(
   6      'title'      => __( 'Default footer', 'twentytwentytwo' ),
   7      'categories' => array( 'footer' ),
   8      'blockTypes' => array( 'core/template-part/footer' ),
   9      'content'    => '<!-- wp:group {"align":"full","layout":{"inherit":true}} -->
  10                      <div class="wp-block-group alignfull"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"4rem","bottom":"4rem"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
  11                      <div class="wp-block-group alignwide" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:site-title {"level":0} /-->
  12  
  13                      <!-- wp:paragraph {"align":"right"} -->
  14                      <p class="has-text-align-right">' .
  15                      sprintf(
  16                          /* Translators: WordPress link. */
  17                          esc_html__( 'Proudly powered by %s', 'twentytwentytwo' ),
  18                          '<a href="' . esc_url( __( 'https://wordpress.org', 'twentytwentytwo' ) ) . '" rel="nofollow">WordPress</a>'
  19                      ) . '</p>
  20                      <!-- /wp:paragraph --></div>
  21                      <!-- /wp:group --></div>
  22                      <!-- /wp:group -->',
  23  );


Generated: Sun Dec 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1