footer.php 1.0 KB

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Title: Default footer
  4. * Slug: shhh/footer
  5. * Categories: footer
  6. * Block Types: core/template-part/footer
  7. */
  8. declare( strict_types = 1 );
  9. ?>
  10. <!-- wp:spacer {"height":"50px"} -->
  11. <div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>
  12. <!-- /wp:spacer -->
  13. <!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained","justifyContent":"center"}} -->
  14. <div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)">
  15. <!-- wp:paragraph {"lock":{"move":false,"remove":true},"className":"has-x-small-font-size","fontSize":"x-small"} -->
  16. <p class="has-x-small-font-size"><?php
  17. /* Translators: WordPress link. */
  18. $wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'shhh' ) ) . '" rel="nofollow">WordPress</a>';
  19. echo sprintf(
  20. esc_html__( 'Designed with %1$s', 'shhh' ),
  21. $wordpress_link
  22. );
  23. ?></p>
  24. <!-- /wp:paragraph -->
  25. </div>
  26. <!-- /wp:group -->