CoreFiles by mySites.guru
header-vertical.php23 lines, 2,072 bytes, from wordpress-7.2-RC2.zip
Raw History Compare with 7.2-RC1
md5
1353c1b737a6a8ef69852f7e570c4440
sha1
34992b0786c50063363e9ecc22b9452ca8299b12
sha256
b904041f3f15fd2de54c9e851c14de08a42425073c8302f4f0bec85a95ad7b2c
<?php
/**
 * Title: Header Vertical
 * Slug: ipsum/header-vertical
 * Categories: header
 * Block Types: core/template-part/header
 * Viewport width: 1280
 * Description: A sticky header rail as tall as the screen. It has the menu button on top, with the site title running vertically beneath it.
 *
 * @package Ipsum
 * @since Ipsum 1.0
 */

?>
<!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Header Vertical', 'Name of the vertical header group', 'ipsum' ); ?>"},"align":"wide","style":{"position":{"type":"sticky","top":"0px"},"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)"><!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Header Vertical Wrapper', 'Name of the vertical header wrapper group', 'ipsum' ); ?>"},"align":"wide","style":{"dimensions":{"minHeight":"100vh"}},"layout":{"type":"constrained","justifyContent":"center"}} -->
<div class="wp-block-group alignwide" style="min-height:100vh"><!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Vertical Stack', 'Name of the vertical stack group', 'ipsum' ); ?>"},"align":"full","layout":{"type":"flex","orientation":"vertical","justifyContent":"center","verticalAlignment":"center"}} -->
<div class="wp-block-group alignfull"><!-- wp:navigation {"overlayMenu":"always","overlayBackgroundColor":"accent-3","overlayTextColor":"base","ariaLabel":"<?php echo esc_attr_x( 'Primary', 'Accessible name of the main site navigation', 'ipsum' ); ?>","style":{"spacing":{"margin":{"top":"0"},"blockGap":"var:preset|spacing|20"},"layout":{"selfStretch":"fit","flexSize":null}},"layout":{"type":"flex","justifyContent":"right","orientation":"horizontal","flexWrap":"wrap"}} /-->

<!-- wp:site-title {"level":0,"style":{"typography":{"writingMode":"vertical-rl","textTransform":"uppercase"}},"fontSize":"small"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

The same content is in 2 releases, WordPress 7.2-RC1 to 7.2-RC2. See them all, or every version of this file.