forked from Codeinwp/flymag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
48 lines (43 loc) · 1.44 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
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package FlyMag
*/
?>
</div><!-- #content -->
<?php if ( is_active_sidebar( 'sidebar-4' ) || is_active_sidebar( 'sidebar-5' ) || is_active_sidebar( 'sidebar-6' ) ) : ?>
<?php get_sidebar( 'footer' ); ?>
<?php endif; ?>
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="container">
<div class="site-info col-md-6 col-sm-6">
<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'flymag' ) ); ?>" rel="nofollow">
<?php
/* translators: %s is WordPress */
printf( __( 'Proudly powered by %s', 'flymag' ), 'WordPress' ); ?>
</a>
<span class="sep"> | </span>
<?php
/* translators: %1$s is theme link , %2$s is author name */
printf( __( 'Theme: %2$s by %1$s.', 'flymag' ), 'Themeisle', '<a href="http://themeisle.com/themes/flymag/" rel="nofollow">FlyMag</a>' ); ?>
</div><!-- .site-info -->
<?php if ( has_nav_menu( 'social' ) ) : ?>
<nav class="social-navigation col-md-6 col-sm-6 clearfix">
<?php wp_nav_menu( array(
'theme_location' => 'social',
'link_before' => '<span class="screen-reader-text">',
'link_after' => '</span>',
'menu_class' => 'menu clearfix',
'fallback_cb' => false,
) ); ?>
</nav>
<?php endif; ?>
</div>
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>