Make WordPress Core

Changeset 58004


Ignore:
Timestamp:
04/15/2024 04:24:15 PM (2 months ago)
Author:
karmatosed
Message:

Twenty Twenty Two: Wraps Navigation block in row.

Now that the Blocks Hooks API is released in 6.4, you might want to insert blocks into header of the theme after the Navigation block. This wraps to allow this.

Props tomjcafferkey, poena, shailu25.
Fixes #60724.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentytwo/parts/header.html

    r53286 r58004  
    66<!-- wp:site-title /--></div>
    77<!-- /wp:group -->
    8 
     8<!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"left"}} -->
     9<div class="wp-block-group">
    910<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"}} -->
    1011<!-- wp:page-list {"isNavigationChild":true,"showSubmenuIcon":true,"openSubmenusOnClick":false} /-->
    1112<!-- /wp:navigation --></div>
    1213<!-- /wp:group --></div>
     14<!-- /wp:group --></div>
    1315<!-- /wp:group -->
Note: See TracChangeset for help on using the changeset viewer.