Lists pages and subpages for a given page, or the top ancestor of the current page and all of the ancestor's descendants
Author: | Brenda Egeland (profile at wordpress.org) |
WordPress version required: | 3.0 |
WordPress version tested: | 3.4.2 |
Plugin version: | 0.2 |
Added to WordPress repository: | 05-07-2012 |
Last updated: | 12-07-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 100 |
Rated by: | 4 |
Plugin URI: | http://www.redletterdesign.net/wp/subpages-in... |
Total downloads: | 4 300 |
Active installs: | 300+ |
Click to start download |
A common web design pattern is to have a primary navigation with the top level pages, and then a separate
navigation element on each page that shows only those pages related to a common top-most page. This widget helps
to build those secondary navigation elements.
If your page structure was like this:
- Home
- About
- — Our History
- — Our Staff
- — — Employment Opportunities
- Services
- — Widget Development
- — Gadget Deployment
- Contact Us
and you added the widget with its default settings to a sidebar, it would create a list like this:
- About
- Our History
- Our Staff
- — Employment Opportunities
on any of the pages in the About subtree. Notice that the top-most ancestor, About, is included as the first element of the list.
Options
- Title. The widget title. If left blank, it defaults to the title of the top ancestor page.
- Show Title. Maybe you don’t want a title. Just turn it off here.
- Top Page. You can select one of your pages to be the top page, or you can choose Default, which determines the top-most ancestor of the page being displayed.
- Menu Class. Gets applied to the outermost <ul> element.
- Before Links. HTML to be inserted before links in the list.
- After Links. HTML to be inserted after links in the list.