-
Notifications
You must be signed in to change notification settings - Fork 7
/
footer.php
40 lines (39 loc) · 1.78 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
<footer class="main" role="contentinfo">
<article class="copyright">
This is the <a href="http://github.com/joshbroton/Squeaky">squeakyclean WordPress Boilerplate</a>, and it's ©<?php echo date("Y"); ?> <a href="http://www.twitter.com/joshbroton">Josh Broton</a> and <a href="http://joshbroton.com">Aspects/Reference</a>.<br />
Don't let that worry you. It's still 100% free to use and licensed under GPLv2 or later. <br />
Use this. Please. Seriously. And help me by <a href="https://github.com/joshbroton/Squeaky">forking it on GitHub</a> and cleaning up my code.
</article>
<nav class="footer_menu">
<?php wp_nav_menu( array(
'container' => 'ul',
'menu_class' => 'footer-nav',
'depth' => 0,
'theme_location' => 'footer_menu'
));
?>
</nav>
</footer>
</div>
<?php wp_footer(); ?>
<script>
(function(){
jQuery('.sf-menu ul').superfish({
delay: 1000,
animation: {opacity:'show',height:'show'},
speed: 'fast',
dropShadows: false
});
jQuery('#openMobileMenu').on('click', (function () {
var menuid = jQuery('nav.primary');
if (!menuid.is(':visible')) {
menuid.slideDown(300);
} else {
menuid.slideUp(300);
};
})
);
})();
</script>
</body>
</html>