-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
42 lines (37 loc) · 988 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
<?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 M_Media_Custom_Theme
*/
?>
<footer class="site-footer bg-primary text-white col-sm container-fluid p-5" style="fill:#fff;">
<?php if (has_nav_menu('social')) {
wp_nav_menu(array(
'theme_location' => 'social',
'container' => 'div',
'container_id' => 'menu-social',
'container_class' => 'menu',
'menu_id' => 'menu-social-items',
'menu_class' => 'd-flex list-unstyled',
'depth' => 1,
'fallback_cb' => '',
'walker' => new Social_Walker_Nav_Menu(),
)
);
}?>
<div class="site-info ">
<?php
bloginfo('name');?>
<!-- <span class="sep"> | </span>
-->
</div><!-- .site-info -->
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer();?>
</body>
</html>