-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathfooter.php
executable file
·78 lines (69 loc) · 2.94 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
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the id=main div and all content after
*
* @package dokan
* @package dokan - 2014 1.0
*/
?>
</div><!-- .row -->
</div><!-- .container -->
</div><!-- #main .site-main -->
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="footer-widget-area">
<div class="container">
<div class="row">
<div class="col-md-3">
<?php dynamic_sidebar( 'footer-1' ); ?>
</div>
<div class="col-md-3">
<?php dynamic_sidebar( 'footer-2' ); ?>
</div>
<div class="col-md-3">
<?php dynamic_sidebar( 'footer-3' ); ?>
</div>
<div class="col-md-3">
<?php dynamic_sidebar( 'footer-4' ); ?>
</div>
</div> <!-- .footer-widget-area -->
</div>
</div>
<div class="copy-container">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="footer-copy">
<div class="col-md-6 site-info">
<?php
$footer_text = get_theme_mod( 'footer_text' );
if ( empty( $footer_text ) ) {
printf( __( '© %d, %s. All rights are reserved.', 'dokan-theme' ), date( 'Y' ), get_bloginfo( 'name' ) );
printf( __( 'Powered by <a href="%s" target="_blank">Dokan</a> from <a href="%s" target="_blank">weDevs</a>', 'dokan-theme' ), esc_url( 'http://wedevs.com/theme/dokan/?utm_source=dokan&utm_medium=theme_footer&utm_campaign=product' ), esc_url( 'http://wedevs.com/?utm_source=dokan&utm_medium=theme_footer&utm_campaign=product' ) );
} else {
echo $footer_text;
}
?>
</div><!-- .site-info -->
<div class="col-md-6 footer-gateway">
<?php
wp_nav_menu( array(
'theme_location' => 'footer',
'depth' => 1,
'container_class' => 'footer-menu-container clearfix',
'menu_class' => 'menu list-inline pull-right',
) );
?>
</div>
</div>
</div>
</div><!-- .row -->
</div><!-- .container -->
</div> <!-- .copy-container -->
</footer><!-- #colophon .site-footer -->
</div><!-- #page .hfeed .site -->
<?php wp_footer(); ?>
<div id="yith-wcwl-popup-message" style="display:none;"><div id="yith-wcwl-message"></div></div>
</body>
</html>