forked from athemes/Cali
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
57 lines (51 loc) · 1.42 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
54
55
56
57
<?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 Cali
*/
?>
</div><!-- /.row started in header.php -->
</div><!-- /.container started in header.php -->
</div><!-- #content started in header.php -->
<?php
if ( is_active_sidebar( 'footer-instagram' ) ) {
dynamic_sidebar('footer-instagram');
}
?>
<footer id="colophon" class="site-footer">
<div class="container">
<nav class="social-navigation--footer social-links clearfix ca-social-buttons">
<?php
wp_nav_menu( array(
'theme_location' => 'menu-social-footer',
'menu_id' => 'social-footer-menu',
'fallback_cb' => false,
) );
?>
</nav>
<div class="site-branding--footer">
<?php
the_custom_logo(); ?>
<p class="site-title--footer"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
</div><!-- .site-branding -->
<nav class="footer-navigation clearfix">
<?php
wp_nav_menu( array(
'theme_location' => 'footer-menu',
'menu_id' => 'footer-menu',
'depth' => 1
) );
?>
</nav><!-- #site-navigation -->
<?php do_action( 'cali_footer' ); ?>
</div>
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>