footer.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. /**
  3. * Title: Default footer
  4. * Slug: vivre/footer
  5. * Categories: footer
  6. * Block Types: core/template-part/footer
  7. */
  8. ?>
  9. <!-- wp:group {"align":"full","layout":{"inherit":false}} -->
  10. <div class="wp-block-group alignfull"><!-- wp:group {"style":{"spacing":{"padding":{"top":"1.5rem","bottom":"1.5rem"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
  11. <div class="wp-block-group" style="padding-top:1.5rem;padding-bottom:1.5rem"><!-- wp:paragraph {"align":"left"} -->
  12. <p class="has-text-align-left">
  13. <?php
  14. printf(
  15. /* Translators: WordPress link. */
  16. esc_html__( 'Proudly powered by %s', 'vivre' ),
  17. '<a href="' . esc_url( __( 'https://wordpress.org', 'vivre' ) ) . '" rel="nofollow">WordPress</a>'
  18. );
  19. ?>
  20. </p>
  21. <!-- /wp:paragraph -->
  22. <!-- wp:group {"style":{"spacing":{"blockGap":"1rem"}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"right"}} -->
  23. <div class="wp-block-group"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}}} -->
  24. <p class="has-link-color">
  25. <?php
  26. echo(
  27. '<a href="' . esc_url( __( 'https://instagram.com', 'vivre' ) ) . '" rel="nofollow">' . esc_html__( 'Instagram', 'vivre' ) . '</a>'
  28. );
  29. ?>
  30. </p>
  31. <!-- /wp:paragraph -->
  32. <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|foreground"}}}}} -->
  33. <p class="has-link-color">
  34. <?php
  35. echo(
  36. '<a href="' . esc_url( __( 'https://twitter.com', 'vivre' ) ) . '" rel="nofollow">' . esc_html__( 'Twitter', 'vivre' ) . '</a>'
  37. );
  38. ?>
  39. </p>
  40. <!-- /wp:paragraph --></div>
  41. <!-- /wp:group --></div>
  42. <!-- /wp:group --></div>
  43. <!-- /wp:group -->