[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Dark footer with title and citation
   4   */
   5  return array(
   6      'title'      => __( 'Dark footer with title and citation', 'twentytwentytwo' ),
   7      'categories' => array( 'footer' ),
   8      'blockTypes' => array( 'core/template-part/footer' ),
   9      'content'    => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"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:var(--wp--custom--spacing--small, 1.25rem);padding-bottom:var(--wp--custom--spacing--small, 1.25rem)"><!-- wp:group {"align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
  11                      <div class="wp-block-group alignwide"><!-- 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 08:20:01 2024 Cross-referenced by PHPXref