Boone's Sortable Columns
A handy, extensible class for adding sortable columns your custom post type lists.
Maintenance 20/1005333d since update
Active installs
10
Downloads
2,740
Reviews
0
Age
14.6y
Tagscustom post typescolumnstables
Plugin info
Total downloads: 2,740
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 2
Last updated: 5/27/2011 (5333 days ago)
Added to WordPress: 5/23/2011 (14 years old)
Minimum WordPress version: 3.1
Tested up to WordPress version: 3.2.1
Minimum PHP version: f
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 5333 days ago
20/100
Is Boone's Sortable Columns abandoned?
Possibly abandoned (last update 5333 days ago).
Compatibility
Requires WordPress: 3.1
Tested up to: 3.2.1
Requires PHP: f
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Admin Columns
Rating 4.9/5 (1,641 reviews) • Active installs 100,000
TablePress – Tables in WordPress made easy
Rating 5.0/5 (4,616 reviews) • Active installs 700,000
Ninja Tables – Easy Data Table Builder
Rating 4.6/5 (468 reviews) • Active installs 80,000
wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin
Rating 4.5/5 (447 reviews) • Active installs 70,000
Visualizer: Tables and Charts Manager for WordPress
Rating 4.4/5 (224 reviews) • Active installs 20,000
WP Data Access – No-Code App Builder with Tables, Forms, Charts & Maps
Rating 4.9/5 (86 reviews) • Active installs 10,000
Description
Here’s how I recommend using the class.
- Either activate this plugin, or include the class in your own plugin file.
- When you start to render the page with the post list, define some columns and then instantiate the class:
$cols = array(
array(
‘name’ => ‘restaurant_name’,
‘title’ => ‘Restaurant Name’,
‘css_class’ => ‘restaurant-name’,
‘is_default’ => true
),
array(
‘name’ => ‘cuisine_type’,
‘title’ => ‘Cuisine Type’,
‘css_class’ => ‘cuisine-type’,
‘default_order’ => ‘desc’
)
);
$sortable = new BBG_CPT_Sort( $cols ); - As you render your table, you can use all sorts of fun methods to create column headers. Example:
have_columns() ) : ?>
have_columns() ) : $sortable->the_column() ?>
…
Installation
Two choices:
1. Install from the plugins repository and activate for use in your theme
or
2. Copy the BBG_CPT_Sort class into your own plugin/theme and require it manually.
Frequently Asked Questions
No FAQ available
Review feed
No reviews available
Screenshots
No screenshots available
Changelog
1.1
- Adds setup_base_url() method, for greater control over how column header URLs are generated
1.0
- Initial release