Wordpress - Writing Pages

Discussion in 'WordPress' started by bluemanteam, Jan 6, 2008.

  1. #1
    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
     
    bluemanteam, Jan 6, 2008 IP
  2. Armaan143

    Armaan143 Well-Known Member

    Messages:
    1,273
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    160
    #2
    In Presentation => widgets
    check pages and edit from there.
     
    Armaan143, Jan 6, 2008 IP
  3. bluemanteam

    bluemanteam Peon

    Messages:
    169
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    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>
     
    bluemanteam, Jan 6, 2008 IP
  4. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #4
    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):
     
    mizaks, Jan 6, 2008 IP
  5. Blonde Jon

    Blonde Jon Active Member Affiliate Manager

    Messages:
    745
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    58
    #5
    Blonde Jon, Jan 6, 2008 IP