-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathfooter.php
43 lines (40 loc) · 1011 Bytes
/
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
43
<?php
/**
* The template for displaying the footer
*
* Contains the closing of the #content div and all content after.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Nightingale
* @copyright NHS Leadership Academy, Tony Blacker
* @version 1.1 21st August 2019
*/
flush();
?>
</div>
</main>
</div>
<footer role="contentinfo">
<div class="nhsuk-footer-container" id="nhsuk-footer">
<div class="nhsuk-width-container">
<?php if ( is_active_sidebar( 'footer-region' ) ) : ?>
<div id="nhsuk-footer-widgets" class="nhsuk-footer__widgets widget-area" role="complementary">
<?php dynamic_sidebar( 'footer-region' ); ?>
</div>
<?php
endif;
?>
<h2 class="nhsuk-u-visually-hidden">Support links</h2>
<div class="nhsuk-footer">
<?php
get_template_part( 'partials/footernav' );
get_template_part( 'partials/footer-copyright' );
?>
</div>
</div>
</div>
</footer>
<?php wp_footer(); ?>
</body>
</html>