forked from foursquarechurch/Foursquare-WordPress-Theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
121 lines (106 loc) · 4.09 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
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the id=main div and all content
* after. Calls sidebar-footer.php for bottom widgets.
*
* @package WordPress
* @subpackage Foursquare Two
* @since Foursquare Two 1.0
*/
?>
<footer>
<div class="container">
<div class="copyright span6">
<img src="<?php bloginfo('template_url'); ?>/assets/images/logo-footer.png"><br />
©
<?php echo date("Y") ?>
<a href="<?php echo home_url('/') ?>" title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>" rel="home"><?php bloginfo('name'); ?></a><br />
<span><a href="http://www.foursquare.org" alt="The Foursquare Church">The Foursquare Church</a></span>
</div><!--End copyright-->
<div class="social">
<?php /*Checks to see if primary admin has a Twitter or Facebook account. If so, it will display the icons next to the RSS icon in the main menu. */ ?>
<?php if (get_the_author_meta('facebook', 1)) { ?>
<div class="facebook">
<a href="<?php the_author_meta('facebook', 1); ?>">Facebook</a>
</div>
<?php } // End check for facebook
?>
<?php if (get_the_author_meta('googleplus', 1)) { ?>
<div class="googleplus">
<a href="<?php the_author_meta('googleplus', 1); ?>">Google+</a>
</div>
<?php } // End check for google
?>
<?php if (get_the_author_meta('twitter', 1)) { ?>
<div class="twitter">
<a href="http://twitter.com/<?php the_author_meta('twitter', 1); ?>">Twitter</a>
</div>
<?php } // End check for twitter
?>
<?php if (get_the_author_meta('pinterest', 1)) { ?>
<div class="pinterest">
<a href="http://pinterest.com/<?php the_author_meta('pinterest', 1); ?>">Pinterest</a>
</div>
<?php } // End check for interest
?>
</div><!--end social-->
</div>
</footer>
<!-- JAVASCRIPT (located at page bottom for fast load)
*********************************************************************** -->
<script src="<?php bloginfo('template_url'); ?>/assets/js/bootstrap-collapse-min.js"></script>
<script src="<?php bloginfo('template_url'); ?>/assets/js/bootstrap-transition-min.js"></script>
<script src="<?php bloginfo('template_url'); ?>/assets/js/bootstrap-modal-min.js"></script>
<script src="<?php bloginfo('template_url'); ?>/assets/js/bootstrap-dropdown-min.js"></script>
<!-- Video.js: http://videojs.com/ -->
<script src="http://vjs.zencdn.net/c/video.js"></script>
<!-- RefTagger from Logos. Visit http://www.logos.com/reftagger. This code should appear directly before the </body> tag. -->
<script src="http://bible.logos.com/jsapi/referencetagging.js" type="text/javascript"></script>
<script type="text/javascript">
Logos.ReferenceTagging.lbsBibleVersion = "NKJV";
Logos.ReferenceTagging.lbsLinksOpenNewWindow = true;
Logos.ReferenceTagging.lbsLogosLinkIcon = "dark";
Logos.ReferenceTagging.lbsNoSearchTagNames = ["h2", "h3", "h3", "h4", "h5", "h6", "span"];
Logos.ReferenceTagging.lbsTargetSite = "biblia";
Logos.ReferenceTagging.tag();
Logos.ReferenceTagging.lbsCssOverride = true;
</script>
<script type="text/javascript">
// Adding the class selected background class to the body //
jQuery(document).ready(function() {
jQuery("body").addClass("<?php echo get_option('nt_background'); ?>");
});
</script>
<script type="text/javascript">
// Adding the class "dropdown" to li elements with submenus //
jQuery(document).ready(function() {
jQuery("ul.sub-menu").parent().addClass("dropdown");
jQuery("ul#main-menu li.dropdown a").addClass("");
jQuery("ul.sub-menu li a").removeClass("dropdown-toggle");
});
</script>
<script type="text/javascript">
jQuery(document).ready(function() {
// Don't FORGET: replace all $ with jQuery to prevent conflicts //
jQuery('a.dropdown-toggle')
.attr('data-toggle', 'dropdown');
});
</script>
<script type="text/javascript">
jQuery(document).ready(function() {
// Don't FORGET: replace all $ with jQuery to prevent conflicts //
jQuery(function() {
jQuery(".tablesorter-example").tablesorter({
sortList: [
[1, 0]
]
});
jQuery('.dropdown-toggle').dropdown();
})
});
</script>
<?php wp_footer(); ?>
</body>
</html>