Kumi
c61ba4a695
- Set up a new WordPress theme with custom logo, header image, and menus - Implement the WP Bootstrap Navwalker for improved navigation - Add Bootstrap and jQuery for styling and functionality - Customize hero section via the Customizer API - Include footer with customizable text and social media links - Integrate featured articles and page templates - Enhance styles with a dedicated CSS file References: #123, #124 This addition provides a modern, responsive design tailored to the Duck Behavior Journal, enhancing user engagement and site navigation.
26 lines
No EOL
1.2 KiB
PHP
26 lines
No EOL
1.2 KiB
PHP
<!-- Footer -->
|
|
<footer class="bg-light py-4">
|
|
<div class="container text-center">
|
|
<p><?php echo get_theme_mod('footer_text', '© ' . date('Y') . ' Duck Behavior Journal. All rights reserved.'); ?></p>
|
|
<div>
|
|
<?php
|
|
wp_nav_menu(array(
|
|
'theme_location' => 'footer',
|
|
'menu_class' => 'nav justify-content-center',
|
|
'container' => false,
|
|
'depth' => 1,
|
|
));
|
|
?>
|
|
</div>
|
|
<div class="social-media mt-3">
|
|
<a href="<?php echo get_theme_mod('footer_facebook_link', '#'); ?>" class="mx-2"><img src="<?php echo get_template_directory_uri(); ?>/facebook-icon.png" alt="Facebook"></a>
|
|
<a href="<?php echo get_theme_mod('footer_twitter_link', '#'); ?>" class="mx-2"><img src="<?php echo get_template_directory_uri(); ?>/twitter-icon.png" alt="Twitter"></a>
|
|
<a href="<?php echo get_theme_mod('footer_linkedin_link', '#'); ?>" class="mx-2"><img src="<?php echo get_template_directory_uri(); ?>/linkedin-icon.png" alt="LinkedIn"></a>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
<?php wp_footer(); ?>
|
|
</body>
|
|
|
|
</html>
|