Title: Sub pages
Last modified: August 18, 2016

---

# Sub pages

 *  [trineshaj](https://wordpress.org/support/users/trineshaj/)
 * (@trineshaj)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/sub-pages/)
 * Ok, so I have altered the Blix theme and set up a basic layout for myself. I 
   have posts and categories. Now I want to make sub pages under my parent pages
   that show at the top of the page. Everytime I try to make a sub page, it shows
   up at the top of the page too. I don’t want it to do that. Example – I have a
   page called “You”, under “You” i would like a sub page called “Pixels” but i 
   don’t want it to show up until you click on “You”, then it can give the list 
   of everything under “You”. But i have not been successful in making this page.
   I tried making a permalink but i dont think i was doing it right, i tried having
   my hosts figure it out, but they aren’t moving fast enough, so i thought i would
   come to the place where i can get some real help. What am i doing wrong?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [twat](https://wordpress.org/support/users/twat/)
 * (@twat)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/sub-pages/#post-311425)
 * Hi,
 * I’m not sure I understood correctly what you are trying to do, but let me give
   this a go:
 * Is it such that when you make a subpage under the page ‘you’, the link to the
   subpage shows up on the top menu, whereas you would only like the ‘you’ link 
   in the top menu?
 * If so, there is a specifier called ‘depth’ in the line where you call the pages:
 * <?php wp_list_pages(‘depth=1&sort_column=menu_order&title_li=’); ?>
 * Where depth=1 will call only the top pages, and depth=2 will call the subpages
   attached to the top pages.
 * Am I on target?
 * Best,
    Kat, the Twat
 *  Thread Starter [trineshaj](https://wordpress.org/support/users/trineshaj/)
 * (@trineshaj)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/sub-pages/#post-311427)
 * yes, thats exactly what i am talking about, so how do i change it so they only
   show up when you click on the “depth=1” pages?
 * Example, look at my site [http://prettynpurple.net](http://prettynpurple.net)
   I have the depth=1 as “About” under “About” i have links to about the girl, pictures,
   etc.
 * I took this code from someone else’s site and edited it to say what i wanted,
   but there are no actual pages there.
    That is the second part of my problem, 
   how do i create the pages that are listed there?
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/sub-pages/#post-311433)
 * Nothing will work with blix.
    Options: switch to a “normal” theme or study and
   modify the blix functions (it doesn’t use the usual WP functions, it has its 
   own).
 *  Thread Starter [trineshaj](https://wordpress.org/support/users/trineshaj/)
 * (@trineshaj)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/sub-pages/#post-311434)
 * I found a way to get around it.
 * Example, look at my site [http://prettynpurple.net](http://prettynpurple.net)
   I have the depth=1 as “About” under “About” i have links to about the girl, pictures,
   etc.
 * I took this code from someone else’s site and edited it to say what i wanted,
   but there are no actual pages there.
 * That is the second part of my problem, how do i create the pages that are listed
   there?
 *  [twat](https://wordpress.org/support/users/twat/)
 * (@twat)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/sub-pages/#post-311444)
 * Normally, you go to the admin panel and click on ‘pages’ under ‘write’. Then 
   for each page you can specify if it belongs to an already existing page or not.
 * The menu should then go get the pages that exist – i.e. they show up automatically
   in the menu, unless they are specifically excluded in the ‘get’ function.
 * I don’t know anything about blix, though – so if this is different I’d go with
   Moshu’s suggestion and find a wp template that is close to what you want and 
   then edit it.
 *  [theqrm](https://wordpress.org/support/users/theqrm/)
 * (@theqrm)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/sub-pages/#post-311537)
 * Where is the ‘get’ function where I can exclude certain pages from being added
   to the main navigation menu? I assumed if I created a new page and made a page
   that “wasn’t” the index page its parent, it would not appear but that doesn’t
   seem to be the case. Help! 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Sub pages’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 4 participants
 * Last reply from: [theqrm](https://wordpress.org/support/users/theqrm/)
 * Last activity: [20 years, 3 months ago](https://wordpress.org/support/topic/sub-pages/#post-311537)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
