full-width-image-with-aside-caption.php 925 B

1234567891011121314
  1. <?php
  2. /**
  3. * Full width image with aside caption.
  4. *
  5. * @package Skatepark
  6. */
  7. return array(
  8. 'title' => __( 'Full width image with aside caption', 'skatepark' ),
  9. 'categories' => array( 'skatepark' ),
  10. 'content' => '<!-- wp:image {"align":"full","className":"alignfull size-large is-style-skatepark-aside-caption"} -->
  11. <figure class="wp-block-image alignfull size-large is-style-skatepark-aside-caption"><img src="' . get_stylesheet_directory_uri() . '/assets/images/skatepark.jpg" alt="' . esc_attr__( "A skateboarder does a grab trick in a bowl-shaped skate park. In the background is a watching crowd, palm trees, and the ocean.", 'skatepark' ) . '"/><figcaption>' . esc_html__( "Learn the basics of skating along with a group of your peers. More advanced at skating? Our skateboarding coaches will work with you 1:1 to advance your technique.", 'skatepark' ) . '</figcaption></figure>
  12. <!-- /wp:image -->',
  13. );