mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 05:01:35 +01:00
2caa789ee0
This commit syncs minor changes for the default theme from its active development repository to core.
This is a follow up to [52081], [52107], [52164], and [52222]. It includes changes to template part markup, theme.json appearance flags, navigation block markup, and text domains. For a full set of changes, visit 742df6cb2b...1a121e0224
.
Props poena, kjellr, onemaggie, hellofromtonya.
See #54318.
Built from https://develop.svn.wordpress.org/trunk@52283
git-svn-id: http://core.svn.wordpress.org/trunk@51875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
22 lines
1.0 KiB
PHP
22 lines
1.0 KiB
PHP
<?php
|
|
/**
|
|
* Default header block pattern
|
|
*/
|
|
return array(
|
|
'title' => __( 'Default 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)"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
|
|
<div class="wp-block-group alignwide" style="padding-top:max(1.25rem, 5vw);padding-bottom:8rem"><!-- wp:group {"layout":{"type":"flex"}} -->
|
|
<div class="wp-block-group">
|
|
<!-- wp:site-logo {"width":64} /-->
|
|
|
|
<!-- wp:site-title {"style":{"typography":{"fontStyle":"italic","fontWeight":"400"}}} /--></div>
|
|
<!-- /wp:group -->
|
|
|
|
<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"}} -->
|
|
<!-- wp:page-list {"isNavigationChild":true,"showSubmenuIcon":true,"openSubmenusOnClick":false} /-->
|
|
<!-- /wp:navigation --></div>
|
|
<!-- /wp:group -->',
|
|
);
|