-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
executable file
·76 lines (72 loc) · 3.25 KB
/
Copy pathfooter.php
File metadata and controls
executable file
·76 lines (72 loc) · 3.25 KB
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
<?php
/*
* Template to Display Footer
*
*/
?>
<?php if( is_404() || is_search() ) { null; } else { get_sidebar('ads_bottom'); } ?>
<?php global $wise_allowed_html; $wise_footer_text = get_theme_mod('wise_footer_text'); $wise_footer_text_dis = get_theme_mod('wise_footer_text_dis'); ?>
<?php $wise_current_year = date('Y'); ?>
</div><!-- End of #content -->
<div class="footer-wrapper-outer">
<div class="footer-wrapper clear">
<?php if ( get_theme_mod( 'wise_footer_style' ) == '' ) : ?>
<div class="footer-side">
<?php get_sidebar('footer'); ?>
</div>
<?php endif; ?>
<footer id="colophon" class="site-footer">
<?php if ( get_theme_mod( 'wise_footer_style' ) == 'single' ) : ?>
<div class="footer-simple">
<?php if( function_exists('wise_footer_social_menu') && get_theme_mod('wise_disable_footericons') == false ) : wise_footer_social_menu(); endif; // disable footer social icons ?>
<?php if( function_exists('wise_footer_single_menu') && get_theme_mod('wise_disable_footermenu') == false ) : // disable footer menus ?>
<div class="footer-menus">
<?php wise_footer_single_menu(); ?>
</div>
<?php endif; ?>
<div class="footer-text">
<?php
if( $wise_footer_text_dis == false ) :
if( !empty($wise_footer_text) ) {
echo wp_kses( $wise_footer_text, $wise_allowed_html );
} else {
printf( esc_html__( 'Copyright © %d. All rights reserved.', 'wise-blog' ), $wise_current_year );
}
endif; wise_panel_fields_footer(); ?>
</div>
</div><!-- End of .footer-simple -->
<?php endif; ?>
<?php if ( get_theme_mod( 'wise_footer_style' ) == '' ) : ?>
<div class="site-info">
<?php if (get_theme_mod('wise_footer_logo') == false) : ?>
<div class="img-footer">
<a href="<?php echo esc_url( home_url('/') ); ?>">
<?php if (get_theme_mod('wise_footer_logo_url')) { ?>
<img src="<?php echo esc_url(get_theme_mod('wise_footer_logo_url')); ?>" alt="<?php echo esc_attr( bloginfo('name') ); ?>">
<?php } else { ?>
<img src="<?php echo esc_url( get_template_directory_uri() . '/img/footer_img.png'); ?>" alt="<?php echo esc_attr( bloginfo('name') ); ?>">
<?php } ?>
</a>
</div>
<?php endif; ?>
<div class="text-footer">
<?php
if( $wise_footer_text_dis == false ) :
if( !empty($wise_footer_text) ) {
echo wp_kses( $wise_footer_text, $wise_allowed_html );
} else {
printf( esc_html__( 'Copyright © %d. All rights reserved.', 'wise-blog' ), $wise_current_year );
}
endif; wise_panel_fields_footer(); ?>
</div>
</div><!-- End of .site-info -->
<?php endif; ?>
</footer><!-- End of #colophon -->
</div><!-- End of .footer wrapper --><div class="clear"></div>
</div><!-- End of .footer-wrapper-outer -->
<span class="cd-top"><img src="<?php echo esc_url(get_template_directory_uri() . '/img/arrowtop.png'); ?>" alt="<?php echo esc_attr__( 'Back to top', 'wise-blog' ); ?>"></span>
</div><!-- End of .#page -->
<?php wp_footer(); ?>
<?php if( function_exists('wise_before_body') ) : wise_before_body(); endif; ?>
</body>
</html>