footer-default.php 997 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Default footer block pattern
  4. */
  5. return array(
  6. 'title' => __( 'Default footer', 'stewart' ),
  7. 'categories' => array( 'footer' ),
  8. 'blockTypes' => array( 'core/template-part/footer' ),
  9. 'content' => '<!-- wp:spacer {"height":60} -->
  10. <div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
  11. <!-- /wp:spacer -->
  12. <!-- wp:group -->
  13. <div class="wp-block-group">
  14. <!-- wp:paragraph {"align":"center","fontSize":"tiny"} -->
  15. <p class="has-text-align-center has-small-font-size">' .
  16. sprintf(
  17. /* Translators: WordPress link. */
  18. esc_html__( 'Proudly powered by %s', 'stewart' ),
  19. '<a href="' . esc_url( __( 'https://wordpress.org', 'stewart' ) ) . '" rel="nofollow">WordPress</a>'
  20. ) . '</p>
  21. <!-- /wp:paragraph -->
  22. </div>
  23. <!-- /wp:group -->
  24. <!-- wp:spacer {"height":60} -->
  25. <div style="height:60px" aria-hidden="true" class="wp-block-spacer"></div>
  26. <!-- /wp:spacer -->',
  27. );