header menu coding question.
-
Okay. So What I want the header menu to is to display all my pages i have made (and ones i add in the future). I.E. Home Page1 Page2
Not just “Home About”I’ve figured out how to get the code to show all the pages so far… but then home shows up at the top and pushes all the rest down to the bottom. Making my menu wider then i wanted it.
<div id="menu"> <!-- <p id="sitemap"><a href="?sitemap">Sitemap</a> --> <ul class="pagelinks2"> <a href="<?php bloginfo('url'); ?>" title="Home">Home.</a> <?php wp_list_pages('title_li=&depth=1'); ?> </ul> </div>
Keep in mind i dont understand this kind of coding that well… just slapped some things together and got this far now i’m stumped haha.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘header menu coding question.’ is closed to new replies.