-
Notifications
You must be signed in to change notification settings - Fork 2
/
footer.php
53 lines (49 loc) · 1.41 KB
/
footer.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
/**
* The template for displaying the footer
*
* Contains the closing of the #content div and all content after.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package levelup
*/
?>
</div><!-- #content -->
<?php do_action( 'levelup_foot'); ?>
<?php if(!function_exists('levelup_check_hf_builder') || (function_exists('levelup_check_hf_builder') && !levelup_check_hf_builder('foot'))) { ?>
<footer id="colophon" class="site-footer">
<?php if ( is_active_sidebar( 'footer-widget' ) ) : ?>
<div class="footer-widgets">
<div class="container">
<div class="f-w">
<?php dynamic_sidebar( 'footer-widget' ); ?>
</div>
</div>
</div>
<?php endif; ?>
<div class="site-info">
<div class="container">
<?php if ( has_nav_menu( 'footer-menu' ) ) { ?>
<div class="footer-menu">
<?php
wp_nav_menu(array(
'theme_location' => 'footer-menu',
'menu_class' => 'header-menu',
));
?>
</div>
<?php } ?>
<div class="rr">
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'level-up' ) ); ?>" class="imprint">
<?php printf( __( 'Proudly powered by %s', 'level-up' ), 'WordPress' ); ?>
</a>
</div>
</div>
</div>
</footer><!-- #colophon -->
<?php } ?>
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>