-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfooter.php
96 lines (96 loc) · 3.18 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
92
93
94
95
96
<?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="centertext">
<?php echo do_shortcode('[mc4wp_form id="895"]'); ?>
</div>
<div class="col-md-12 distanttop">
<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'), date('Y'), get_bloginfo('name'));
//printf(__('Powered by <a href="%s" target="_blank">Dokan</a> from <a href="%s" target="_blank">weDevs</a>', 'dokan'), 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();
//
global $messages;
//
// $farmdrop_fee_product = get_field('farmdrop_fee_product', 'options');
inspect($messages);
?>
<div id="yith-wcwl-popup-message" style="display:none;">
<div id="yith-wcwl-message"></div>
</div>
<script type="text/javascript">
jQuery(document).ready(function($) {
$('.dokan-ajax-search-textfield').attr('placeholder', '...');
$('#link-story').click(function() {
$('#pop-story').fadeIn(500);
});
$('.pop .closepop,.pop .cancel').click(function() {
$(this).closest('.pop').fadeOut(500);
});
});
</script>
</body>
</html>