Tags: navigation, section, cms, pages, top level, hierarchy, Refactored Fox Requires at least: 4.3 Tested up to: 4.7.4 Stable tag: 4.3 License: GPL2
Adds a widget and shortcode to your theme for hierarchy based navigation.
Shows all page siblings (except on the top level page if disabled), all parents and grandparents (and higher), the siblings of all parents and grandparents (up to top level page), and any immediate children of the current page. Can also be called by a function inside template files.
It includes a simple widget configuration panel. From this panel you can:
- Override standard behavior and have the widget show all pages in the current section
- Determine whether the widget should show the top level page
- Provide a list of pages to exclude from the output
- Determine whether the widget should show all top level pages
- Use a specific widget title (i.e. In This Section), or just use the top level page title
- Include page thumbnails in the menu
- Determine page sort order (defaults to menu order)
The widget uses standard WordPress navigation classes, in addition to a unique class around the widget, for easy styling.
- Install easily with the WordPress plugin control panel or manually download the plugin and upload the extracted
folder to the
/wp-content/plugins/
directory - Activate the plugin through the 'Plugins' menu in WordPress
- Widget users can add it to the sidebar by going to the "Widgets" menu under "Appearance" and adding the "WPHN Page Hierarchy" widget. Open the widget to configure.
- Template authors can call the navigation by using the
the_wphn_page_heirarchy
function. The function accepts a single argument in the form of a classical WordPress set of parameters.
= 1.1 =
- Update - Re-Factored core function class and widget class
- Update - Updated Walker Class with new parameters
- Add - Shortcode, [wphn_page_menu]
- Add - Nav output now displays custom post hierarchies in addition to default pages
= 1.0 =
- Initial Release