forked from bigemployee/BigBlankTheme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
42 lines (42 loc) · 1.64 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
<?php
/**
* The template for displaying the footer
*
* Contains footer content and the closing of the #main and #page div elements.
*
*/
?>
<?php
$options = bigblank_get_theme_options();
$phone = $options['phone'];
$address = $options['address'];
$footer_copyright = $options['footer_copyright'];
$footer_text = $options['footer_text'];
?>
<footer id="footer" class="site-footer" role="contentinfo">
<?php get_sidebar('footer'); ?>
<?php bigblank_footer_menu(); ?>
<?php
// Social media links (social-links.php)
get_template_part('social', 'links');
?>
<div id="site-info">
<?php if ($phone) : ?>
<a href="/contact/" id="footer-tel" class="tel"><i class="fa fa-phone"></i><?php echo $phone; ?></a>
<?php endif; ?>
<?php if ($address) : ?>
<a href="http://maps.google.com/maps?daddr=<?php echo urlencode($address); ?>&saddr=" id="footer-address" class="address"><i class="fa fa-map-marker"></i><?php echo $address; ?></a>
<?php endif; ?>
<?php if ($footer_copyright) : ?>
<span id="copyright"><?php echo $footer_copyright; ?></span>
<?php endif; ?>
<?php if ($footer_text) : ?>
<span id="footer-text"><?php echo $footer_text; ?></span>
<?php endif; ?>
<div id="bigemployee"><?php _e('theme by', 'bigblank'); ?> <a href="<?php echo esc_url(__('http://bigemployee.com/', 'bigblank')); ?>"><?php printf(__('%s', 'bigblank'), 'Big Employee'); ?></a></div>
</div><!-- #site-info -->
</footer><!-- #footer -->
<?php wp_footer(); ?>
<!-- @attribution: Based on Big Blank Theme for WordPress by BigEmployee.com -->
</body>
</html>