footer.php 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. /**
  3. * Title: Default footer
  4. * Slug: craftfully/footer
  5. * Categories: footer
  6. * Block Types: core/template-part/footer
  7. */
  8. declare( strict_types = 1 );
  9. ?>
  10. <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|60","left":"var:preset|spacing|60","top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}},"border":{"top":{"color":"var:preset|color|contrast","style":"dashed","width":"1px"},"right":[],"bottom":{"color":"var:preset|color|contrast","style":"dashed","width":"1px"},"left":[]}},"backgroundColor":"accent-3","layout":{"type":"constrained"}} -->
  11. <div class="wp-block-group alignfull has-accent-3-background-color has-background" style="border-top-color:var(--wp--preset--color--contrast);border-top-style:dashed;border-top-width:1px;border-bottom-color:var(--wp--preset--color--contrast);border-bottom-style:dashed;border-bottom-width:1px;padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--60)"><!-- wp:group {"align":"wide","layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
  12. <div class="wp-block-group alignwide"><!-- wp:site-title /-->
  13. <!-- wp:navigation {"overlayMenu":"never","style":{"typography":{"textTransform":"none","fontStyle":"normal","fontWeight":"300","letterSpacing":"0px"}},"fontFamily":"system-font"} /-->
  14. <!-- wp:social-links {"iconColor":"background","iconColorValue":"#ffffff","iconBackgroundColor":"primary","iconBackgroundColorValue":"#11181F","size":"has-small-icon-size","style":{"spacing":{"blockGap":{"left":"var:preset|spacing|20"}}},"className":"is-style-default"} -->
  15. <ul class="wp-block-social-links has-small-icon-size has-icon-color has-icon-background-color is-style-default"><!-- wp:social-link {"url":"#","service":"pinterest"} /-->
  16. <!-- wp:social-link {"url":"#","service":"instagram"} /-->
  17. <!-- wp:social-link {"url":"#","service":"facebook"} /-->
  18. <!-- wp:social-link {"url":"#","service":"mail"} /--></ul>
  19. <!-- /wp:social-links --></div>
  20. <!-- /wp:group --></div>
  21. <!-- /wp:group -->
  22. <!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"0.8rem"}}} -->
  23. <p style="font-size:0.8rem">
  24. <?php
  25. /* Translators: WordPress link. */
  26. $wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'craftfully' ) ) . '" rel="nofollow">WordPress</a>';
  27. echo sprintf(
  28. esc_html__( 'Designed with %1$s', 'craftfully' ),
  29. $wordpress_link
  30. );
  31. ?>
  32. </p>
  33. <!-- /wp:paragraph -->