Няма описание

header-stacked.php 1.5KB

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Logo and navigation header block pattern
  4. */
  5. return array(
  6. 'title' => __( 'Logo and navigation header', 'twentytwentytwo' ),
  7. 'categories' => array( 'header' ),
  8. 'blockTypes' => array( 'core/template-part/header' ),
  9. 'content' => '<!-- wp:group {"align":"full","layout":{"inherit":true}} -->
  10. <div class="wp-block-group alignfull"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"var(--wp--custom--spacing--large, 8rem)","top":"var(--wp--custom--spacing--small, 1.25rem)"}}}} -->
  11. <div class="wp-block-group alignwide" style="padding-top:var(--wp--custom--spacing--small, 1.25rem);padding-bottom:var(--wp--custom--spacing--large, 8rem)"><!-- wp:site-logo {"align":"center","width":128} /-->
  12. <!-- wp:spacer {"height":10} -->
  13. <div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>
  14. <!-- /wp:spacer -->
  15. <!-- wp:site-title {"textAlign":"center","style":{"typography":{"fontStyle":"normal","fontWeight":"400","textTransform":"uppercase"}}} /-->
  16. <!-- wp:spacer {"height":10} -->
  17. <div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>
  18. <!-- /wp:spacer -->
  19. <!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"center"}} -->
  20. <!-- wp:page-list {"isNavigationChild":true,"showSubmenuIcon":true,"openSubmenusOnClick":false} /-->
  21. <!-- /wp:navigation --></div>
  22. <!-- /wp:group --></div>
  23. <!-- /wp:group -->',
  24. );