This repository was archived by the owner on Mar 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
54 lines (47 loc) · 2.21 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
<?php if(!is_page_template('page-newsletter.php')) : ?>
<div class="u-container u-section">
<h2>Notes to your inbox</h2>
<p>Be notified when I post something new. Occasional, short emails. Nothing fancy, just links to new articles and content.</p>
<form action="https://tinyletter.com/daveredfern" method="post" target="popupwindow" onsubmit="window.open('https://tinyletter.com/daveredfern', 'popupwindow', 'scrollbars=yes,width=800,height=600');return true">
<label for="tlemail">Enter your email address</label>
<input type="hidden" value="1" name="embed"/>
<div class="flag">
<input type="text" name="email" id="tlemail" />
<button class="btn"type="submit" value="Subscribe">Subscribe</button>
</div>
</form>
<p class="micro">I respect your inbox. No spam. Unsubscribe with just a click.</p>
</div>
<?php endif; ?>
<div class="u-container u-container--lg u-section">
<hr />
</div>
<div class="grid g-four-up g-limit g-gutter-x u-section">
<div>
<p><strong>What I'm doing</strong><br />
My <a href="<?php echo get_permalink(285); ?>">now page</a> shows what I'm focusing my efforts on.</p>
</div>
<div>
<p><strong>Send me an email</strong><br />
<a href="mailto:[email protected]" rel="me">[email protected]</a></p>
</div>
<div>
<p><strong>Follow me online</strong><br />
<a href="https://www.twitter.com/daveredfern" rel="me">Twitter</a><br />
<a href="https://uk.linkedin.com/in/daveredfern" rel="me">LinkedIn</a><br />
<a href="https://github.com/daveredfern" rel="me">Github</a></p>
</div>
<div>
<p><strong>Photography</strong><br />
<a href="/photography/">Gallery</a><br />
<a href="https://www.instagram.com/daveredfern/" rel="me">Instagram</a></p>
</div>
</div>
<?php wp_footer(); ?>
<script async src='<?php echo get_template_directory_uri(); ?>/build/js/analytics.js'></script>
<script> window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; ga('create', 'UA-727955-12', 'auto'); ga('send', 'pageview'); </script>
<?php if(is_post_type_archive('photography')) : ?>
<script async src='<?php echo get_template_directory_uri(); ?>/build/js/lazyload.js'></script>
<?php endif; ?>
</body>
</html>