LH Sortable Tables
Table Sorter turns standard HTML table (with THEAD and TBODY tags) in your post, page, or CPT content into a sortable table without page refresh. It has many useful features including : Multi-column sorting. Disable sorting from particular column(s). Different sorting types. Cross-browser support To
Table Sorter turns standard HTML table (with THEAD and TBODY tags) in your post, page, or CPT content into a sortable table without page refresh. It has many useful features including :
- 01Multi-column sorting.
- 02Disable sorting from particular column(s).
- 03Different sorting types.
- 04Cross-browser support
To make a table just add class=”sortable” to the table element in the html view.
NOTE Unlike other plugins this plugin will not unneccessarily slow down your site. The javascript to add the sorting is only added to the page is the above class is added to a table in the content.
As the javascript is vanilla it is unlikely to connflict with other plugins
This plugin uses Jonas Earendel’s Sortable table library . So advanced documenation can be found there and its many other features can be found there.
View a demo here: https://lhero.org/sortable-table-demo/ .
Like this plugin? Please consider leaving a 5-star review .
Love this plugin or want to help the LocalHero Project? Please consider making a donation .
Install using WordPress:
- 01Log in and go to Plugins and click on Add New .
- 02Search for lh-sortable-tables and hit the Install Now link in the results. WordPress will install it.
- 03From the Plugin Management page in WordPress, activate the lh-sortable-tables plugin.
- 04That is it, no settings are required for this plugin
Install manually:
- 05Download the plugin zip file and unzip it.
- 06Upload the plugin contents into your WordPress installation s plugin directory on the server. The plugins .php files, readme.txt and subfolders should be installed in the *wp-content/plugins/lh-sortable-tables/ directory.