31 lines
865 B
PHP
31 lines
865 B
PHP
<?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>
|
|
<?php
|
|
wp_nav_menu(
|
|
array(
|
|
'theme_location' => 'footer',
|
|
'menu_class' => 'footer-menu',
|
|
'container' => false,
|
|
'fallback_cb' => false,
|
|
)
|
|
);
|
|
?>
|
|
</div>
|
|
</footer>
|
|
<?php
|
|
// Required hook for enqueued footer scripts and plugin output.
|
|
wp_footer();
|
|
?>
|
|
</body>
|
|
</html>
|