Title: WordPress Navigation Bar
Last modified: August 18, 2016

---

# WordPress Navigation Bar

 *  Resolved [bootybandit](https://wordpress.org/support/users/bootybandit/)
 * (@bootybandit)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/wordpress-navigation-bar/)
 * Hey Guys!
 * How can i exclude certain pages from being added to the navigation bar so it 
   doesn’t spread way across my header image? The plugin i used is from this link
   it has example of what i am looking at. [http://www.liewcf.com/blog/archives/2005/05/wordpress-navigation-bar/](http://www.liewcf.com/blog/archives/2005/05/wordpress-navigation-bar/)
   
   Thank You

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

 *  [Lorelle](https://wordpress.org/support/users/lorelle/)
 * (@lorelle)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/wordpress-navigation-bar/#post-247835)
 * You can control the way [Pages](http://codex.wordpress.org/Pages) are used in
   your header ( see [Designing Headers](http://codex.wordpress.org/Designing_Headers))
   and do excludes with the use of the template tag that lists page:
 * [http://codex.wordpress.org/Template_Tags/wp_list_pages](http://codex.wordpress.org/Template_Tags/wp_list_pages)
 * There are specific examples of how to do this in each of these articles.
 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/wordpress-navigation-bar/#post-247836)
 * See this line in your modified header?
 * `<?php wp_list_pages('title_li='); ?>`
 * Change it to this:
 * `<?php wp_list_pages('exclude=4,6,10,52&title_li='); ?>`
 * as documented here: [http://codex.wordpress.org/Template_Tags/wp_list_pages](http://codex.wordpress.org/Template_Tags/wp_list_pages)
 * The exclude values are the IDs of the pages you want to exclude.
 * You could also do this the other way around and manually make those tabs (say
   if you made pages a lot and always only wanted specific pages listed up there).
   Just view the page’s source at your website and copy/paste the HTML of the `wp_list_pages`
   output part. Then edit the titles and links to the pages you want.
 *  Thread Starter [bootybandit](https://wordpress.org/support/users/bootybandit/)
 * (@bootybandit)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/wordpress-navigation-bar/#post-247844)
 * Hey
 * I tried this <?php wp_list_pages(‘exclude=pagestwo&title_li=’); ?> and it didn’t
   work. Basically i have my main page i want to add pagetwo from the main so you
   have previous next page at the bottom of the main page? And so it doesn’t show
   up on the navigation bar for some reason it pulls it. Unless i am way off and
   don’t even have to do that?
 * Thanks
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/wordpress-navigation-bar/#post-247847)
 * You are off…
    The above quoted template tag code is for [Pages](http://codex.wordpress.org/Pages)–
   as opposed to posts. That has nothing to do with the “paged” display of the posts
   when you define a certain number of posts to be shown on your index.

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

The topic ‘WordPress Navigation Bar’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [moshu](https://wordpress.org/support/users/moshu/)
 * Last activity: [20 years, 7 months ago](https://wordpress.org/support/topic/wordpress-navigation-bar/#post-247847)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
