Yuzu Theme
from meowapps.com
This commit is contained in:
46
footer.php
Normal file
46
footer.php
Normal file
@@ -0,0 +1,46 @@
|
||||
</div><!-- #content -->
|
||||
|
||||
<footer id="colophon" class="site-footer">
|
||||
<div class="widgets-area">
|
||||
<?php
|
||||
$footer_left_active = is_active_sidebar( 'footer-left' );
|
||||
$footer_middle_active = is_active_sidebar( 'footer-middle' );
|
||||
$footer_right_active = is_active_sidebar( 'footer-right' );
|
||||
if($footer_left_active) { ?>
|
||||
<div class="widgets-column">
|
||||
<?php dynamic_sidebar( 'footer-left' ); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if($footer_middle_active) { ?>
|
||||
<div class="widgets-column">
|
||||
<?php dynamic_sidebar( 'footer-middle' ); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if($footer_right_active) { ?>
|
||||
<div class="widgets-column">
|
||||
<?php dynamic_sidebar( 'footer-right' ); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<div class="copyright-area">
|
||||
<p>
|
||||
<?php
|
||||
$default_copyright_text = ' © '.get_bloginfo('name').' '.date('Y');
|
||||
echo get_theme_mod('copyright_text', $default_copyright_text );
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</footer><!-- #colophon -->
|
||||
</div><!-- #page -->
|
||||
|
||||
<?php if(get_theme_mod('enable_scroll_back_to_top_btn', true)) { ?>
|
||||
<div class="scroll-back-to-top-btn">
|
||||
<?php get_template_part('assets/icons/inline', 'arrow_up.svg'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php wp_footer(); ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user