-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfooter.php
More file actions
106 lines (92 loc) · 3.62 KB
/
footer.php
File metadata and controls
106 lines (92 loc) · 3.62 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
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Lighthouse
*/
?>
</div><!-- #content -->
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="footer-normal">
<div class="container">
<div class="row widget">
<div class="col-sm-6 col-md-3 widget-col widget-col-1"><?php dynamic_sidebar( 'footer_widgets_1' ); ?></div>
<div class="col-sm-6 col-md-3 widget-col widget-col-2"><?php dynamic_sidebar( 'footer_widgets_2' ); ?></div>
<div class="col-sm-6 col-md-3 widget-col widget-col-3"><?php dynamic_sidebar( 'footer_widgets_3' ); ?></div>
<div class="col-sm-6 col-md-3 widget-col widget-col-4"><?php dynamic_sidebar( 'footer_widgets_4' ); ?></div>
</div>
</div>
</div>
<div class="footer-bottom">
<div class="container">
<div class="row site-info">
<div class="col-sm-12 col-md-6 bottom-footer-right">
<div class="social-items">
<!-- <a href="" class="link link-youtube" target="_blank"><i class="fa fw fa-youtube"></i></a> -->
<a href="https://www.linkedin.com/company/lighthouse-group-plc" class="link link-linkedin" target="_blank"><i class="fa fw fa-linkedin"></i></a>
<!-- <a href="https://plus.google.com/u/0/112602769566696286010" class="link link-google-plus" target="_blank"><i class="fa fw fa-google-plus"></i></a> -->
<a href="https://www.facebook.com/LighthouseGroupPLC" class="link link-facebook" target="_blank"><i class="fa fw fa-facebook"></i></a>
<a href="https://twitter.com/talk2lighthouse" class="link link-twitter" target="_blank"><i class="fa fw fa-twitter"></i></a>
</div>
<div class="footer-menu">
<?php lighthouse_footer_menu_bottom(); ?>
</div>
</div>
<div class="col-sm-12 col-md-6 bottom-footer-left">
<div class="copyright">© 2017 - Lighthouse Group PLC - 04042743</div>
</div>
</div>
</div>
</div>
</footer><!-- footer -->
</div><!-- #page -->
<!-- MENU FOR SMALL SCREEN -->
<button id="mm-menu-toggle" class="mm-menu-toggle">Toggle Menu</button>
<nav id="mm-menu" class="mm-menu">
<div class="mm-menu__header">
<h2 class="mm-menu__title">Lighthouse</h2>
</div>
<?php lighthouse_header_menu_left(); ?>
<?php lighthouse_header_menu_right(); ?>
</nav><!-- nav -->
<?php wp_footer(); ?>
<script type="text/javascript">
function fixed_header_with_adminBar() {
var adminBarHeight = jQuery('#wpadminbar').height();
var menuToggleTop = 55;
var topTotal = adminBarHeight + menuToggleTop;
jQuery('#masthead').css('top',adminBarHeight);
jQuery('#mm-menu-toggle').css('top',topTotal)
}
fixed_header_with_adminBar();
jQuery( window ).resize(function() {
fixed_header_with_adminBar();
});
//Content timeline fix
jQuery(window).bind("load", function() {
var lineItem = jQuery('.t_line_holder .t_line_view .t_line_m a');
lineItem.each(function(){
var href = jQuery(this).attr('href');
var tag = href.slice(7, 11);
jQuery(this).contents().filter(function(){
return this.nodeType == 3;
})[0].nodeValue = tag;
//console.log(tag);
});
});
</script>
<!-- Google Analytics tracking code -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-74121462-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>