footer.php 1.65 KB
<?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>