[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Footer with navigation and citation
   4   */
   5  return array(
   6      'title'      => __( 'Footer with navigation and citation', '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:navigation -->
  12                      <!-- wp:page-list {"isNavigationChild":true,"showSubmenuIcon":true,"openSubmenusOnClick":false} /-->
  13                      <!-- /wp:navigation -->
  14  
  15                      <!-- wp:paragraph {"align":"right"} -->
  16                      <p class="has-text-align-right">' .
  17                      sprintf(
  18                          /* Translators: WordPress link. */
  19                          esc_html__( 'Proudly powered by %s', 'twentytwentytwo' ),
  20                          '<a href="' . esc_url( __( 'https://wordpress.org', 'twentytwentytwo' ) ) . '" rel="nofollow">WordPress</a>'
  21                      ) . '</p>
  22                      <!-- /wp:paragraph --></div>
  23                      <!-- /wp:group --></div>
  24                      <!-- /wp:group -->',
  25  );


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