WP-PagesNav is a plugin which can be used to display a navigation bar using the
static pages in your blog. When the plugin is activated, the function
wp_pages_nav() is available in the Themes. To change the behaviour of the plugin
you can pass the function a query string. The following parameters are
If show_all_parents is set then the navigation will get larger and larger
the further down the page hierarchy you navigate.
If show_root is set then also the top most pages are displayed.
If current is set then wp_pages_nav doesn’t choose the currently viewwed page.
It uses what is passed in current as the currently viewed page ID.
Also all of the parameters of the get_pages function are supported. Which are:
Only select pages which are a child of child_of. Default: 0
Database column by which to sort the pages. Default: post_title
Wether to sort ascending or descending. Default: ASC
Pages to exclude Default: none
- Upload to your plugins folder, usually
- Activate the plugin on the plugin screen
- Add the sample styles from wp-pagesnav/styles.css
- Add the code from wp-pagesnav/template-source.php to your Theme
- Change the settings to fit your needs.