Make WordPress Core

Changeset 58034

Timestamp:
04/22/2024 08:53:47 PM (4 months ago)
Author:
karmatosed
Message:

Twenty Twenty-Three: Wraps navigation block in row within header template part.

This allows inserting of own blocks into header since the release of the Block Hooks API, specifically after the navigation block.

Props tomjcafferkey, poena, shailu25.
Fixes #60723.

File:
1 edited

Legend:

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

    r54629 r58034  
    44    <div class="wp-block-group alignwide" style="padding-bottom:var(--wp--preset--spacing--40)">
    55        <!-- wp:site-title {"level":0} /-->
    6         <!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"}} /-->
     6        <!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"left"}} -->
     7        <div class="wp-block-group">
     8            <!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"}} /-->
     9        </div>
     10        <!-- /wp:group -->
    711    </div>
    812    <!-- /wp:group -->
Note: See TracChangeset for help on using the changeset viewer.