Back Home

Open Designs

Community. Driven.

    •  
      CommentAuthorJeremyD
    • CommentTimeJan 21st 2007
     
    Is there a way to make a page in wordpress that DOESN'T appear on the navigation?
    here's what im doing--
    I offer my designs on my site and I want to provide both a XHTML/CSS version and an HTML version of my templates (for people that don't know css). But I don't want both versions on the same page because that would cause confusion. So I want to create a separate page for them but I don't want it on the main navigation.
    •  
      CommentAuthorDENiAL
    • CommentTimeJan 21st 2007
     
    Well, have you tried using child pages? That would seem the best way to do it to me...
    •  
      CommentAuthorColin
    • CommentTimeJan 21st 2007
     
    Yeah. I see you're using Close to Attraction. I don't think sub-pages show up, you could try that.

    If they do, you need to edit the PHP in the menu. Look for this in header.php:


    <?php wp_list_pages('title_li='); ?>


    and replace it with this:


    <ul>
    <?php wp_list_pages('exclude=28,29&title_li=' ); ?>
    </ul>


    replacing 28 and 29 with as many comma delimited page ids as you want.

    Hope this makes sense!

    rasta
    • CommentAuthorainslie
    • CommentTimeJan 21st 2007 edited by ainslie on the 21st January 2007 at 16:47:31 EST
     
    You can exclude pages from wp_list_pages by page ID see here for more info:

    http://codex.wordpress.org/Template_Tags/wp_list_pages

    [edit] Colin beat me to it bigsmile
    •  
      CommentAuthorJeremyD
    • CommentTimeJan 21st 2007
     
    aaahh thanks colin. worked perfectly bakie