-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathfooter.php
30 lines (30 loc) · 914 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
<?php
/**
* The template for displaying the footer.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package WordPress
* @subpackage Cornerstone
* @since 1.0
*/
?>
<div id="footer">
<footer class="grid-container site-footer">
<?php do_action( 'cornerstone_before_footer' );
if (is_active_sidebar('footer_sidebar')) { ?>
<div class="grid-x grid-padding-x small-up-1 medium-up-2 large-up-4">
<?php dynamic_sidebar('footer_sidebar'); ?>
</div>
<?php }
if ( has_nav_menu( 'footer-menu' ) ) {
wp_nav_menu( array( 'theme_location' => 'footer-menu', 'menu_class' => 'menu align-center', 'container' => false ) );
}
do_action( 'cornerstone_after_footer' ); ?>
</footer>
</div>
</div> <?php // close .off-canvas-content
wp_footer();
do_action( 'cornerstone_before_closing_body' ); ?>
</body>
</html>