Title: Hide Pages From Menu ?
Last modified: August 18, 2016

---

# Hide Pages From Menu ?

 *  [zoddy](https://wordpress.org/support/users/zoddy/)
 * (@zoddy)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/hide-pages-from-menu/)
 * On my site ([http://zoddy.weblogs.us](http://zoddy.weblogs.us)) which i recently
   started i have made some pages as they will be relatively static content.
    It
   will be some tech supporty type stuff that i will use or pass on to friends when
   required. At present i’ve only added one quick page as a test.
 * My problem is that on my first page (index) in my menu it lists the following:
 * HEADING (Pages)
    – Page 1 Topic – Page 2 Topic — Page 2 Child SubTopic — Page
   2 Child Child Subtopic
 * Maybe that doesn’t make sense, but if you look at my blog on the page link titled‘
   remove rogue files’ you’ll see what i mean.
 * Is it possible to hide those child topics/pages unless their parent is opened?
   
   So in my case all you would see would be:
 * Java
    Server Administration
 * If Server Admin is clicked open that page would open up the submenu etc..?
    Otherwise
   if i add say 15 pages the page section alone will fill up the screen…
 * Thank you in advace…
    Nathan

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

 *  [syrupcore](https://wordpress.org/support/users/syrupcore/)
 * (@syrupcore)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/hide-pages-from-menu/#post-252276)
 * I know of no automatic way to do this. I’ve been wrestling with it for a while.
   You can declare specific pages to exclude if you’re using wp_list_pages to display
   your menu. more info here:
    [http://codex.wordpress.org/Template_Tags/wp_list_pages#Exclude_Pages_from_List](http://codex.wordpress.org/Template_Tags/wp_list_pages#Exclude_Pages_from_List)
 * when I finish with my little hacks for this, I’ll post them here. That’s if I
   ever finish…
 * I’m hoping newer versions of WP will include more tags for manipulating and dealing
   with Parents, Children and Siblings. I think it’s coming…
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/hide-pages-from-menu/#post-252281)
 * I think this topic might be of interest for you:
    [http://wordpress.org/support/topic/26505](http://wordpress.org/support/topic/26505)(
   it doesn’t solve all your questions, but has some good ideas and code)
 *  Thread Starter [zoddy](https://wordpress.org/support/users/zoddy/)
 * (@zoddy)
 * [20 years, 8 months ago](https://wordpress.org/support/topic/hide-pages-from-menu/#post-252314)
 * Thanks for both replies guys.
    Syrupcore, would appreciated it if you could post
   more info if you get them finished.
 * Thanks again!

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

The topic ‘Hide Pages From Menu ?’ is closed to new replies.

## Tags

 * [hide](https://wordpress.org/support/topic-tag/hide/)

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
