mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-03 09:21:03 +01:00
ed53ea3ace
This commit syncs changes for the default theme from its active development repository to core.
This is a follow up to [52081], [52107], [52164], [52222], [52283], [52335], [52375], and [52392].
To view the full set of changes, visit 2ce387178f...8564fd281f
.
This changeset also deletes three unused files. These were removed from the dev repo, but never removed from core.
Props richtabor, kjellr.
See #54318.
Built from https://develop.svn.wordpress.org/trunk@52430
git-svn-id: http://core.svn.wordpress.org/trunk@52022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
22 lines
1.3 KiB
PHP
22 lines
1.3 KiB
PHP
<?php
|
|
/**
|
|
* Heading and bird image
|
|
*
|
|
* This pattern is used only for translation
|
|
* and 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:group {"align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px"}}},"layout":{"inherit":true}} -->
|
|
<div class="wp-block-group alignfull" style="padding-top:0px;padding-bottom:0px;"><!-- wp:heading {"align":"wide","style":{"typography":{"fontSize":"var(--wp--custom--typography--font-size--colossal, clamp(3.25rem, 8vw, 6.25rem))","lineHeight":"1.15"}}} -->
|
|
<h2 class="alignwide" style="font-size:var(--wp--custom--typography--font-size--colossal, clamp(3.25rem, 8vw, 6.25rem));line-height:1.15">' . wp_kses_post( __( '<em>The Hatchery</em>: a blog about my adventures in bird watching', 'twentytwentytwo' ) ) . '</h2>
|
|
<!-- /wp:heading --></div>
|
|
<!-- /wp:group -->
|
|
|
|
<!-- wp:image {"align":"full","sizeSlug":"full","linkDestination":"none"} -->
|
|
<figure class="wp-block-image alignfull size-full"><img src="' . esc_url( get_template_directory_uri() ) . '/assets/images/flight-path-on-transparent-c.png" alt="' . esc_attr__( 'Illustration of a bird flying.', 'twentytwentytwo' ) . '"/></figure>
|
|
<!-- /wp:image -->',
|
|
);
|