Skip to content

Commit 86e1ef7

Browse files
committed
fixes creativecommons#349 - add wordpress menu to footer
1 parent 02d1cc7 commit 86e1ef7

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

themes/cc-commoners-2019/footer.php

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,16 @@
1313
</div>
1414
<p>Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 4.0 International license. Icons by The Noun Project.</p>
1515
<nav class="footer-navigation">
16-
<ul class="menu simple">
17-
<li><a href="#">Contact</a></li>
18-
<li><a href="#">Privacy Policy</a></li>
19-
<li><a href="#">Terms of use</a></li>
20-
<li><a href="#">Charter</a></li>
21-
</ul>
16+
<?php
17+
$args = array(
18+
'theme_location' => 'footer',
19+
'container' => '',
20+
'depth' => 2,
21+
'items_wrap' => '<ul id = "%1$s" class = "menu simple %2$s">%3$s</ul>'
22+
);
23+
24+
wp_nav_menu($args);
25+
?>
2226
</nav>
2327
</div>
2428
</div>

0 commit comments

Comments
 (0)