This repository has been archived by the owner on Apr 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
footer.php
100 lines (95 loc) · 5.31 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
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
<?php $options = get_option('scapegoat_theme_options'); ?>
<div id="footer-top-outside" role="complementary">
<aside id="footer-top-inside" class="inside">
<div id="footer-social-links">
<?php if($options['rss']) : ?>
<a target="_blank" class="social-icon rss" href="<?php echo $options['rss']; ?>" title="Feed"><i class="fa fa-rss"></i></a>
<?php else : ?>
<a target="_blank" class="social-icon rss" href="<?php bloginfo('rss2_url'); ?>" title="Feed"><i class="fa fa-rss"></i></a>
<?php endif; ?>
<?php if($options['mail']) : ?><a target="_blank" class="social-icon mail" href="<?php echo $options['mail']; ?>" title="Mail"><i class="fa fa-envelope"></i></a><?php endif; ?>
<?php if($options['podcast']) : ?><a target="_blank" class="social-icon podcast" href="<?php echo $options['podcast']; ?>" title="Podcast"><i class="fa fa-microphone"></i></a><?php endif; ?>
<?php if($options['twitter']) : ?><a target="_blank" class="social-icon twitter" href="<?php echo $options['twitter']; ?>" title="Twitter"><i class="fa fa-twitter"></i></a><?php endif; ?>
<?php if($options['facebook']) : ?><a target="_blank" class="social-icon facebook" href="<?php echo $options['facebook']; ?>" title="Facebook"><i class="fa fa-facebook"></i></a><?php endif; ?>
<?php if($options['google']) : ?><a target="_blank" class="social-icon google" href="<?php echo $options['google']; ?>" title="Google +"><i class="fa fa-google-plus"></i></a><?php endif; ?>
<?php if($options['youtube']) : ?><a target="_blank" class="social-icon youtube" href="<?php echo $options['youtube']; ?>" title="Youtube"><i class="fa fa-youtube-play"></i></a><?php endif; ?>
<?php if($options['vimeo']) : ?><a target="_blank" class="social-icon vimeo" href="<?php echo $options['vimeo']; ?>" title="Vimeo"><i class="fa fa-vimeo-square"></i></a><?php endif; ?>
<?php if($options['flickr']) : ?><a target="_blank" class="social-icon flickr" href="<?php echo $options['flickr']; ?>" title="Flickr"><i class="fa fa-flickr"></i></a><?php endif; ?>
<?php if($options['github']) : ?><a target="_blank" class="social-icon github" href="<?php echo $options['github']; ?>" title="Github"><i class="fa fa-github"></i></a><?php endif; ?>
<?php if($options['tumblr']) : ?><a target="_blank" class="social-icon tumblr" href="<?php echo $options['tumblr']; ?>" title="Tumblr"><i class="fa fa-tumblr"></i></a><?php endif; ?>
<?php if($options['appdotnet']) : ?><a target="_blank" class="social-icon appdotnet" href="<?php echo $options['appdotnet']; ?>" title="App.net"><i class="fa fa-adn"></i></a><?php endif; ?>
<?php if($options['instagram']) : ?><a target="_blank" class="social-icon instagram" href="<?php echo $options['instagram']; ?>" title="Instagram"><i class="fa fa-instagram"></i></a><?php endif; ?>
</div><!-- footer-top-social -->
<div id="footer-search">
<?php get_search_form(); ?>
</div><!-- footer-top-search -->
<div class="clear"></div>
</aside><!-- footer-top-inside -->
</div><!-- footer-top-outside -->
<div id="footer-outside" role="complementary">
<div id="footer-inside" class="inside">
<footer id="footer-widgets" role="complementary">
<?php if (is_active_sidebar('Footer-Sidebar-1')) : ?>
<div class="footer-sidebar-outside">
<aside id="footer-sidebar-1" class="footer-sidebar-inside">
<?php dynamic_sidebar('Footer-Sidebar-1'); ?>
</aside>
</div>
<?php endif; ?>
<?php if (is_active_sidebar('Footer-Sidebar-2')) : ?>
<div class="footer-sidebar-outside">
<aside id="footer-sidebar-2" class="footer-sidebar-inside">
<?php dynamic_sidebar('Footer-Sidebar-2'); ?>
</aside>
</div>
<?php endif; ?>
<?php if (is_active_sidebar('Footer-Sidebar-3')) : ?>
<div class="footer-sidebar-outside">
<aside id="footer-sidebar-3" class="footer-sidebar-inside">
<?php dynamic_sidebar('Footer-Sidebar-3'); ?>
</aside>
</div>
<?php endif; ?>
<?php if (is_active_sidebar('Footer-Sidebar-4')) : ?>
<div class="footer-sidebar-outside">
<aside id="footer-sidebar-4" class="footer-sidebar-inside">
<?php dynamic_sidebar('Footer-Sidebar-4'); ?>
</aside>
</div>
<?php endif; ?>
<div class="clear"></div>
</footer><!-- footer-widgets -->
</div><!-- footer-inside -->
</div><!-- footer-outside -->
<div id="footer-nav-outside">
<div id="footer-nav-inside" class="inside">
<nav id="footer_navigation" role="navigation">
<?php wp_nav_menu(array('theme_location'=>'footer', 'fallback_cb'=>'FALSE')); ?>
<div class="clear"></div>
</nav><!-- main-nav -->
<div class="clear"></div>
</div><!-- main-nav-inside -->
</div><!-- main-nav-outside -->
</div>
</div>
<?php wp_footer(); ?>
<script type="text/javascript">
(function ($, document, window) {
$(document).ready(function () {
function openNav() {
$('#main-inside').animate({ left: '80%' }, 250);
$('#main-inside').addClass('aside');
return false;
}
function closeNav() {
$('#main-inside').animate({ left: '0' }, 250);
$('#main-inside').removeClass('aside');
return false;
}
$('#menu-open').click(openNav);
$('#menu-close').click(closeNav);
});
}(jQuery, document, window))
</script>
</body>
</html>