I would like to add all my menu items into the footer. Unfortunately wp_list_pages converts the menu into an unordered list while I just need a list of links.
Is there any way to convert a hierarchical menu into a flat list of link.
I would like to add all my menu items into the footer. Unfortunately wp_list_pages converts the menu into an unordered list while I just need a list of links.
Is there any way to convert a hierarchical menu into a flat list of link.
You can use CSS to make the unordered list appear however you would like. For example if you were to give the unordered list from wp_list_pages an id of "footer-links" you could use this code to make it appear as a flat list:
#footer-links li{display: inline;}
I think that's what you're looking for. If not, let us know.
Actually I think you are looking to post the links kind of like this, right?:
LINK
---------
LINK
---------
LINK
without the bullets right?
All you have to do with that is style in CSS this way:
#yourfooterdivid ul li {
list-style:none;
margin:0;
}
This topic has been closed to new replies.