mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-30 15:31:04 +01:00
8410b2fc26
This merges the latest improvements to the Twenty Twenty-Five theme from GitHub into `trunk` for 6.7 beta 2. A full list of changes can be found on GitHub: https://github.com/WordPress/twentytwentyfive/commits/trunk/?since=2024-10-01&until=2024-10-07. Props poena, mukesh27, jonnywatersbb, cliffralessio, afercia, samtoohey93, codersantosh, carstenbach, gohelkunjan, ryelle, aaronrobertshaw, wildworks, yukinobu, audrasjb, mdviralsampat, hanneslsm, ddewan, greenshady, joedolson, areziaal, alaminfirdows, kartikmehta, cwhitmore. Fixes #62180. Built from https://develop.svn.wordpress.org/trunk@59191 git-svn-id: http://core.svn.wordpress.org/trunk@58586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
29 lines
1.2 KiB
PHP
29 lines
1.2 KiB
PHP
<?php
|
|
/**
|
|
* Title: Intro with left-aligned description
|
|
* Slug: twentytwentyfive/banner-intro
|
|
* Categories: banner, featured
|
|
* Description: A large left-aligned heading with a brand name emphasized in bold.
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Twenty_Five
|
|
* @since Twenty Twenty-Five 1.0
|
|
*/
|
|
|
|
?>
|
|
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
|
|
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80)">
|
|
<!-- wp:heading {"align":"wide","fontSize":"x-large"} -->
|
|
<h2 class="wp-block-heading alignwide has-x-large-font-size">
|
|
<?php
|
|
printf(
|
|
/* translators: %s is the brand name, e.g., 'Fleurs'. */
|
|
esc_html_x( 'We\'re %s, our mission is to deliver exquisite flower arrangements that not only adorn living spaces but also inspire a deeper appreciation for natural beauty.', 'Pattern placeholder text.', 'twentytwentyfive' ),
|
|
'<strong>' . esc_html_x( 'Fleurs', 'Example brand name.', 'twentytwentyfive' ) . '</strong>'
|
|
);
|
|
?>
|
|
</h2>
|
|
<!-- /wp:heading -->
|
|
</div>
|
|
<!-- /wp:group -->
|