forked from roots/sage
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfooter.php
39 lines (38 loc) · 2.29 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
<?php if (get_option('roots_css_framework') === '1140') { ?>
</div><!-- /.row -->
<div class="row">
<?php } ?>
<footer id="content-info" class="<?php echo roots_container_class; ?>" role="contentinfo">
<div class="container">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("Footer") ) : ?>
<?php endif; ?>
<p class="copy"><small>© <?php echo date('Y'); ?> <?php bloginfo('name'); ?></small></p>
<p>Theme based on the <a href="http://www.rootstheme.com/" target="_blank">Roots Wordpress Theme</a>.</p>
<?php if (get_option('roots_footer_social_share') == 'checked') { ?>
<p class="social">
<a href="http://twitter.com/share" class="twitter-share-button" data-url="<?php echo home_url('/'); ?>" data-count="horizontal"><?php _e('Tweet', 'roots');?></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo home_url('/'); ?>&layout=button_count&show_faces=false&width=110&action=like&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:110px; height:21px;" allowTransparency="true"></iframe>
</p>
<?php } ?>
<?php if (get_option('roots_footer_vcard') == 'checked') { ?>
<p class="vcard">
<a class="fn org url" href="<?php echo home_url('/'); ?>"><?php bloginfo('name'); ?></a><br>
<span class="adr">
<span class="street-address"><?php echo get_option('roots_vcard_street-address'); ?></span><br>
<span class="locality"><?php echo get_option('roots_vcard_locality'); ?></span>,
<span class="region"><?php echo get_option('roots_vcard_region'); ?></span>
<span class="postal-code"><?php echo get_option('roots_vcard_postal-code'); ?></span><br>
</span>
<span class="tel"><span class="value"><span class="hidden">+1-</span><?php echo get_option('roots_vcard_tel'); ?></span></span><br>
<a class="email" href="mailto:<?php echo get_option('roots_vcard_email'); ?>"><?php echo get_option('roots_vcard_email'); ?></a>
</p>
<?php } ?>
</div>
</footer>
<?php if (get_option('roots_css_framework') === '1140') { ?>
</div><!-- /.row -->
<?php } ?>
</div><!-- /#wrap -->
<?php wp_footer(); ?>
</body>
</html>