-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
37 lines (34 loc) · 1.04 KB
/
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
<?php
/**
* The template for displaying the footer
*
* Contains the closing of the "off-canvas-wrap" div and all content after.
*
* @package FoundationPress
* @since FoundationPress 1.0.0
*/
?>
<footer class="footer">
<div class="footer-container">
<div class="footer-grid">
<section class="footer-text">
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
CC-BY-SA
</a> 2014–<?php echo date("Y"); ?> Michael A. Castello.
<?php $footer_query = new WP_Query( 'pagename=footer' );
while ( $footer_query->have_posts() ) : $footer_query->the_post(); ?>
<?php the_content(); ?>
<?php endwhile;
wp_reset_postdata();
?>
</section>
<?php dynamic_sidebar( 'footer-widgets' ); ?>
</div>
</div>
</footer>
<?php if ( get_theme_mod( 'wpt_mobile_menu_layout' ) === 'offcanvas' ) : ?>
</div><!-- Close off-canvas content -->
<?php endif; ?>
<?php wp_footer(); ?>
</body>
</html>