CoreFiles by mySites.guru
text-centered-title.php25 lines, 1,400 bytes, from wordpress-6.4-beta2.zip
Raw History Compare with 6.4-beta1
md5
4319046b9e4bd892deedd224ea858667
sha1
568e0c14d7d8e9f1825d14863020c42b1ee5d7d3
sha256
59c697cc0375f7bfc7729ad052ba9d45be2f85c681ff4be387806f681c5309a4
<?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:paragraph {"align":"center","style":{"typography":{"lineHeight":"1.2","fontStyle":"normal","fontWeight":"400"}},"fontSize":"x-large","fontFamily":"heading"} -->
<p class="has-text-align-center has-heading-font-family has-x-large-font-size" style="font-style:normal;font-weight:400;line-height:1.2"><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></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

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