mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-11-03 05:10:33 +00:00
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 https://github.com/WordPress/twentytwentytwo/compare/742df6cb2b01bedfb9ff54210a7b23765baa0d2f...1a121e0224c75ffa1c34fff4860386e9cdb9e3bd. Props poena, kjellr, onemaggie, hellofromtonya. See #54318. git-svn-id: https://develop.svn.wordpress.org/trunk@52283 602fd350-edb4-49c9-b593-d223f7449a82
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 -->',
|
|
);
|