Forum

 
You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Limit the Number of Pages in Your WordPress Navigation Bar

Read original blog post

No Tags
UserPost

3:53 pm
November 13, 2009


Josh

Admin

posts 52

We will show you how to make specific pages show up in your navigation Structure.

Using the “include” function in WordPress you can specify the exact number of pages you want to show in your navigation.

Note -There are plugins which will order the pages for you, but I have not found any plugins which will limit the number of pages showing. Also page order plugins can slow down your page load.

Example: Show traffic is gold.
You need to edit the header.php file found here:
wp-content/themes/your-theme/header.php

Open the file with your favorite editor.
Search the file for “wp_list_pages”

The default should look like this:

Change to this

Upload the file and your site should only show the pages you’ve indicated.


Read original blog post

No Tags

About the Traffic Is Gold Forum

Most Users Ever Online: 31

Currently Online:
4 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 1
Forums: 13
Topics: 30
Posts: 30

Membership:

There are 182 Members

There is 1 Admin
There is 1 Moderator

Top Posters:

ashish.bhatnagar – 1
bhatnagar.ashish001 – 1
Maria – 1

Recent New Members: niesul14, aquariusmediaa91, ericrichard84, ashish.bhatnagar, bhatnagar.ashish001

Administrators: Josh (52 Posts)

Moderators: Lilly (1 Post)