In wordpress, if instead of writing a post, I write a page (write=>write page), that page shows up in my navigational bar. Things that are in my navigational bar include home, contact me, about me, suggest tutorial, advertise. The order of the items is the order in which I write them. Is there a way through wordpress to sort them after I have written them all so that Home is first item, contact me is the last, etc? Thank you
It's actually not a widget. It's part of the navigational bar in the header.php that I want to sort. The code for it is as follows: <div id="nav"> <ul class="nav"> <li class="first"><a href="<?php bloginfo('url'); ?>">Home</a></li> <?php wp_list_pages('title_li='); ?> </ul> </div>
Put the code into your header.php manually. <div id="nav"> <ul class="nav"> <li><a href="<?php bloginfo('url'); ?>">Home</a></li> <li><a href="http://yourdomain/about-me">About Me</a></li> <li><a href="http://yourdomain/suggest-tutorial">Suggest Tutorial</a></li> </ul> </div> Code (markup):