CoreFiles by mySites.guru
text-centered-title.php26 lines, 1,251 bytes, from wordpress-6.4-beta3.zip
Raw History Compare with 6.4-beta2
md5
73fbb60ceb2db62427b61926cde3ef25
sha1
b5ac3351a30d0dfc594c90502142670842c3d411
sha256
20cb35f8a6681bd4a67d1700adedbe48642403f0055fbd61bc4a832fa5b6fce2
<?php
/**
 * Title: Centered title
 * Slug: twentytwentyfour/text-centered-title
 * Categories: text, about
 * Viewport width: 1200
 */
?>

<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained","contentSize":"800px"}} -->
<div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)">

<!-- wp:heading {"textAlign":"center","level":1,"fontSize":"x-large","level":1} -->
<h1 class="wp-block-heading has-text-align-center has-x-large-font-size"><em>
<?php
	/* Translators: About link placeholder */
	$about_link = '<a href="#" rel="nofollow">' . esc_html__( 'Money Studies', 'twentytwentyfour' ) . '</a>';
	echo sprintf(
		/* Translators: About text placeholder */
		esc_html__( 'I write about finance, management and economy, my book ā€œ%1$sā€ is out now.', 'twentytwentyfour' ),
		$about_link
	);
	?>
</em></h1>
<!-- /wp:heading --></div>
<!-- /wp:group -->

The same content is in 2 releases, WordPress 6.4-beta3 to 6.4-beta4. See them all, or every version of this file.