WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't 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.

Simple Section Navigation Widget

Adds a widget for section (or top level page) based page navigation. Essential for CMS! Includes simple function for template developers.

  1. Install easily with the WordPress plugin control panel or manually download the plugin and upload the extracted folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Widget users can add it to the sidebar by going to the "Widgets" menu under "Appearance" and adding the "Simple Section Navigation" widget. Open the widget to configure.
  4. Template authors can call the navigation by using the simple_section_nav function. The function accepts a single argument in the form of a classical WordPress set of parameters.

Parameters

  • show_all - Always show all pages in current section (default: false)
  • exclude - Page IDs, seperated by commas, of pages to exclude (default: '')
  • hide_on_excluded - No navigation on excluded pages (default: true)
  • show_on_home - Show top level page list on home page (default: false)
  • show_empty - Output even if empty section (default: false)
  • sort_by - Page sort order; can use any WordPress page list sort value (default: menu_order)
  • title - Provide a specific widget title; default is the top level page title (default: '')
  • a_heading - Show all pages in section (default: false)
  • before_widget - HTML before widget (default: <div>)
  • after_widget - HTML after widget (default: </div>)
  • before_title - HTML before widget (default: <h2 class="widgettitle">)
  • after_title - HTML after widget (default: </h2>)

Example

simple_section_nav('before_widget=<li>&after_widget=</li>&exclude=2&show_on_home=1');

Will wrap the widget in LI tags, exclude page ID 2, and will output on home page.

Requires: 2.8 or higher
Compatible up to: 3.1.4
Last Updated: 2011-3-25
Downloads: 26,625

Ratings

4 stars
4.9 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
1 person says it's broken.

100,2,2
100,1,1
100,1,1
100,3,3 100,1,1
100,2,2 100,1,1 100,3,3
100,2,2 75,4,3
86,7,6
100,1,1
50,2,1
100,1,1 100,4,4
100,1,1
100,1,1
67,3,2
100,1,1
100,5,5
100,4,4
100,3,3
0,1,0
50,2,1
100,4,4
100,2,2
83,6,5
100,1,1
0,1,0