76 lines
3.4 KiB
PHP
76 lines
3.4 KiB
PHP
</main>
|
|
|
|
<footer id="colophon" class="site-footer">
|
|
<div class="footer-container">
|
|
<div class="footer-zone footer-social">
|
|
<h4 class="footer-heading"><?php esc_html_e('Connect', 'bd-bookshelf'); ?></h4>
|
|
// Copyright 2026 Umbra Tools (umbratools.com)
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
<?php bdm_display_social_icons(); ?>
|
|
</div>
|
|
|
|
<div class="footer-zone footer-donate">
|
|
<h4 class="footer-heading"><?php esc_html_e('Support', 'bd-bookshelf'); ?></h4>
|
|
<?php bdm_display_donate_buttons(); ?>
|
|
<?php if (get_theme_mod('show_signup_link', true)) : ?>
|
|
<p class="footer-signup-prompt">
|
|
<a href="<?php echo esc_url(home_url('/signup/')); ?>">
|
|
<?php esc_html_e('Sign up for updates', 'bd-bookshelf'); ?>
|
|
</a>
|
|
</p>
|
|
<?php endif; ?>
|
|
</div>
|
|
|
|
<div class="footer-zone footer-links">
|
|
<h4 class="footer-heading"><?php esc_html_e('Links', 'bd-bookshelf'); ?></h4>
|
|
<?php
|
|
if (has_nav_menu('footer')) :
|
|
wp_nav_menu(array(
|
|
'theme_location' => 'footer',
|
|
'menu_id' => 'footer-menu',
|
|
'container' => false,
|
|
'depth' => 1,
|
|
));
|
|
else :
|
|
?>
|
|
<ul id="footer-menu" class="footer-menu">
|
|
<li class="menu-item"><a href="<?php echo esc_url(home_url('/contact/')); ?>"><?php esc_html_e('Contact', 'bd-bookshelf'); ?></a></li>
|
|
<li class="menu-item"><a href="<?php echo esc_url(home_url('/about/')); ?>"><?php esc_html_e('About', 'bd-bookshelf'); ?></a></li>
|
|
<li class="menu-item"><a href="<?php echo esc_url(home_url('/privacy-policy/')); ?>"><?php esc_html_e('Privacy Policy', 'bd-bookshelf'); ?></a></li>
|
|
<li class="menu-item"><a href="<?php echo esc_url(home_url('/unsubscribe/')); ?>"><?php esc_html_e('Unsubscribe', 'bd-bookshelf'); ?></a></li>
|
|
</ul>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
|
|
<?php if (is_active_sidebar('footer-left') || is_active_sidebar('footer-right')) : ?>
|
|
<div class="footer-widgets">
|
|
<div class="footer-widgets-container">
|
|
<?php if (is_active_sidebar('footer-left')) : ?>
|
|
<div class="footer-widget-area footer-widget-left">
|
|
<?php dynamic_sidebar('footer-left'); ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<?php if (is_active_sidebar('footer-right')) : ?>
|
|
<div class="footer-widget-area footer-widget-right">
|
|
<?php dynamic_sidebar('footer-right'); ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<div class="footer-bottom">
|
|
<p class="copyright">
|
|
© <?php echo date('Y'); ?> <?php bloginfo('name'); ?>. <?php esc_html_e('All rights reserved.', 'bd-bookshelf'); ?>
|
|
</p>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
|
|
<?php wp_footer(); ?>
|
|
</body>
|
|
</html>
|