-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
62 lines (50 loc) · 1.53 KB
/
Copy pathfooter.php
File metadata and controls
62 lines (50 loc) · 1.53 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
<!-- Footer -->
<div class="section group">
<div class="col span12">
<!-- Small top Menu -->
<!--<p class="center">
<a href="#">About</a> |
<a href="#">Submissions</a> |
<a href="#">Advertise</a> |
<a href="#">Contact Us</a>
</p>-->
<?php
if ( has_nav_menu( 'footer' ) ) {
/* if menu location 'footer' exists then use custom menu */
wp_nav_menu( array( 'theme_location' => 'footer',
'container_class' => 'footer center',
'depth' => -1,
) );
} ?>
<p class="center">Copyright © 2014 | Theme by Will Jones</p>
</div>
</div>
<?php wp_footer();?>
</body>
<!-- Scripts for images -->
<script>
// Picture element HTML5 shiv
document.createElement( "picture" );
</script>
<script src="<?php bloginfo('template_directory'); ?>/js/picturefill.min.js" async></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script>
// Now for the stuff relating to the menu bar
window.menuButton = {
switchStates: function() {
if ($('#menu-button').hasClass('active-button')) {
$('#menu-button').removeClass('active-button');
$('.navigation-container').addClass('closed');
}
else {
$('#menu-button').addClass('active-button');
$('.navigation-container').removeClass('closed');
}
},
}
$('#menu-button').click(window.menuButton.switchStates);
</script>
<!-- Google Fonts -->
<link href='http://fonts.googleapis.com/css?family=Lora:700' rel='stylesheet' type='text/css'>
<!-- <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. -->
</html>