Plugin info

Total downloads: 2,911
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 5
Last updated: 4/3/2020 (2097 days ago)
Added to WordPress: 12/4/2011 (14 years old)
Minimum WordPress version: 3.0
Tested up to WordPress version: 5.4.18
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 2097 days ago

20/100

Is Sort Page List by Last Name abandoned?

Possibly abandoned (last update 2097 days ago).

Compatibility

Requires WordPress: 3.0
Tested up to: 5.4.18
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Show Authors in Page Lists
Rating 1.0/5 (1 reviews)Active installs 10
Children Pages
Rating 4.0/5 (1 reviews)Active installs 100
Simply Hide Pages
Rating 0.0/5 (0 reviews)Active installs 100
List Pages at Depth
Rating 0.0/5 (0 reviews)Active installs 100
Local Navigation Extended
Rating 4.0/5 (1 reviews)Active installs 10
wp_list_sub_pages
Rating 0.0/5 (0 reviews)Active installs 10

Description

Aimed at archivists and other WordPress developers who use the names of individuals as page titles, this plugin sorts wp_list_pages-generated page lists by last name. More generally, the plugin can also be used to sort wp_list_pages-generated page lists by the last word of any page’s title.

Installation

After installing and activating, developers can order any wp_list_pages-generated page list by surname — or, more generally, last word — using the sortbylastname=1 parameter, e.g., <?php wp_list_pages('title_li=&sortbylastname=1'); ?>. Use a “0” to (temporarily) disable the plugin.

Frequently Asked Questions

Links

  • For feedback and help, visit: http://getsatisfaction.com/studio_hyperset/products/studio_hyperset_wordpress_plugins

  • To learn about other Studio Hyperset WordPress plugins, visit http://studiohyperset.com/#solutions

  • To help develop the Sort Page List by Last Name plugin, visit https://github.com/studiohyperset/sort-page-list-by-last-name

Developer Notes

PLEASE NOTE: Line 14 extracts each separate line of HTML from the original wp_list_pages output and puts it into an array called $lines. The \n parameter tells the explode command that each line ends with a carriage return. However, as of WordPress 3.2.1, the explode command assumes each line ends when it finds an n. As such, if developers edit the plugin using the WordPress code editor, they should add an extra backslash (\) in front of the n before saving the file (e.g, $lines = explode("\\n", $val);). The line will revert to $lines = explode("\n", $val); on save.

Interested in helping develop the Sort Page List by Last Name plugin? Visit the GitHub repository: https://github.com/studiohyperset/sort-page-list-by-last-name

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

1.0

  • 12/3/11 – Initial release