-
Notifications
You must be signed in to change notification settings - Fork 18
/
footer.php
91 lines (81 loc) · 3.02 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?php
/**
* Footer Template
*
* The template for displaying the footer
*
* @package responsive_mobile
* @license license.txt
* @copyright 2014 CyberChimps Inc
* @since 0.0.1
*
* Please do not edit this file. This file is part of the responsive_mobile Framework and all modifications
* should be made in a child theme.
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
?>
<?php responsive_mobile_wrapper_bottom(); // after wrapper content hook ?>
</div><!-- end of #wrapper -->
<?php responsive_mobile_wrapper_end(); // after wrapper hook ?>
</div><!-- end of #container -->
<?php responsive_mobile_container_bottom();?>
<footer id="footer" class="site-footer" role="contentinfo" itemscope="itemscope" itemtype="http://schema.org/WPFooter">
<?php responsive_mobile_footer_top(); ?>
<div id="footer-wrapper">
<div id="footer-widgets-container">
<?php get_sidebar( 'footer' ); ?>
</div><!-- #footer-widgets-container-->
<div id="menu-social-container">
<nav id="footer-menu-container">
<?php if ( has_nav_menu( 'footer-menu', 'responsive-mobile' ) ) {
wp_nav_menu(
array(
'container' => '',
'fallback_cb' => false,
'menu_class' => 'footer-menu',
'theme_location' => 'footer-menu',
'depth' => 1
)
);
} ?>
</nav><!-- #footer-menu -->
<div id="social-icons-container">
<?php echo responsive_mobile_get_social_icons() ?>
</div><!-- #social-icons-container-->
</div><!-- #menu-social-container -->
<?php get_sidebar( 'colophon' ); ?>
<div id="footer-base">
<div class="copyright">
<?php
$copyright_text = '© ' . date( 'Y' ) . ' <a href="' . home_url( '/' ) . '" title="' . esc_attr( get_bloginfo( 'name', 'display' ) ) . '">' . esc_attr( get_bloginfo( 'name' ) ) . '</a>';
$copyright_text = apply_filters( 'responsive_mobile_copyright_text', $copyright_text );
echo $copyright_text;
?>
</div><!-- .copyright -->
<div class="powered">
<?php
$powered_by_text = sprintf(
/* Translators: Responsive Theme powered by WordPress */
__( '%1$s powered by %2$s', 'responsive-mobile' ),
'<a href="' . esc_url( 'http://cyberchimps.com/responsive-II/' ) . '">' . __( 'Responsive II', 'responsive-mobile' ) . '</a>',
'<a href="' . esc_url( 'http://wordpress.org/' ) . '">' . __( 'WordPress', 'responsive-mobile' ) . '</a>'
);
$powered_by_text = apply_filters( 'responsive_mobile_powered_by_text', $powered_by_text );
echo $powered_by_text;
?>
</div><!-- end .powered -->
<div class="scroll-top">
<a href="#scroll-top" title="<?php esc_attr_e( 'scroll to top', 'responsive-mobile' ); ?>"><?php _e( '↑', 'responsive-mobile' ); ?></a>
</div><!-- .scroll-top -->
</div><!-- #footer-base -->
</div><!-- #footer-wrapper -->
<?php responsive_mobile_footer_bottom(); ?>
</footer><!-- #footer -->
<?php responsive_mobile_footer_after(); ?>
<?php responsive_mobile_body_bottom(); ?>
<?php wp_footer(); ?>
</body>
</html>