-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
98 lines (84 loc) · 3.37 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
97
98
<?php
/*
* the footer is made up of three sidebars (widget areas) that can be dropped into by the user
* this area also controls the floating share buttons you see on the side of the page.
* also note that there are two page wrapper divs around the reesenews site so as to allow this floating
* sidebar to work.
*
* in the event that the floating share is no longer being used, you should remove the #floating-box
* as well as the </div> <!--end wrapper -->. You will also need to find the corresponding div in header.php.
*
*/ ?>
</div><!--end content --><div class="clear"></div>
<div id="page-bottom">
<div id="footer" class="grid_16">
<?php if ( is_sidebar_active('footer-1') ) : ?>
<div id="footer-1" class="grid_4 widget-area">
<ul class="xoxo">
<?php dynamic_sidebar('footer-1'); ?>
</ul>
</div> <!-- end footer-1 widget area -->
<?php endif; ?>
<?php if ( is_sidebar_active('footer-2') ) : ?>
<div id="footer-2" class="grid_8 widget-area">
<ul class="xoxo">
<?php dynamic_sidebar('footer-2'); ?>
</ul>
</div> <!-- end footer-1 widget area -->
<?php endif; ?>
<?php if ( is_sidebar_active('footer-3') ) : ?>
<div id="footer-3" class="grid_4 widget-area">
<ul class="xoxo">
<?php dynamic_sidebar('footer-3'); ?>
</ul>
</div> <!-- end footer-1 widget area -->
<?php endif; ?>
</div><!-- end footer -->
</div><!-- end pagewrapper -->
<?php
//only show the floating box on posts
if ( is_single() ) : ?>
<div id="floating-box">
<div id="box">
<div>
<ul>
<li><span class="st_facebook_vcount"></span></li>
<li><span class="st_twitter_vcount"></span></li>
<li><span class="st_linkedin_vcount"></span></li>
<li><span class="st_plusone_vcount"></span></li>
<li><span class="st_email_button" displayText="E-mail"></span></li>
</ul>
</div>
<div id="box-point">
<img src="<?php bloginfo('template_directory'); ?>/images/arrow.png" />
</div>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">
stLight.options({
publisher:'b9ae1913-157a-4e09-8c8a-6c5e72510449'
});
</script>
</div>
</div>
<?php endif; ?>
</div> <!-- end wrapper -->
<!-- these are social media codes that control the getsatisfaction link that floats on the right and the facebook like button that shows up on each single page -->
<script type="text/javascript" charset="utf-8">
var is_ssl = ("https:" == document.location.protocol);
var asset_host = is_ssl ? "https://s3.amazonaws.com/getsatisfaction.com/" : "http://s3.amazonaws.com/getsatisfaction.com/";
document.write(unescape("%3Cscript src='" + asset_host + "javascripts/feedback-v2.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript" charset="utf-8">
var feedback_widget_options = {};
feedback_widget_options.display = "overlay";
feedback_widget_options.company = "reesenews";
feedback_widget_options.placement = "right";
feedback_widget_options.color = "#759EC7";
feedback_widget_options.style = "idea";
var feedback_widget = new GSFN.feedback_widget(feedback_widget_options);
</script>
<?php //wp_footer contains most of the javascript code you need to have plugins work.
wp_footer(); ?>
</body>
</html>