-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfooter.php
More file actions
executable file
·57 lines (56 loc) · 2.61 KB
/
footer.php
File metadata and controls
executable file
·57 lines (56 loc) · 2.61 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<footer class="footer" role="contentinfo">
<div id="inner-footer" class="row">
<div class="large-4 medium-4 columns">
<div itemscope itemtype="http://schema.org/LocalBusiness">
<?php
$address = get_option( 'nest_street' );
$city = get_option( 'nest_city' );
$state = get_option( 'nest_state' );
$zip = get_option( 'nest_zip' );
$phone = get_option( 'nest_phone' );
$fax = get_option( 'nest_fax' );
$email = get_option( 'nest_email' );
?>
<span class="copyright"><?php nest_copyright( '2016', $echo = true ); ?> </span><span itemprop="name"><?php echo esc_html( get_bloginfo('name') ); ?></span><br />
<?php if( $address ){
echo '<span itemprop="streetAddress">' . esc_html( $address ) . '</span><br />';
} ?>
<?php if( $city ){
echo '<span itemprop="addressLocality">' . esc_html( $city ) . '</span>, ';
} ?>
<?php if( $state ){
echo '<span itemprop="addressRegion">' . esc_html( $state ) . '</span>';
} ?>
<?php if( $zip ){
echo '<span itemprop="postalcode">' . esc_html( $zip ) . '</span><br />';
} ?>
<?php if( $address ){
echo '<a href="https://maps.google.com?q=' . esc_html( $address ) . '+' . esc_html( $city ) . '+' . esc_html( $state ) . '+' . esc_html( $zip ) . '" target="_blank">Google Map</a>';
} ?>
<?php if( $phone ){
echo '<br /><span itemprop="telephone">' . esc_html( $phone ) . '</span>';
} ?>
<?php if( $email ){
echo '<br /><a itemprop="email"' . 'href="mailto:' . esc_html( antispambot( $email ) ) .'">' . esc_html( antispambot( $email ) ) . '</a>';
} ?>
</div><!--schema-->
</div>
<div class="large-6 medium-4 columns">
<nav role="navigation">
<?php joints_footer_links(); ?>
</nav>
</div>
<div class="large-2 medium-4 columns">
<?php
/* 2nd argument can be flat, rounded, circle */
?>
<?php nest_get_social( true, 'flat' ); ?>
</div>
</div> <!-- end #inner-footer -->
</footer> <!-- end .footer -->
</div> <!-- end .main-content -->
</div> <!-- end .off-canvas-wrapper-inner -->
</div> <!-- end .off-canvas-wrapper -->
<?php wp_footer(); ?>
</body>
</html> <!-- end page -->