-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
143 lines (110 loc) · 4.67 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
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 wp_reset_postdata(); // close loop ?>
<?php wp_reset_query(); ?>
</div> <!-- main -->
<div class="clear"></div>
<div id="footer-container">
<?php if ( !is_home() ) : ?>
<div id="footer-slider-container">
<h3>New From Untamed Science</h3>
<?php get_template_part('includes/posts-slider'); ?>
</div><!-- /footer slider container -->
<?php endif; ?>
<div id="footer">
<div class="wrapper">
<div class="footer-left">
<h3>Company Pages</h3>
<ul>
<?php wp_nav_menu( array( 'theme_location' => 'footermenu' ) ); ?>
</ul>
<p class="copyright">Copyright © <?php echo date('Y'); ?></p>
<p class="copyright">All rights reserved.</p>
</div><!-- #footer left -->
<div class="footer-mid-left">
<h3>Can't find what you were looking for?</h3>
<form action="http://www.google.com" id="cse-search-box" target="_blank">
<div class="footer-form">
<input type="hidden" name="cx" value="partner-pub-6981626318170748:9252974045" />
<input type="hidden" name="ie" value="UTF-8" />
<div class="forminput">
<input type="text" name="q" name="s" id="search" class="formtip" />
</div><!-- form imput -->
<!--<input type="text" value="site search..." onfocus="if(this.value == 'site search...'){this.value = '';}" />-->
<div class="formbutton"> <input type="submit" class="head-search" value="Search" /></div>
</div><!-- footer form -->
</form>
<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script>
</div><!-- #footermid left -->
<div class="footer-mid-right">
<!-- Begin MailChimp Signup Form -->
<h3>Join our mailing list</h3>
<?php get_template_part( '/includes/newsletter' ); ?>
</div><!-- #footer mid right -->
<div class="footer-right">
<h3>Follow Us on...</h3>
<div id="f-soc">
<ul>
<!--<li class="f-rss"><a href="<?php bloginfo('url'); ?>/feed/">RSS</a></li>-->
<li class="f-facebook"><a href="https://www.facebook.com/pages/Untamed-Science/169220075768">Like Us on Facebook</a></li>
<li class="f-twitter"><a href="https://twitter.com/UntamedScience">Follow Us on Twitter</a></li>
<li class="f-youtube"><a href="http://www.youtube.com/user/UntamedScience">Watch us on YouTube</a></li>
</ul>
</div><!-- f soc -->
<div class="clear"></div>
<h3>Our other sites:</h3>
<ul>
<?php wp_nav_menu( array( 'theme_location' => 'othersites' ) ); ?>
</ul>
</div><!-- #footer right -->
</div><!-- wrapper -->
</div><!-- #footer -->
</div><!-- #footer container -->
<?php wp_footer(); ?>
<!-- Slider on load -->
<script type="text/javascript" charset="utf-8">
// Can also be used with $(document).ready()
$(window).load(function() {
// set up and load the front page carousel
jQuery('#mycarousel').jcarousel({
wrap: 'circular',
auto: 0,
scroll: 1,
animation: 400,
});
// WE added a css of display: none to the list itme so it doesn't flicker or look weird when it's loading
// But we need to remove that class on load to see the carousel
jQuery('ul#mycarousel li').removeClass('hideitemonload');
$('#mycarousel').touchwipe({
wipeLeft: function() {
$('#mycarousel').jcarousel('next');
},
wipeRight: function() {
$('#mycarousel').jcarousel('prev');
},
min_move_x: 20,
min_move_y: 20,
preventDefaultEvents: false
});
});
</script>
<!-- Place this tag after the last +1 button tag. -->
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<!-- Google Analytics -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-4084017-5']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>