-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfooter.php
More file actions
96 lines (88 loc) · 2.53 KB
/
footer.php
File metadata and controls
96 lines (88 loc) · 2.53 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
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 #content div and all content after.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Orchid_Store
*/
?>
</div><!-- #content.site-title -->
<footer class="footer secondary-widget-area">
<div class="footer-inner">
<div class="footer-mask">
<div class="__os-container__">
<div class="footer-entry">
<?php
if ( orchid_store_get_option( 'display_footer_widget_area' ) ) {
$orchid_store_footer_widget_area_no = orchid_store_get_option( 'footer_widgets_area_columns' );
?>
<div class="footer-top columns-<?php echo esc_attr( $orchid_store_footer_widget_area_no ); ?>">
<div class="row">
<?php
if ( ! empty( $orchid_store_footer_widget_area_no ) ) {
for ( $orchid_store_count = 1; $orchid_store_count <= $orchid_store_footer_widget_area_no; $orchid_store_count++ ) {
$orchid_store_sidebar_id = 'footer-' . $orchid_store_count;
?>
<div class="os-col column">
<?php
if ( is_active_sidebar( $orchid_store_sidebar_id ) ) {
dynamic_sidebar( $orchid_store_sidebar_id );
}
?>
</div><!-- .col -->
<?php
}
}
?>
</div><!-- .row -->
</div><!-- .footer-top -->
<?php
}
?>
<div class="footer-bottom">
<div class="os-row">
<div class="os-col copyrights-col">
<?php
/**
* Hook - orchid_store_footer_left.
*
* @hooked orchid_store_footer_left_action - 10
*/
do_action( 'orchid_store_footer_left' );
?>
</div><!-- .os-col -->
<div class="os-col">
<?php
/**
* Hook - orchid_store_footer_right.
*
* @hooked orchid_store_footer_right_action - 10
*/
do_action( 'orchid_store_footer_right' );
?>
</div><!-- .os-col -->
</div><!-- .os-row -->
</div><!-- .footer-bottom -->
</div><!-- .footer-entry -->
</div><!-- .__os-container__ -->
</div><!-- .footer-mask -->
</div><!-- .footer-inner -->
</footer><!-- .footer -->
<?php
if ( orchid_store_get_option( 'display_scroll_top_button' ) ) {
?>
<div class="orchid-backtotop">
<span>
<i class="bx bx-chevron-up"></i>
</span>
</div>
<?php
}
?>
</div><!-- .__os-page-wrap__ -->
<?php wp_footer(); ?>
</body>
</html>