-
Notifications
You must be signed in to change notification settings - Fork 104
/
Copy pathfooter.php
41 lines (30 loc) · 998 Bytes
/
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
<?php b4st_footer_before();?>
<footer id="site-footer">
<div class="container">
<?php if(is_active_sidebar('footer-widget-area')): ?>
<div class="row pt-5 pb-4" id="footer" role="navigation">
<?php dynamic_sidebar('footer-widget-area'); ?>
</div>
<?php endif; ?>
</div>
</footer>
<?php b4st_footer_after();?>
<?php b4st_bottomline();?>
<!--
Viewport width indicator
========================
Just delete this if or when you don't need it.
-->
<div id="vp" style="position: fixed; bottom: 0.5rem; right: 0.5rem; z-index: 999; display: inline-block; background: #555; color: #ffffff; padding: 0 0.5rem 0.125rem; border-radius: 0.25rem;"></div>
<script>
var vp = document.body.querySelector('#vp');
var viewportWidth = window.innerWidth + 'px';
vp.innerHTML = viewportWidth;
window.addEventListener('resize', function () {
viewportWidth = window.innerWidth + 'px';
vp.innerHTML = viewportWidth;
});
</script>
<?php wp_footer(); ?>
</body>
</html>