-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
executable file
·60 lines (50 loc) · 1.38 KB
/
footer.php
File metadata and controls
executable file
·60 lines (50 loc) · 1.38 KB
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
54
55
56
57
58
59
60
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package Warby
*/
?>
</div><!-- .col-width -->
</div><!-- #content -->
</div><!-- #page -->
<?php if ( is_active_sidebar( 'footer' ) ) : ?>
<div class="footer-widgets <?php echo esc_attr( warby_footer_class() ); ?> clearfix">
<div class="col-width">
<?php dynamic_sidebar( 'footer' ); ?>
</div>
</div><!-- .footer-widgets -->
<?php endif; ?>
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="col-width">
<?php if ( get_theme_mod( 'footer-text', warby_footer_text() ) != '' ) : ?>
<div class="site-info">
<?php echo do_shortcode( get_theme_mod( 'footer-text', warby_footer_text() ) ); ?>
</div><!-- .site-info -->
<?php endif; ?>
<?php if ( has_nav_menu( 'footer' ) ) : ?>
<nav id="footer-navigation" class="navigation-menu" role="navigation">
<?php wp_nav_menu( array(
'theme_location' => 'footer',
'link_before' => '<span>',
'link_after' => '</span>',
'depth' => '1',
) ); ?>
</nav>
<?php endif; ?>
</div><!-- .col-width -->
</footer><!-- #colophon -->
</div><!-- .site -->
<div class="search-modal">
<div class="flex">
<div class="search-container">
<h3>Search</h3>
</div>
</div>
<div class="close-modal">×</div>
</div>
<?php wp_footer(); ?>
</body>
</html>