Adds a widget for section (or top level page) based page navigation. Essential for CMS! Includes simple function for template developers.
/wp-content/plugins/ directorysimple_section_nav function. The function accepts a single
argument in the form of a classical WordPress set of 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>)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: 24,089
0 of 1 support threads in the last two months have been resolved.
Got something to say? Need help?