[ Index ] |
PHP Cross Reference of WordPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Header with centered logo block pattern 4 */ 5 return array( 6 'title' => __( 'Header with centered logo', 'twentytwentytwo' ), 7 'categories' => array( 'header' ), 8 'blockTypes' => array( 'core/template-part/header' ), 9 'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"backgroundColor":"primary","textColor":"background","layout":{"inherit":true}} --> 10 <div class="wp-block-group alignfull has-background-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:var(--wp--custom--spacing--small, 1.25rem);padding-bottom:var(--wp--custom--spacing--small, 1.25rem);"><!-- wp:columns {"verticalAlignment":"center","align":"wide"} --> 11 <div class="wp-block-columns alignwide are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center"} --> 12 <div class="wp-block-column is-vertically-aligned-center"><!-- wp:site-title {"style":{"typography":{"fontStyle":"normal","fontWeight":"400","textTransform":"uppercase"}}} /--></div> 13 <!-- /wp:column --> 14 15 <!-- wp:column {"width":"64px"} --> 16 <div class="wp-block-column" style="flex-basis:64px"><!-- wp:site-logo {"width":64} /--></div> 17 <!-- /wp:column --> 18 19 <!-- wp:column {"verticalAlignment":"center"} --> 20 <div class="wp-block-column is-vertically-aligned-center"><!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"}} --> 21 <!-- wp:page-list {"isNavigationChild":true,"showSubmenuIcon":true,"openSubmenusOnClick":false} /--> 22 <!-- /wp:navigation --></div> 23 <!-- /wp:column --></div> 24 <!-- /wp:columns --></div> 25 <!-- /wp:group -->', 26 );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Nov 21 01:00:03 2024 | Cross-referenced by PHPXref 0.7.1 |