-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
68 lines (48 loc) · 1.93 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
</div>
</div>
<div id="footer">
<div id="footer_widgets">
<div class="widget">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar_footer_one') ): ?>
<?php endif; ?>
</div>
<div class="widget">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar_footer_two') ): ?>
<?php endif; ?>
</div>
<div class="widget">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar_footer_three') ): ?>
<?php endif; ?>
</div>
</div>
<div class="clear"></div>
<div class="footer_text">
<?php $copy = get_option('acer_footer_text'); ?>
<?php if( empty( $copy ) ) { ?>
Copyright © <?php echo get_bloginfo('name') ?> - Powered by <a href='http://wordpress.org' target='_blank'>WordPress</a> and <a href='http://andornagy.com' target='_blank'>Theme Acer</a> by <a href='http://andornagy.com' target='_blank'>Andor Nagy</a>
<?php } else {
echo get_option('acer_footer_text');
} ?> <a title="Return to Top" style="float:right" href="#" onclick="$('html, body').animate({ scrollTop: 0 }, 'slow'); return false">Return to top</a>
</div>
<div class="clear"></div>
</div>
<?php wp_footer(); ?>
<section id="sticky_menu_warp">
<div class="warp">
<?php acer_menu('secondary'); ?>
</div>
<div class="clear"></div>
</section>
<?php echo get_option('acer_footer_code') ?>
</body>
<script type="text/javascript">
(function(d){
var f = d.getElementsByTagName('SCRIPT')[0], p = d.createElement('SCRIPT');
p.type = 'text/javascript';
p.setAttribute('data-pin-hover', true);
p.async = true;
p.src = '//assets.pinterest.com/js/pinit.js';
f.parentNode.insertBefore(p, f);
}(document));
</script>
</html>