header-image.php 614 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * Title: Header image
  4. * Slug: stewart/header-image
  5. * Categories: header
  6. * Block Types: core/template-part/header
  7. */
  8. ?>
  9. <!-- wp:image {"align":"full","sizeSlug":"large","linkDestination":"none"} -->
  10. <figure class="wp-block-image alignfull size-large">
  11. <img src="<?php echo esc_url( get_template_directory_uri() ) . '/assets/images/header.jpg'; ?>" alt="<?php echo esc_html__( 'An abstract image featuring a brushstroke.', 'stewart' ); ?>"/>
  12. </figure>
  13. <!-- /wp:image -->
  14. <!-- wp:spacer {"height":70} -->
  15. <div style="height:70px" aria-hidden="true" class="wp-block-spacer"></div>
  16. <!-- /wp:spacer -->