Add Responsive Footer Widget Columns

This commit is contained in:
2026-07-27 19:24:57 +02:00
parent a630e80888
commit 0694881cc7
4 changed files with 74 additions and 2 deletions
+9
View File
@@ -1,3 +1,12 @@
<?php if ( is_active_sidebar( 'footer-1' ) || is_active_sidebar( 'footer-2' ) || is_active_sidebar( 'footer-3' ) ) { ?>
<aside class="footer-widgets" aria-label="<?php esc_attr_e( 'Footer widgets', 'c1024-2026' ); ?>">
<div class="footer-widgets-inner">
<?php dynamic_sidebar( 'footer-1' ); ?>
<?php dynamic_sidebar( 'footer-2' ); ?>
<?php dynamic_sidebar( 'footer-3' ); ?>
</div>
</aside>
<?php } ?>
<footer class="site-footer">
<div class="footer-inner">
<span>© <?php echo esc_html( wp_date( 'Y' ) ); ?> <?php bloginfo( 'name' ); ?></span>