-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathfooter.php
45 lines (40 loc) · 1.02 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
38
39
40
41
42
43
44
45
<?php
/**
* The template for displaying the footer
*
* Contains the closing of the .main_wrap div and all content after.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package WordPress
* @subpackage starter
* @since starter 1.0
*/
?>
<footer class="main_footer">
<div class="container">
<?php if ( has_nav_menu( 'footer_nav' ) ) : ?>
<nav aria-label="<?php esc_attr_e( 'Footer Nav', 'starter' ); ?>">
<?php
wp_nav_menu(
array(
'theme_location' => 'footer_nav',
'menu_class' => 'menu list footer_nav',
)
);
?>
</nav>
<?php endif; ?>
</div>
</footer>
</div>
<!-- alert -->
<div class="js_custom_alert" style="display:none">
<div class="alert alert-danger alert-dismissible fade show" role="alert">
<span class="js_custom_alert_txt"></span>
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="<?php esc_attr_e( 'Close', 'starter' ); ?>"></button>
</div>
</div>
<?php wp_footer(); ?>
</body>
</html>