horizontal Text Menu List in Footer Section


Author Message
Adeptris

Posted: 4/18/2010
Quote message 

This works in WordPress!

I was looking for a way to have the top level menu in the footer, rather than the default text, so the page list is dynamic and still with the copyright on the next line.

What I did!
in the style.css I added this block at the end.


/* Start Footer page List */
.art-footer .art-footer-text li
{
display:inline;
padding: 5px;
}
/* End Footer Page List */


Then I opened footer.php and added this code in the "art-footer-text" div

<div class="art-footer-text">
<!-- Add Page List to the Footer-->
<?php wp_list_pages('title_li=&depth=1'); ?>



Simple as that then I went to Admin > Appearance > Footer and deleted the text

<a href='#'>Contact Us</a> | <a href='#'>Terms of Use</a> | <a href='#'>Trademarks</a> | <a href='#'>Privacy Statement</a><br />


then I had the pages in a line with the copyright notice under it, ideal if you do not use the standard text.

Enjoy :-D

David
 
Jules

Posted: 4/18/2010
Quote message 

Very 8-) David!

This works great. My footer displays with my top nav, level 1 menu items in it just like I like.

Thank you!

Jules