Description
Customise the A-Z Listing plugin to support names or “Proper Nouns”. Items in the listing will be indexed by the first letter of the last word in the title.
For example, an item with a title of Albert Einstein
will be indexed by the letter E
. It is not currently possible to correctly index a last name that has a prefix. For example, James Van Der Beek
would be indexed by B
not the correct V
.
The purchase price entitles you to 1 year of updates and will not automatically renew.
Documentation
The A-Z Listing Proper Nouns plugin will augment the A-Z Listing plugin to provide two additional attributes on the [a-z-listing]
shortcode. Use the shortcode as normal, and optionally provide the additional proper-nouns
and fullname-suffixes
attributes.
Additional Attributes on the Shortcode
proper-nouns
Optionally tells the listing to enable or disable this extension. If present, it must be set to either on
or off
. The default is off
so that this extension is disabled until this attribute is explicitly set to on
.fullname-suffixes
takes a list of suffixes to ignore when indexing the items by last name. The list must be separated by commas: ,
The default is undefined so that no suffixes are considered unless you provide a list of suffixes to be ignored.
Example
Turn on the extension
[a-z-listing proper-nouns="on"]
Ignore suffixes of patronomical lineage
[a-z-listing proper-nouns="on" fullname-suffixes="Jr,Sr,Junior,Senior,I,II,III,IV,V,VI,VII,VIII,IX,X"]
API Description
Customise the A-Z Listing plugin for WordPress to support names or "Proper Nouns". Items in the listing will be indexed by the first letter of the last word in the title.
For example, an item with a title of Albert Einstein
will be indexed by the letter E
. It is not currently possible to correctly index a last name that has a prefix. For example James Van Der Beek
would be indexed by B
not the correct V
.