mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-30 07:20:01 +01:00
244f676c59
Resyncing changes for TT4 into Core. Changes include: * Reformatted all the patterns for readability. * Bugfixes in the markup and improvements on the string translation functions. * Renaming of some patterns, making them consistent with the content they show and whether they are simple patterns, full-page patterns or patterns meant to replace templates. Follow-up to [56813], [56764], [56716]. Props richtabor, onemaggie, luminuu, shailu25, dunhakdis, shivashankerbhatta, dajeema, enodekciw, kafleg, viralsampat, glendaviesnz, beafialho, webmandesign, huzaifaalmesbah, gregfuller, benharri. Fixes #59640. Built from https://develop.svn.wordpress.org/trunk@56951 git-svn-id: http://core.svn.wordpress.org/trunk@56462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
106 lines
4.6 KiB
PHP
106 lines
4.6 KiB
PHP
<?php
|
|
/**
|
|
* Title: Footer with colophon, 3 columns
|
|
* Slug: twentytwentyfour/footer-colophon-3-col
|
|
* Categories: footer
|
|
* Block Types: core/template-part/footer
|
|
*/
|
|
?>
|
|
|
|
<!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
|
|
<div class="wp-block-group alignwide">
|
|
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}}} -->
|
|
<div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)">
|
|
<!-- wp:image {"width":"40px","height":"auto","sizeSlug":"full","linkDestination":"none"} -->
|
|
<figure class="wp-block-image size-full is-resized">
|
|
<img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/icon-message.webp" alt="" style="width:40px;height:auto" />
|
|
</figure>
|
|
<!-- /wp:image -->
|
|
|
|
<!-- wp:separator {"className":"is-style-wide"} -->
|
|
<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide" />
|
|
<!-- /wp:separator -->
|
|
|
|
<!-- wp:columns {"style":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}}} -->
|
|
<div class="wp-block-columns" style="padding-top:var(--wp--preset--spacing--10)">
|
|
<!-- wp:column {"width":"57%"} -->
|
|
<div class="wp-block-column" style="flex-basis:57%">
|
|
<!-- wp:heading {"fontSize":"x-large"} -->
|
|
<h2 class="wp-block-heading has-x-large-font-size"><?php esc_html_e( 'Keep up, get in touch.', 'twentytwentyfour' ); ?></h2>
|
|
<!-- /wp:heading -->
|
|
</div>
|
|
<!-- /wp:column -->
|
|
<!-- wp:column {"width":"30%"} -->
|
|
<div class="wp-block-column" style="flex-basis:30%">
|
|
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"flex","orientation":"vertical"}} -->
|
|
<div class="wp-block-group">
|
|
<!-- wp:heading {"level":3,"fontSize":"medium","fontFamily":"body"} -->
|
|
<h3 class="wp-block-heading has-body-font-family has-medium-font-size"><?php esc_html_e( 'Contact', 'twentytwentyfour' ); ?></h3>
|
|
<!-- /wp:heading -->
|
|
<!-- wp:paragraph -->
|
|
<p><a href="#"><?php echo esc_html_x( 'info@example.com', 'Example email in site footer', 'twentytwentyfour' ); ?></a></p>
|
|
<!-- /wp:paragraph -->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
</div>
|
|
<!-- /wp:column -->
|
|
<!-- wp:column {"width":"30%"} -->
|
|
<div class="wp-block-column" style="flex-basis:30%">
|
|
<!-- wp:columns {"isStackedOnMobile":false} -->
|
|
<div class="wp-block-columns is-not-stacked-on-mobile">
|
|
<!-- wp:column -->
|
|
<div class="wp-block-column">
|
|
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|10"}},"layout":{"type":"flex","orientation":"vertical"}} -->
|
|
<div class="wp-block-group">
|
|
<!-- wp:heading {"level":3,"fontSize":"medium","fontFamily":"body"} -->
|
|
<h3 class="wp-block-heading has-body-font-family has-medium-font-size"><?php esc_html_e( 'Follow', 'twentytwentyfour' ); ?></h3>
|
|
<!-- /wp:heading -->
|
|
<!-- wp:paragraph -->
|
|
<p><a href="#"><?php esc_html_e( 'Instagram', 'twentytwentyfour' ); ?></a> / <a href="#"><?php esc_html_e( 'Facebook', 'twentytwentyfour' ); ?></a></p>
|
|
<!-- /wp:paragraph -->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
</div>
|
|
<!-- /wp:column -->
|
|
</div>
|
|
<!-- /wp:columns -->
|
|
</div>
|
|
<!-- /wp:column -->
|
|
</div>
|
|
<!-- /wp:columns -->
|
|
|
|
<!-- wp:spacer {"height":"var:preset|spacing|50"} -->
|
|
<div style="height:var(--wp--preset--spacing--50)" aria-hidden="true" class="wp-block-spacer"></div>
|
|
<!-- /wp:spacer -->
|
|
|
|
<!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between","verticalAlignment":"top"}} -->
|
|
<div class="wp-block-group">
|
|
<!-- wp:group {"style":{"spacing":{"blockGap":"6px"}},"layout":{"type":"flex","flexWrap":"wrap"}} -->
|
|
<div class="wp-block-group">
|
|
<!-- wp:paragraph {"fontSize":"small"} -->
|
|
<p class="has-small-font-size"><?php esc_html_e( '©', 'twentytwentyfour' ); ?></p>
|
|
<!-- /wp:paragraph -->
|
|
<!-- wp:site-title {"level":0,"style":{"typography":{"fontStyle":"normal","fontWeight":"400"}},"fontSize":"small"} /-->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
<!-- wp:paragraph {"fontSize":"small"} -->
|
|
<p class="has-small-font-size">
|
|
<?php
|
|
/* Translators: WordPress link. */
|
|
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'twentytwentyfour' ) ) . '" rel="nofollow">WordPress</a>';
|
|
echo sprintf(
|
|
/* Translators: Designed with WordPress */
|
|
esc_html__( 'Designed with %1$s', 'twentytwentyfour' ),
|
|
$wordpress_link
|
|
);
|
|
?>
|
|
</p>
|
|
<!-- /wp:paragraph -->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
|
|
</div>
|
|
<!-- /wp:group -->
|
|
</div>
|
|
<!-- /wp:group -->
|