You've already forked wp-bootstrap
Full Design Editor compatibility with custom block categories, page templates, header/footer variations, and navigation styles. Both FSE (admin) and Twig (frontend) sides kept in sync. Co-Authored-By: Claude <noreply@anthropic.com>
36 lines
1.3 KiB
PHP
36 lines
1.3 KiB
PHP
<?php
|
|
/**
|
|
* Title: Footer - Minimal
|
|
* Slug: wp-bootstrap/footer-minimal
|
|
* Categories: footer
|
|
* Block Types: core/template-part/footer
|
|
* Description: Minimal single-line footer with copyright.
|
|
*
|
|
* @package WPBootstrap
|
|
* @since 0.2.0
|
|
*/
|
|
?>
|
|
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}},"layout":{"type":"constrained"}} -->
|
|
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)">
|
|
<!-- wp:separator {"className":"is-style-separator-wide","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} -->
|
|
<hr class="wp-block-separator has-alpha-channel-opacity is-style-separator-wide" style="margin-bottom:var(--wp--preset--spacing--40)"/>
|
|
<!-- /wp:separator -->
|
|
<!-- wp:group {"align":"wide","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
|
|
<div class="wp-block-group alignwide">
|
|
<!-- wp:paragraph {"fontSize":"small"} -->
|
|
<p class="has-small-font-size">
|
|
<?php
|
|
printf(
|
|
/* translators: Copyright notice. %1$s: Year, %2$s: Site title. */
|
|
esc_html__( '© %1$s %2$s. All rights reserved.', 'wp-bootstrap' ),
|
|
esc_html( gmdate( 'Y' ) ),
|
|
esc_html( get_bloginfo( 'name' ) )
|
|
);
|
|
?>
|
|
</p>
|
|
<!-- /wp:paragraph -->
|
|
</div>
|
|
<!-- /wp:group -->
|
|
</div>
|
|
<!-- /wp:group -->
|