1
0
mirror of https://github.com/ascribe/wp-theme synced 2025-01-05 11:25:08 +01:00
wp-theme/footer.php

36 lines
1.1 KiB
PHP
Raw Normal View History

2015-09-17 01:26:48 +02:00
<?php
/**
* The template for displaying the footer.
*
2015-09-17 01:50:43 +02:00
* @package ascribe
2015-09-17 01:26:48 +02:00
* @since 0.1.0
*/
$year = date("Y");
$address = get_field('address','option');
$email = get_field('email','option');
$consultLink= get_field('request_consultation_link','option');
2015-09-17 01:26:48 +02:00
?>
2015-09-19 00:03:57 +02:00
<footer>
<section class="top-footer">
<div class="centered-footer">
<?php wp_nav_menu( array( 'theme_location' => 'main-footer-menu', 'container' => false ) ); ?>
<div class="contact">
<a href="<?php echo $consultLink; ?>">Request a consultation</a>
<div><?php echo $address; ?></div>
<div><a href="mailto:<?php echo $email; ?>"><?php echo $email; ?></a></div>
</div>
</div>
</section>
<section class="bottom-footer">
<div class="centered-footer">
<?php echo $year; ?> © ascribe GmbH
<?php wp_nav_menu( array( 'theme_location' => 'main-footer-menu', 'container' => false ) ); ?>
<ul class="social"></ul><!-- TODO: social nav -->
</div>
</section>
2015-09-19 00:03:57 +02:00
</footer>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<?php wp_footer(); ?>
</body>
2015-09-17 01:26:48 +02:00
</html>