-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
executable file
·52 lines (46 loc) · 1.65 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
<?php do_action( 'pagespeed_before_footer' ); ?>
<?php if ( ! get_post_meta( get_queried_object_id(), 'hide_footer_widgets', true ) && ( is_active_sidebar( "footer-1" ) || is_active_sidebar( "footer-2" ) || is_active_sidebar( "footer-3" ) || is_active_sidebar( "footer-4" ) || is_active_sidebar( "footer-5" ) ) ): ?>
<footer id="site-footer-container" class="cf">
<div id="site-footer" class="sb hybrid">
<?php
$columns = get_theme_mod( 'footer_column_count', 4 );
for ( $i = 1; $i <= $columns; $i ++ ):
?>
<div class="fc-<?php echo $i ?> fc">
<div class="inner">
<?php if ( dynamic_sidebar( "footer-$i" ) ) ?>
</div>
</div>
<!--End of footer-1 -->
<?php
endfor;
?>
</div>
</footer>
<?php endif; ?>
<div id="copyright-container">
<div class="inner hybrid">
<?php
wp_nav_menu( array(
'container' => '',
'menu_class' => '',
'menu_id' => 'footer-links',
'fallback_cb' => '',
'theme_location' => 'footer_links'
)
);
?>
<?php echo wp_kses_post( do_shortcode(get_theme_mod( 'copyright_text', __( 'Copyright', 'page-speed' ) . ' © ' . date_i18n( __( 'Y', 'page-speed' ) ) . ' ' . '<a href="' . esc_url( home_url() ) . '"
rel="home">' . get_bloginfo( "name" ) . '</a>' ) )) ?>
</div>
</div>
</div><!-- #wrapper -->
<?php
wp_footer();
?>
<div id="side-pane">
<div id="side-pane-inner"></div>
<div id="menu-close"><span>[X]</span><?php _e('Close','page-speed')?></div>
</div>
</body>
</html>