-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
39 lines (37 loc) · 1.24 KB
/
footer.php
File metadata and controls
39 lines (37 loc) · 1.24 KB
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
<footer class="footer u-text-center u-mobile-only">
© <?php echo date( 'Y' ); ?> <a href="/" class="footer__link">Vitamin A.</a> <?php _e( 'All rights reserved', TEXT_DOMAIN ); ?>
</footer>
<!-- TODO: add forms markup here ... -->
<?php wp_footer(); ?>
<script>
// Google Analytics
// TODO: Google Analytics: change UA-XXXXX-X to be your site's ID.
(function (b, o, i, l, e, r) {
b.GoogleAnalyticsObject = l;
b[l] || (b[l] =
function () {
(b[l].q = b[l].q || []).push(arguments)
});
b[l].l = +new Date;
e = o.createElement(i);
r = o.getElementsByTagName(i)[0];
e.src = 'https://www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e, r)
}(window, document, 'script', 'ga'));
ga('create', 'UA-XXXXX-X');
ga('send', 'pageview');
// Web Font Loader
WebFontConfig = {
google: { families: [ 'Roboto:300,400,400i,500,700,700i:latin', 'Roboto+Slab:300:latin' ] }
};
(function () {
var wf = document.createElement('script');
wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
wf.type = 'text/javascript';
wf.async = 'true';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(wf, s);
})();
</script>
</body>
</html>