-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfooter.php
40 lines (39 loc) · 1.16 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
<?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 RedRock
*/
?>
<footer id="colophon" class="site-footer" role="contentinfo">
<?php
if (has_nav_menu('colophon')) {
?>
<nav class="colophon-navigation" role="navigation">
<?php
wp_nav_menu(array(
'theme_location' => 'colophon',
'depth' => 1,
'container_class' => 'colophon-menu-wrap',
'menu_class' => 'colophon-menu',
'link_before' => '<span>',
'link_after' => '</span>'
));
?>
</nav>
<?php
}
?>
</footer>
</div>
</div>
</div>
<?php
wp_footer();
?>
</body>
</html>