[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Footer with navigation and copyright
   4   */
   5  return array(
   6      'title'      => __( 'Footer with navigation and copyright', '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"}}}} -->
  11                      <div class="wp-block-group alignwide" style="padding-top:4rem;padding-bottom:4rem"><!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"center"}} -->
  12                      <!-- wp:page-list {"isNavigationChild":true,"showSubmenuIcon":true,"openSubmenusOnClick":false} /-->
  13                      <!-- /wp:navigation -->
  14  
  15                      <!-- wp:spacer {"height":50} -->
  16                      <div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
  17                      <!-- /wp:spacer -->
  18  
  19                      <!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"16px"}}} -->
  20                      <p class="has-text-align-center" style="font-size:16px">' . esc_html__( '© Site Title', 'twentytwentytwo' ) . '</p>
  21                      <!-- /wp:paragraph --></div>
  22                      <!-- /wp:group --></div>
  23                      <!-- /wp:group -->',
  24  );


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