mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-29 23:09:44 +01:00
d4f6347b94
Props passoniate, audrasjb. Fixes #55772. Built from https://develop.svn.wordpress.org/trunk@53410 git-svn-id: http://core.svn.wordpress.org/trunk@52999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
24 lines
1.4 KiB
PHP
24 lines
1.4 KiB
PHP
<?php
|
|
/**
|
|
* Dark footer with title and citation
|
|
*/
|
|
return array(
|
|
'title' => __( 'Dark footer with title and citation', 'twentytwentytwo' ),
|
|
'categories' => array( 'footer' ),
|
|
'blockTypes' => array( 'core/template-part/footer' ),
|
|
'content' => '<!-- wp:group {"align":"full","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"var(--wp--custom--spacing--small, 1.25rem)","bottom":"var(--wp--custom--spacing--small, 1.25rem)"}}},"backgroundColor":"foreground","textColor":"background","layout":{"inherit":true}} -->
|
|
<div class="wp-block-group alignfull has-background-color has-foreground-background-color has-text-color has-background has-link-color" style="padding-top:var(--wp--custom--spacing--small, 1.25rem);padding-bottom:var(--wp--custom--spacing--small, 1.25rem)"><!-- wp:group {"align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
|
|
<div class="wp-block-group alignwide"><!-- wp:site-title {"level":0} /-->
|
|
|
|
<!-- wp:paragraph {"align":"right"} -->
|
|
<p class="has-text-align-right">' .
|
|
sprintf(
|
|
/* Translators: WordPress link. */
|
|
esc_html__( 'Proudly powered by %s', 'twentytwentytwo' ),
|
|
'<a href="' . esc_url( __( 'https://wordpress.org', 'twentytwentytwo' ) ) . '" rel="nofollow">WordPress</a>'
|
|
) . '</p>
|
|
<!-- /wp:paragraph --></div>
|
|
<!-- /wp:group --></div>
|
|
<!-- /wp:group -->',
|
|
);
|