CoreFiles by mySites.guru
header-stacked.php26 lines, 1,252 bytes, from wordpress-5.9-beta2.zip
Raw History Compare with 5.9-beta1
md5
39210e239267c18c2946eca29463cad2
sha1
33b340a800d102f27446862eae9d3a0f8be4bd6d
sha256
06103cea0ffe18ea680791606f5e7f24fc6b6717d6bfcd616cd5207eb5c7ff1a
<?php
/**
 * Logo and navigation header block pattern
 */
return array(
	'title'      => __( 'Logo and navigation header', 'twentytwentytwo' ),
	'categories' => array( 'twentytwentytwo-headers' ),
	'blockTypes' => array( 'core/template-part/header' ),
	'content'    => '<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"8rem","top":"max(1.25rem, 5vw)"}}}} -->
					<div class="wp-block-group alignwide" style="padding-top:max(1.25rem, 5vw);padding-bottom:8rem"><!-- wp:site-logo {"align":"center","width":128} /-->

					<!-- wp:spacer {"height":10} -->
					<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>
					<!-- /wp:spacer -->

					<!-- wp:site-title {"textAlign":"center","style":{"typography":{"fontStyle":"normal","fontWeight":"400","textTransform":"uppercase"}}} /-->

					<!-- wp:spacer {"height":10} -->
					<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>
					<!-- /wp:spacer -->

					<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"center"}} -->
					<!-- wp:page-list {"isNavigationChild":true,"showSubmenuIcon":true,"openSubmenusOnClick":false} /-->
					<!-- /wp:navigation --></div>
					<!-- /wp:group -->',
);

The same content is in 2 releases, WordPress 5.9-beta1 to 5.9-beta2. See them all, or every version of this file.