-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
executable file
·105 lines (72 loc) · 2.68 KB
/
footer.php
File metadata and controls
executable file
·105 lines (72 loc) · 2.68 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
<footer class="footer" role="contentinfo">
<div id="inner-footer" class="wrap clearfix">
<div class="left-footer-widgets footer-widgets first fourcol">
<?php if ( is_active_sidebar( 'left_footer_widgets' ) ) : ?>
<?php dynamic_sidebar( 'left_footer_widgets' ); ?>
<?php else : ?>
<!-- This content shows up if there are no widgets defined in the backend. -->
<div class="alert help">
<p><?php _e("Please activate some Widgets.", "bonestheme"); ?></p>
</div>
<?php endif; ?>
</div>
<div class="middle-footer-widgets footer-widgets fourcol">
<?php if ( is_active_sidebar( 'middle_footer_widgets' ) ) : ?>
<?php dynamic_sidebar( 'middle_footer_widgets' ); ?>
<?php else : ?>
<!-- This content shows up if there are no widgets defined in the backend. -->
<div class="alert help">
<p><?php _e("Please activate some Widgets.", "bonestheme"); ?></p>
</div>
<?php endif; ?>
</div>
<div class="right-footer-widgets footer-widgets last fourcol">
<?php if ( is_active_sidebar( 'right_footer_widgets' ) ) : ?>
<?php dynamic_sidebar( 'right_footer_widgets' ); ?>
<?php else : ?>
<!-- This content shows up if there are no widgets defined in the backend. -->
<div class="alert help">
<p><?php _e("Please activate some Widgets.", "bonestheme"); ?></p>
</div>
<?php endif; ?>
</div>
<?php /* ?><nav role="navigation">
<?php bones_footer_links(); ?>
</nav><?php */ ?>
<p class="source-org copyright">© <?php echo date('Y'); ?> <?php bloginfo('name'); ?>.</p>
</div> <!-- end #inner-footer -->
</footer> <!-- end footer -->
</div> <!-- end #container -->
<!-- all js scripts are loaded in library/bones.php -->
<?php wp_footer(); ?>
<!-- FitVids.js -->
<script>
jQuery(document).ready(function(){
jQuery(".entry-content").fitVids();
});
</script>
<!-- Masonry.js -->
<script>
$(function(){
if ( $("#main .project").length !== 0 ) {
toggleMasonry();
$(window).bind( 'resize', toggleMasonry );
}
function toggleMasonry( e ) {
if ( $(document).width() > 767 ) {
$('#main').masonry({
// options
itemSelector : '.project',
columnWidth: function( containerWidth ) {
return containerWidth / 3;
},
isAnimated : true
}).addClass( 'masonry' ).children( 'article' ).addClass( 'masonry-brick' );
} else {
$( '#main' ).removeClass( 'masonry' ).children( 'article' ).removeClass( 'masonry-brick' );
};
}
});
</script>
</body>
</html> <!-- end page -->