-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathfooter.php
More file actions
143 lines (122 loc) · 4.57 KB
/
footer.php
File metadata and controls
143 lines (122 loc) · 4.57 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<?php
/**
* Footer Template
*
* Please do not edit this file. This file is part of the Cyber Chimps Framework and all modifications
* should be made in a child theme.
*
* @category CyberChimps Framework
* @package Framework
* @since 1.0
* @author CyberChimps
* @license http://www.opensource.org/licenses/gpl-license.php GPL v3.0 (or later)
* @link https://www.cyberchimps.com/
*/
if( Cyberchimps_Helper::cyberchimps_get_option( 'footer_show_toggle' ) == '1' ) : ?>
<div id="footer_widgets_wrapper" class="container-full-width">
<div id="footer_wrapper" class="container">
<div id="wrapper" class="container-fluid">
<?php do_action( 'cyberchimps_before_footer_widgets' ); ?>
<div id="footer-widgets" class="row-fluid">
<div id="footer-widget-container" class="span12">
<div class="row-fluid">
<?php if( dynamic_sidebar( 'cyberchimps-footer-widgets' ) ) : ?>
</div>
<?php else :
$footer_widget_layout = Cyberchimps_Helper::cyberchimps_get_option('site_footer_option');
if(isset($footer_widget_layout) && $footer_widget_layout != '')
$layout = $footer_widget_layout;
else
$layout = '';
if ($layout == 'footer-3-col')
{
?>
<div class="row-fluid">
<aside class="widget-container span4">
<h3 class="widget-title"><?php esc_html_e( 'Pages', 'ifeature' ); ?></h3>
<ul>
<?php wp_list_pages( 'title_li=' ); ?>
</ul>
</aside>
<aside class="widget-container span4">
<h3 class="widget-title"><?php esc_html_e( 'Archives', 'ifeature' ); ?></h3>
<ul>
<?php wp_get_archives( 'type=monthly' ); ?>
</ul>
</aside>
<aside class="widget-container span4">
<h3 class="widget-title"><?php esc_html_e( 'Categories', 'ifeature' ); ?></h3>
<ul>
<?php wp_list_categories( 'show_count=1&title_li=' ); ?>
</ul>
</aside>
</div>
<div class="row-fluid">
<aside class="widget-container span4">
<h3 class="widget-title"><?php esc_html_e( 'WordPress', 'ifeature' ); ?></h3>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<li><a href="<?php echo esc_url( 'http://wordpress.org/' ); ?>" target="_blank"
title="<?php esc_attr_e( 'Powered by WordPress, state-of-the-art semantic personal publishing platform.', 'ifeature' ); ?>"> <?php esc_html_e( 'WordPress', 'ifeature' ); ?></a>
</li>
<?php wp_meta(); ?>
</ul>
</aside>
</div>
<?php
}
else
{
?>
<div class="row-fluid">
<aside class="widget-container span3">
<h3 class="widget-title"><?php esc_html_e( 'Pages', 'ifeature' ); ?></h3>
<ul>
<?php wp_list_pages( 'title_li=' ); ?>
</ul>
</aside>
<aside class="widget-container span3">
<h3 class="widget-title"><?php esc_html_e( 'Archives', 'ifeature' ); ?></h3>
<ul>
<?php wp_get_archives( 'type=monthly' ); ?>
</ul>
</aside>
<aside class="widget-container span3">
<h3 class="widget-title"><?php esc_html_e( 'Categories', 'ifeature' ); ?></h3>
<ul>
<?php wp_list_categories( 'show_count=1&title_li=' ); ?>
</ul>
</aside>
<aside class="widget-container span3">
<h3 class="widget-title"><?php esc_html_e( 'WordPress', 'ifeature' ); ?></h3>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<li><a href="<?php echo esc_url( 'http://wordpress.org/' ); ?>" target="_blank"
title="<?php esc_attr_e( 'Powered by WordPress, state-of-the-art semantic personal publishing platform.', 'ifeature' ); ?>"> <?php esc_html_e( 'WordPress', 'ifeature' ); ?></a>
</li>
<?php wp_meta(); ?>
</ul>
</aside>
</div>
<?php }?>
<?php endif; ?>
</div>
<!-- #footer-widget-container -->
</div>
<!-- #footer-widgets .row-fluid -->
<?php do_action( 'cyberchimps_after_footer_widgets' ); ?>
</div>
<!-- container fluid -->
</div>
<!-- container -->
</div><!-- container full width -->
<?php endif; ?>
<?php do_action( 'cyberchimps_before_footer_container' ); ?>
<?php do_action( 'cyberchimps_footer' ); ?>
<?php do_action( 'cyberchimps_after_footer_container' ); ?>
<?php do_action( 'cyberchimps_after_wrapper' ); ?>
<?php wp_footer(); ?>
</body>
</html>