43 lines
2.2 KiB
PHP
43 lines
2.2 KiB
PHP
|
<?php
|
||
|
/**
|
||
|
* Title: Centered footer with social links
|
||
|
* Slug: twentytwentyfive/footer-social
|
||
|
* Categories: footer
|
||
|
* Block Types: core/template-part/footer
|
||
|
* Description: Footer with centered site title and social links.
|
||
|
*
|
||
|
* @package WordPress
|
||
|
* @subpackage Twenty_Twenty_Five
|
||
|
* @since Twenty Twenty-Five 1.0
|
||
|
*/
|
||
|
|
||
|
?>
|
||
|
<!-- wp:group {"align":"full","className":"is-style-section-5","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
|
||
|
<div class="wp-block-group alignfull is-style-section-5" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)">
|
||
|
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
|
||
|
<div class="wp-block-group">
|
||
|
<!-- wp:site-title {"level":2,"textAlign":"center","style":{"typography":{"textTransform":"uppercase","fontStyle":"normal","fontWeight":"400"}},"fontSize":"x-large"} /-->
|
||
|
<!-- wp:navigation {"overlayMenu":"never","style":{"typography":{"textTransform":"uppercase","fontStyle":"normal","fontWeight":"400"},"spacing":{"blockGap":"var:preset|spacing|20"}},"fontSize":"x-large","layout":{"type":"flex","justifyContent":"center"},"ariaLabel":"<?php esc_attr_e( 'Social', 'twentytwentyfive' ); ?>"} -->
|
||
|
<!-- wp:navigation-link {"label":"Facebook","url":"#"} /-->
|
||
|
<!-- wp:navigation-link {"label":"Instagram","url":"#"} /-->
|
||
|
<!-- wp:navigation-link {"label":"X","url":"#"} /-->
|
||
|
<!-- /wp:navigation -->
|
||
|
</div>
|
||
|
<!-- /wp:group -->
|
||
|
<!-- wp:spacer {"height":"var:preset|spacing|30"} -->
|
||
|
<div style="height:var(--wp--preset--spacing--30)" aria-hidden="true" class="wp-block-spacer"></div>
|
||
|
<!-- /wp:spacer -->
|
||
|
<!-- wp:paragraph {"align":"center","fontSize":"small"} -->
|
||
|
<p class="has-text-align-center has-small-font-size">
|
||
|
<?php
|
||
|
printf(
|
||
|
/* Translators: Designed with WordPress. %1$s: WordPress link. */
|
||
|
esc_html__( 'Designed with %1$s', 'twentytwentyfive' ),
|
||
|
'<a href="' . esc_url( __( 'https://wordpress.org', 'twentytwentyfive' ) ) . '" rel="nofollow">WordPress</a>'
|
||
|
);
|
||
|
?>
|
||
|
</p>
|
||
|
<!-- /wp:paragraph -->
|
||
|
</div>
|
||
|
<!-- /wp:group -->
|