-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
35 lines (30 loc) · 1.42 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
<footer role="contentinfo" class="footer" itemscope itemtype="http://schema.org/WPFooter">
<div class="container">
<div class="footer__title">
<a rel="home" href="<?php echo esc_url(home_url('/')); ?>">
<span class="hidden"><?php bloginfo('name'); ?></span>
<img src="<?php bloginfo('template_url'); ?>/dist/img/logo-white.png" alt="">
</a>
</div>
<?php if (get_field('options_legal', options)): ?>
<div class="footer__legal">
<?php the_field('options_legal', options); ?>
</div>
<?php endif; ?>
<div class="footer__copy">
<p>© <span itemprop="copyrightYear">2016 – <?php echo date('Y'); ?></span> <span itemprop="copyrightHolder"><?php bloginfo('name'); ?></span> – <?php bloginfo('description'); ?>.</p>
</div>
</div>
</footer>
<?php get_template_part('template-parts/cookies'); ?>
<?php wp_footer(); ?>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-9111827-41', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>