footer.php
1.65 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
58
59
60
61
62
63
64
65
66
67
68
69
70
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package understrap
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
$container = get_theme_mod( 'understrap_container_type' );
?>
<?php get_template_part( 'sidebar-templates/sidebar', 'footerfull' ); ?>
<div class="wrapper" id="wrapper-footer">
<footer class="site-footer" id="colophon">
<div class="company-name">
<?= get_option("business_name") ?>
<?php wp_nav_menu(
array(
'theme_location' => '',
'container_class' => '',
'container_id' => '',
'menu_class' => 'social-menu',
'fallback_cb' => '',
'menu' => 'Social Menu',
'depth' => 1
)
); ?>
</div>
<div class="first-address">
<pre style='margin-bottom:0.5rem'>Toronto Office: </pre>
<pre><?= get_option("first_address") ?></pre>
<a class='phone-contact-click' data-label="footer" id='footer-first-phone' href='tel:<?= str_replace(' ','',get_option("first_phone")) ?>'>T: <?= get_option("first_phone") ?></a>
</div>
<div class="second-address">
<pre style='margin-bottom:0.5rem'>London Office: </pre>
<pre><?= get_option("second_address") ?></pre>
<a class='phone-contact-click' data-label="footer" href='tel:<?= str_replace(' ','',get_option("second_phone")) ?>'>T: <?= get_option("second_phone") ?></a>
</div>
</footer><!-- #colophon -->
</div><!-- wrapper end -->
</div><!-- #page we need this extra closing tag here -->
<?php wp_footer(); ?>
<input type='hidden' id='skills' value='<?= get_option("skills") ?>' />
</body>
</html>