Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS Active page on Nav in WordPress Re: CSS Active page on Nav in WordPress

#55925
apostrophe
Participant

When you create a page in the WP backend there is an option on the right hand hand side underneath where you chose page parent and page template to give your pages a number to order them, so 1 comes first 2 second etc. Using that you can order your nav menu however you want.
To have wp_list_pages show only the pages you want, use the include paramater listing only the pages you want by id.
eg.

Code:

You might want to check out the codex http://codex.wordpress.org/Template_Tags/wp_list_pages