Provides an A to Z index page and widget. The widget links to the index page at the appropriate letter.
This plugin provides a widget which aggregates all pages into an A to Z listing. The widget includes just the letters as links to the A-Z Index page. Also provided is an implementation for the A-Z Index page. If a letter doesn't have any pages then the widget will display the letter unlinked; likewise the index page will omit the display for that letter entirely.
Both the Widget and Index page can be section-targeted or global-targeted. i.e. they can limit their output to displaying only the pages below a single top-level parent page or they can display the entirety of the site's pages.
By default the widget and index page become section-targeted by including them on pages below a top-level page: e.g. if your site layout has:
home section1 section1a section1b a-z section2 section2a section2b a-z
then placing the widget onto either section1, section1a or section1b will target the widget to displaying only children of section1. placing the a-z index on a child of section1 will likewise limit the index page to display only children of section1.
Likewise for section2, section2a and section2b.
This plugin requires modification of the theme to be able to provide the A to Z Index page. Styling (CSS) is left entirely up to the developer or site owner.