forked from vanbexlabs/hackathon-wordpress-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
40 lines (38 loc) · 1.26 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
</main>
<?php if (!is_404() && !is_page_template('template-report.php')): ?>
<footer class="cf site-footer">
<div class="container">
<div class="left third">
<p>©<?php the_date('Y'); ?> <?php bloginfo('name'); ?></p>
</div>
<div class="middle third">
<?php include('share.php'); ?>
</div>
<?php $contactemail = mytheme_option('contact-email'); ?>
<div class="right third">
<?php if ($contactemail): ?>
<p><a href="mailto:<?php echo $contactemail; ?>"><img src="<?php bloginfo('template_url'); ?>/images/email.png"> <?php echo $contactemail; ?></a></p>
<?php endif; ?>
</div>
<?php
wp_nav_menu( array(
'theme_location' => 'footer-menu',
'container' => 'nav',
'container_class' => 'footer-menu',
'items_wrap' => '%3$s',
'menu_id' => '',
'fallback_cb' => ''
));
?>
</div>
</footer>
<?php endif; ?>
<script>
var _gaq=[['_setAccount','UA-34745862-1'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
<?php wp_footer(); ?>
</body>
</html>