-
Notifications
You must be signed in to change notification settings - Fork 1
/
footer.php
33 lines (33 loc) · 1 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
<div class="site-footer">
<footer>
<div class="l-container">
<h1 class="logo"><a href="<?php echo esc_url( home_url( '/' ) ); ?>">
<?php
$options = get_option( 'for_the_future_theme_options' );
if ( ! empty( $options['foot_logo'] ) ) :
print '<img src="' . esc_url( $options['foot_logo'] ) . '" alt="' . esc_attr( get_bloginfo( 'name' ) ) . '" />';
else :
bloginfo( 'name' );
endif;
?>
</a></h1>
<?php if ( has_nav_menu( 'footer_nav' ) ) :
wp_nav_menu( array(
'theme_location' => 'footer_nav',
'container' => '',
'menu_class' => '',
'depth' => 1,
'items_wrap' => '<ul class="sns-icon">%3$s</ul>',
) );
endif;
?>
<p class="copyright"><?php printf( esc_html__( '© %1s %2s All rights reserved.', 'for-the-future' ), date('Y'), get_bloginfo( 'name') );?></p>
</div>
</footer>
</div>
<div class="to-top">
<a href="#pagetop"><i class="fa fa-chevron-up"></i></a>
</div>
<?php wp_footer(); ?>
</body>
</html>