Wordpress Pages Question

Discussion in 'WordPress' started by Ash1402, Sep 6, 2008.

  1. #1
    Is there a way that I can create a page in Wordpress without having it go to the navigation bar on my home page.
    So far every page I create goes onto the nav bar unless it is nested then it will fall under the nested category.

    I was just wondering is there a way to prevent a page from showing on the main page even though it is published. I want to be able to link to it from the sidebar and posts instead of it clogging the nav bar.
     
    Ash1402, Sep 6, 2008 IP
  2. site_seller

    site_seller Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Ok - I'm not quite sure if this is what you're asking, but I'll give it a shot....

    I have blogs with tabs at the top that show all the pages. I don't want those to show. So I have to edit the theme:

    - Go into Design, Theme Editor
    - Select the Header (header.php)
    - Scroll down to the bottom of the form and you will see a section devoted to "header"; usually a <div id="header">
    - Look for this code:
    <ul id="navi-bar">
    <li><a href="<?php echo get_settings('home'); ?>">Home</a></li>
    <?php wp_list_pages('title_li=' ); ?>
    </ul>

    You would delete the line in red.

    If you want the pages to appear on the sidebar, then activate the page widget.
     
    site_seller, Sep 6, 2008 IP
  3. bartainer

    bartainer Well-Known Member

    Messages:
    156
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #3
    Correct and you can also add to the menu.

    <div class="menu">
    <ul>
    <li class="<? echo (is_home())?'current_page_item':''; ?>"><a href="<?php echo get_option('home'); ?>/"><span>Home</span></a></li>
     
    bartainer, Sep 6, 2008 IP
  4. Ash1402

    Ash1402 Peon

    Messages:
    153
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I only want to show certain pages. Say I have 3 pages and I want number 1 and 3 to appear on nav bar but 2 can not be seen there. Do I do it the same as said above?
     
    Ash1402, Sep 6, 2008 IP
  5. fish

    fish Well-Known Member

    Messages:
    450
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    120
    #5
    You can also exclude pages like this.

    <?php wp_list_pages('title_li=&exclude=1,2,3' ); ?>
    Code (markup):
    With 1, 2, and 3 being your page ID numbers.
     
    fish, Sep 6, 2008 IP
  6. godsofchaos

    godsofchaos Peon

    Messages:
    2,595
    Likes Received:
    124
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Simply use the plugin called Page Link Manager and select the pages you want to appear on the navigation bar, its that simple!
     
    godsofchaos, Sep 6, 2008 IP
  7. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,482
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #7
    Manager Plugin is a Wordpress plugin that adds an administration panel that allows users to pick which page links are included in the site navigation. Adding it to your Wordpress installation is as easy as ever.

    You can download it from here.

    DON.
     
    deluxdon, Sep 6, 2008 IP
    Jenna Appleseed likes this.