-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfooter.php
63 lines (60 loc) · 1.74 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
58
59
60
61
62
63
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package Billie
*/
?>
</div><!-- #content -->
<footer id="colophon" class="site-footer" role="contentinfo">
<h2 class="screen-reader-text"><?php esc_html_e( 'Footer Content', 'billie' ); ?></h2>
<?php
if ( is_active_sidebar( 'sidebar-2' ) ) {
?>
<div class="widget-area">
<?php dynamic_sidebar( 'sidebar-2' ); ?>
</div><!-- #secondary -->
<?php
}
if ( has_nav_menu( 'social' ) ) {
?>
<nav class="social-menu" role="navigation" aria-label="<?php esc_attr_e( 'Social Media', 'billie' ); ?>">
<?php
wp_nav_menu(
array(
'theme_location' => 'social',
'fallback_cb' => false,
'depth' => 1,
'link_before' => '<span class="screen-reader-text">',
'link_after' => '</span>',
)
);
?>
</nav><!-- #social-menu -->
<?php
}
?>
<div class="site-info">
<?php
if ( is_active_sidebar( 'sidebar-copyright' ) ) {
dynamic_sidebar( 'sidebar-copyright' );
}
if ( function_exists( 'the_privacy_policy_link' ) ) {
the_privacy_policy_link( '', '<span class="sep"> | </span>' );
}
if ( ! get_theme_mod( 'billie_hide_credits' ) ) {
?>
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'billie' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'billie' ), 'WordPress' ); ?></a>
<span class="sep"> | </span>
<a href="<?php echo esc_url( 'https://themesbycarolina.com' ); ?>" rel="nofollow"><?php printf( __( 'Theme: %1$s by Carolina', 'billie' ), 'Billie' ); ?></a>
<?php
}
?>
</div><!-- .site-info -->
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>