themes-wordpress/cortado/patterns/footer.php
Vicente Canales 87768567cc
Cortado: update theme templates (#7269)
* Cortado: update theme template

Updates theme.json and some templates to fix mobile spacing issues.

* Use dynamic home link instead of static url
2023-07-25 17:10:20 -04:00

34 lines
1.1 KiB
PHP

<?php
/**
* Title: Default footer
* Slug: cortado/footer
* Categories: footer
* Block Types: core/template-part/footer
*/
?>
<!-- wp:spacer {"height":"var(--wp--preset--spacing--80)"} -->
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var(--wp--preset--spacing--60)","bottom":"var(--wp--preset--spacing--60)"}}}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)">
<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center">
<?php
/* Translators: WordPress link. */
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'cortado' ) ) . '" rel="nofollow">WordPress</a>';
echo sprintf(
/* Translators: Designed with WordPress text. */
esc_html__( 'Designed with %1$s', 'cortado' ),
$wordpress_link
);
?>
</p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->