footer.php 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?php
  2. /**
  3. * Title: Default footer
  4. * Slug: bitacora/footer
  5. * Categories: featured, footer
  6. * Block Types: core/template-part/footer
  7. */
  8. ?>
  9. <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
  10. <div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--70)">
  11. <!-- wp:separator {"align":"wide","className":"is-style-wide"} -->
  12. <hr class="wp-block-separator alignwide has-alpha-channel-opacity is-style-wide"/>
  13. <!-- /wp:separator -->
  14. <!-- wp:columns {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}}} -->
  15. <div class="wp-block-columns alignwide" style="padding-top:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80)">
  16. <!-- wp:column -->
  17. <div class="wp-block-column">
  18. <!-- wp:heading {"level":3,"style":{"typography":{"fontStyle":"normal","fontWeight":"500","textTransform":"uppercase","letterSpacing":"0.2em"}},"fontSize":"small"} -->
  19. <h3 class="wp-block-heading has-small-font-size" style="font-style:normal;font-weight:500;letter-spacing:0.2em;text-transform:uppercase"><?php _e( 'Recent Posts', 'bitacora' ); ?></h3>
  20. <!-- /wp:heading -->
  21. <!-- wp:latest-posts {"postsToShow":3,"fontSize":"small"} /--></div>
  22. <!-- /wp:column -->
  23. <!-- wp:column -->
  24. <div class="wp-block-column">
  25. <!-- wp:heading {"level":3,"style":{"typography":{"fontStyle":"normal","fontWeight":"500","textTransform":"uppercase","letterSpacing":"0.2em"}},"fontSize":"small"} -->
  26. <h3 class="wp-block-heading has-small-font-size" style="font-style:normal;font-weight:500;letter-spacing:0.2em;text-transform:uppercase"><?php _e( 'Follow Me', 'bitacora' ); ?></h3>
  27. <!-- /wp:heading -->
  28. <!-- wp:group {"style":{"spacing":{"blockGap":"0px"}},"layout":{"type":"constrained"}} -->
  29. <div class="wp-block-group">
  30. <!-- wp:paragraph {"fontSize":"small"} -->
  31. <p class="has-small-font-size"><a href="#"><?php _e( 'Tumblr', 'bitacora' ); ?></a></p>
  32. <!-- /wp:paragraph -->
  33. <!-- wp:paragraph {"fontSize":"small"} -->
  34. <p class="has-small-font-size"><a href="#"><?php _e( 'WordPress', 'bitacora' ); ?></a></p>
  35. <!-- /wp:paragraph -->
  36. <!-- wp:paragraph {"fontSize":"small"} -->
  37. <p class="has-small-font-size"><a href="#"><?php _e( 'Instagram', 'bitacora' ); ?></a></p>
  38. <!-- /wp:paragraph -->
  39. </div>
  40. <!-- /wp:group -->
  41. </div>
  42. <!-- /wp:column -->
  43. <!-- wp:column -->
  44. <div class="wp-block-column">
  45. <!-- wp:heading {"level":3,"style":{"typography":{"fontStyle":"normal","fontWeight":"500","textTransform":"uppercase","letterSpacing":"0.2em"}},"fontSize":"small"} -->
  46. <h3 class="wp-block-heading has-small-font-size" style="font-style:normal;font-weight:500;letter-spacing:0.2em;text-transform:uppercase"><?php _e( 'Newsletter', 'bitacora' ); ?></h3>
  47. <!-- /wp:heading -->
  48. <!-- wp:jetpack/subscriptions {"submitButtonText":"subscribe","fontSize":"0.781rem","customFontSize":"0.781rem","borderRadius":2,"padding":9,"spacing":7} -->
  49. <div class="wp-block-jetpack-subscriptions wp-block-jetpack-subscriptions__supports-newline">[jetpack_subscription_form show_subscribers_total="false" button_on_newline="false" submit_button_text="subscribe" custom_font_size="0.781rem" custom_border_radius="2" custom_border_weight="1" custom_padding="9" custom_spacing="7" submit_button_classes="has-0-781-rem-font-size" email_field_classes="has-0-781-rem-font-size" show_only_email_and_button="true" success_message="<?php echo esc_attr__( 'Success! An email was just sent to confirm your subscription. Please find the email now and click \'Confirm Follow\' to start subscribing.', 'bitacora' ); ?>"]</div>
  50. <!-- /wp:jetpack/subscriptions -->
  51. </div>
  52. <!-- /wp:column -->
  53. </div>
  54. <!-- /wp:columns -->
  55. <!-- wp:group {"align":"wide","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
  56. <div class="wp-block-group alignwide">
  57. <!-- wp:paragraph {"align":"left","className":"has-small-font-size","fontSize":"small"} -->
  58. <p class="has-text-align-left has-small-font-size">
  59. <?php
  60. $wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'bitacora' ) ) . '" rel="nofollow">WordPress</a>';
  61. echo sprintf(
  62. /* Translators: WordPress link. */
  63. esc_html__( 'Designed with %1$s', 'bitacora' ),
  64. $wordpress_link
  65. );
  66. ?>
  67. </p>
  68. <!-- /wp:paragraph -->
  69. </div>
  70. <!-- /wp:group -->
  71. </div>
  72. <!-- /wp:group -->