Individual Wordpress Page Link in the Navigation

Discussion in 'HTML & Website Design' started by onedee, Feb 3, 2009.

  1. #1
    1 I have individual Wordpress pages each setup different from the other and I want to have a link to those pages in the main navigation. How can I place the link to those individual pages on the navigation?
     
    onedee, Feb 3, 2009 IP
  2. robinko

    robinko Peon

    Messages:
    79
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you want to have navigation menu for link to the other. Try this!

    Edit the file name "header.php" (backup before start) it in your theme folder, then find Div menu sometime like this

    <div id="menu">
    <ul>
    <li><a href="<?php echo get_option('home'); ?>/">Home</a></li>
    <?php wp_list_pages('title_li=&depth=1' ); ?>
    </ul>
    </div>


    Include your link
    <li><a href="http://yourlinktarget.com">Name of your link</a></li>
    it become

    <div id="menu">
    <ul>
    <li><a href="<?php echo get_option('home'); ?>/">Home</a></li>
    <?php wp_list_pages('title_li=&depth=1' ); ?>
    <li><a href="http://yourlinktarget.com">Name of link</a></li>
    </ul>
    </div>
     
    robinko, Feb 3, 2009 IP
  3. onedee

    onedee Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks will give it a try
     
    onedee, Feb 4, 2009 IP