Adds a widget for section (or top level page) based page navigation. Essential for CMS! Includes simple function for template developers.
|Author:||Jake Goldman (10up) (profile at wordpress.org)|
|WordPress version required:||2.8|
|WordPress version tested:||3.1.4|
|Added to WordPress repository:||01-04-2009|
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.
|Total downloads:||29 269|
|Active installs:||6 000+|
Click to start download
Adds a widget to your sidebar for section based navigation. Essential for CMS implementations!
The title of the widget is the top level page within the current section. Shows all page siblings (except on the top level page), 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:
- Determine whether the widget should appear on the home page
- Override standard behavior and have the widget show all pages in the current section
- Determine whether the widget should appear even if the section only has one page (the top level)
- Provide a list of pages to exclude from the output
- Determine whether the section navigation should still appear when viewing excluded pages
- Use a specific widget title (i.e. In This Section), or just use the top level page title
- Determine whether the section title should be linked
- 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.
ATTENTION UPGRADERS: version 2.0 represents a fundamental change to the plug-in's architecture. Version 2 will attempt to seamlessly upgrade the old the widget, but you should document your current settings before pgrading. If you are calling it by a function in the template (not using the widget), you will be required to update your template, unless you were using the default settings. The function now has 1 parameter: arguments for the output of the widget, as detailed under installation instructions.
Compatible with WordPress MU.
Screenshot of widget configuration.
Screenshot of widget output on "Open Source" page under top level page "My Portfolio", running Twenty-Ten theme
- Ability to specify the widget title (still defaults to top level page name)
- New filter for widget title,
simple_section_nav_title, for greater developer control over title
- Various minor optimizations for performance, widget option sanitizing, best coding practices
simple_section_page_listfilter to child page list before output
- Adds “current_page_parent” class to linked heading, if applicable
- Improved logic around page ancestors in the excluded list
- Fixes rare error involving post ancestor setup
- Many general improvement and optimizations to codebase
- Ability to customize “before_title” and “after_title” when calling via template function
Version 2.0 represents a fundamental change to the plug-in’s architecture. Developers calling the widget by a function in the template (not using the widget) will be required to update the template, unless using the default settings. The function now has 1 parameter: arguments for the output of the widget, as detailed under installation instructions. New features include multiwidget support, better performance, and independent configuration for each instance.
- Fixes and optimizes output on posts page, posts, and archives
- Ability to set page sort order (still defaults to menu order)
- Applies current_page_item and current_page_ancestor classes to optional heading link
- Easy access to settings panel from plug-ins page
- WordPress 2.8 compatibility check
- DEFINITIVE FIX FOR PAGE FLATTENING / FLAT HIERARCHY / NO DEPTH ISSUES
- Performance improvements
- Fixed occassional flattening or wrong order of hierarchical pages
- Added ability to link heading, which also wraps it in a unique id
- Improved excluded pages handling
- Ability to exclude entire sections from using the widget
- Lists private pages if user has permission to see them
- Ability to set a maximum page depth for display in widget