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:
- — Our History
- — Our Staff
- — — Employment Opportunities
- — 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:
- 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.
- 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.
- Download and unzip the latest release zip file
- Upload the entire subpages-in-context directory to your
- Activate the plugin through the ‘Plugins’ menu in WordPress
Det er ingen omtaler av denne utvidelsen.
Bidragsytere og utviklere
“Subpages in Context” er programvare med åpen kildekode. Følgende personer har bidratt til denne utvidelsen.Bidragsytere
- Fixed bug in widget form settings
- Added option to omit top-most page from output list
- Initial version.