Нема описа

hidden-bird.php 611B

123456789101112131415
  1. <?php
  2. /**
  3. * Bird image
  4. *
  5. * This pattern is used only to reference a dynamic image URL.
  6. * It does not appear in the inserter.
  7. */
  8. return array(
  9. 'title' => __( 'Heading and bird image', 'twentytwentytwo' ),
  10. 'inserter' => false,
  11. 'content' => '<!-- wp:image {"align":"wide","sizeSlug":"full","linkDestination":"none"} -->
  12. <figure class="wp-block-image alignwide size-full"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-transparent-d.png" alt="' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '"/></figure>
  13. <!-- /wp:image -->',
  14. );