-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathfooter.php
More file actions
123 lines (97 loc) · 3.44 KB
/
footer.php
File metadata and controls
123 lines (97 loc) · 3.44 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
<?php
/**
* Title: Footer template.
*
* Description: Defines footer content.
*
* 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 Cyber Chimps Framework
* @package Framework
* @since 1.0
* @author CyberChimps
* @license http://www.opensource.org/licenses/gpl-license.php GPL v3.0 (or later)
* @link http://www.cyberchimps.com/
*/
?>
</div><!-- wrapper -->
</div><!-- container -->
<?php
$contact_background_image= cyberchimps_get_option( 'custom_back_image_uploader' );
$contact_form_shortcode=cyberchimps_get_option( 'contact_form_shortcode' );
$contact_form_heading=cyberchimps_get_option( 'contact_form_heading' );
$contact_form_switch=cyberchimps_get_option( 'contact_form_switch' );
if( $contact_form_switch == 1 )
{
?>
<section class="full-width-container contact-full-width" style="background:url(<?php echo $contact_background_image; ?>);">
<div class="container">
<div id="contact_form_container" style="text-align:center;">
<h2 style="color:#fff"><?php echo $contact_form_heading; ?></h2>
<div class="contact_form-content">
<div class="col-lg-12 contact_box">
<?php echo do_shortcode($contact_form_shortcode); ?>
</div>
</div><!-- end of contact_form-content row-->
</div><!-- end of id="contact_form"-->
</div><!-- end of id="contact_form_container"-->
</div>
</div>
</section>
<?php } ?>
<section class="full-width-container footer-full-width">
<div class="container">
<div class="container-fluid">
<?php
if( cyberchimps_get_option( 'footer_show_toggle' ) == '1' ) {
do_action( 'cyberchimps_before_footer_widgets' ); ?>
<div id="footer-widgets" class="row-fluid">
<div id="footer-widget-container" class="span12">
<div class="row-fluid">
<div id="footer_logo" class="span3">
<?php do_action( 'cyberchimps_header' ); ?>
</div>
<?php if( !dynamic_sidebar( 'cyberchimps-footer-widgets' ) ) : ?>
<aside class="widget-container span3">
<h3 class="widget-title"><?php _e( 'Pages', 'fine' ); ?></h3>
<ul>
<?php wp_list_pages( 'title_li=' ); ?>
</ul>
</aside>
<aside class="widget-container span3">
<h3 class="widget-title"><?php _e( 'Archives', 'fine' ); ?></h3>
<ul>
<?php wp_get_archives( 'type=monthly' ); ?>
</ul>
</aside>
<aside class="widget-container span3">
<h3 class="widget-title"><?php _e( 'Categories', 'fine' ); ?></h3>
<ul>
<?php wp_list_categories( 'show_count=1&title_li=' ); ?>
</ul>
</aside>
<?php endif; ?>
</div>
<!-- .row-fluid -->
</div>
<!-- #footer-widget-container -->
</div><!-- #footer-widgets .row-fluid -->
<?php do_action( 'cyberchimps_after_footer_widgets' ); ?>
<?php } ?>
<?php do_action( 'cyberchimps_before_footer_container' ); ?>
<footer class="site-footer row-fluid">
<?php
do_action( 'cyberchimps_footer' );
?>
</footer>
<!-- .site-footer .row-fluid -->
<?php do_action( 'cyberchimps_after_footer_container' ); ?>
</div>
<!-- #wrapper .container-fluid -->
<?php do_action( 'cyberchimps_after_wrapper' ); ?>
</div>
<!-- container -->
<?php wp_footer(); ?>
</body>
</html>