footer.php 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?php
  2. /**
  3. * Title: Default footer
  4. * Slug: exmoor/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":{"top":"8vw","right":"var:preset|spacing|60","bottom":"8vw","left":"var:preset|spacing|60"},"margin":{"top":"0","bottom":"0"}}},"backgroundColor":"contrast","textColor":"base","layout":{"type":"constrained"}} -->
  11. <div class="wp-block-group alignfull has-base-color has-contrast-background-color has-text-color has-background" style="margin-top:0;margin-bottom:0;padding-top:8vw;padding-right:var(--wp--preset--spacing--60);padding-bottom:8vw;padding-left:var(--wp--preset--spacing--60)">
  12. <!-- wp:columns {"align":"wide"} -->
  13. <div class="wp-block-columns alignwide">
  14. <!-- wp:column {"width":"70%","style":{"spacing":{"blockGap":"var:preset|spacing|40"}}} -->
  15. <div class="wp-block-column" style="flex-basis:70%">
  16. <!-- wp:site-title {"style":{"elements":{"link":{"color":{"text":"var:preset|color|base"},":hover":{"color":{"text":"var:preset|color|base"}}}}},"textColor":"base"} /-->
  17. <!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.5"}},"fontSize":"x-small","fontFamily":"raleway"} -->
  18. <p class="has-raleway-font-family has-x-small-font-size" style="line-height:1.5"><?php echo wp_kses_post( __( '3 Cottage Rd, Exford,<br>Minehead SA12 7TG', 'exmoor' ) ); ?></p>
  19. <!-- /wp:paragraph -->
  20. <!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.5"},"spacing":{"margin":{"top":"0"}}},"fontSize":"x-small","fontFamily":"raleway"} -->
  21. <p class="has-raleway-font-family has-x-small-font-size" style="margin-top:0;line-height:1.5"><?php echo esc_html_x( '01234567890', 'tel number', 'exmoor' ); ?></p>
  22. <!-- /wp:paragraph -->
  23. <!-- wp:social-links {"iconColor":"base","iconColorValue":"#ffffff","size":"has-small-icon-size","className":"is-style-logos-only"} -->
  24. <ul class="wp-block-social-links has-small-icon-size has-icon-color is-style-logos-only">
  25. <!-- wp:social-link {"url":"#","service":"facebook"} /-->
  26. <!-- wp:social-link {"url":"#","service":"instagram"} /-->
  27. <!-- wp:social-link {"url":"#","service":"tumblr"} /-->
  28. </ul>
  29. <!-- /wp:social-links -->
  30. </div>
  31. <!-- /wp:column -->
  32. <!-- wp:column {"width":"15%"} -->
  33. <div class="wp-block-column" style="flex-basis:15%">
  34. <!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"},"style":{"spacing":{"blockGap":"0"}},"fontSize":"x-small"} /-->
  35. </div>
  36. <!-- /wp:column -->
  37. <!-- wp:column {"width":"15%"} -->
  38. <div class="wp-block-column" style="flex-basis:15%">
  39. <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|base"},":hover":{"color":{"text":"var:preset|color|base"}}}},"typography":{"lineHeight":"1.5"}},"fontSize":"x-small","fontFamily":"raleway"} -->
  40. <p class="has-link-color has-raleway-font-family has-x-small-font-size" style="line-height:1.5"><?php
  41. /* Translators: WordPress link. */
  42. $wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'exmoor' ) ) . '" rel="nofollow">WordPress</a>';
  43. echo sprintf(
  44. esc_html__( 'Designed with %1$s', 'exmoor' ),
  45. $wordpress_link
  46. );?></p>
  47. <!-- /wp:paragraph -->
  48. </div>
  49. <!-- /wp:column -->
  50. </div>
  51. <!-- /wp:columns -->
  52. </div>
  53. <!-- /wp:group -->