Server : Apache System : Linux ls31.server.ly 3.10.0-962.3.2.lve1.5.68.el7.x86_64 #1 SMP Wed Apr 6 11:12:23 UTC 2022 x86_64 User : medchoco ( 2906) PHP Version : 8.3.16 Disable Function : mail Directory : /home/medchoco/www/wp-content/themes/twentytwentytwo/inc/patterns/ |
Upload File : |
<?php /** * Bird image * * This pattern is used only to reference a dynamic image URL. * It does not appear in the inserter. */ return array( 'title' => __( 'Heading and bird image', 'twentytwentytwo' ), 'inserter' => false, 'content' => '<!-- wp:image {"align":"wide","sizeSlug":"full","linkDestination":"none"} --> <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> <!-- /wp:image -->', );