footer.php 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Title: Default footer
  4. * Slug: didone/footer
  5. * Categories: footer
  6. * Block Types: core/template-part/footer
  7. */
  8. ?>
  9. <!-- wp:spacer -->
  10. <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
  11. <!-- /wp:spacer -->
  12. <!-- wp:group {"layout":{"type":"constrained"}} -->
  13. <div class="wp-block-group"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--preset--spacing--60)","bottom":"var(--wp--preset--spacing--60)"},"blockGap":"8px"}}} -->
  14. <div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"><!-- wp:site-title {"textAlign":"center"} /-->
  15. <!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"0.9rem"}}} -->
  16. <p class="has-text-align-center" style="font-size:0.9rem">
  17. <?php
  18. /* Translators: WordPress link. */
  19. $wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'didone' ) ) . '" rel="nofollow">WordPress</a>';
  20. echo sprintf(
  21. esc_html__( 'Designed with %1$s', 'didone' ),
  22. $wordpress_link
  23. );
  24. ?>
  25. </a></p>
  26. <!-- /wp:paragraph --></div>
  27. <!-- /wp:group --></div>
  28. <!-- /wp:group -->