LH Sortable Tables

plugin banner

No more old static tables, make your HTML tables sortable.

Author:Peter Shaw (profile at wordpress.org)
WordPress version required:4.0
WordPress version tested:6.0.1
Plugin version:1.01
Added to WordPress repository:06-10-2020
Last updated:31-07-2022
Rating, %:100
Rated by:2
Plugin URI:https://lhero.org/portfolio/lh-sortable-table...
Total downloads:816
Active installs:60+
plugin download
Click to start download

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 :

  1. Multi-column sorting.
  2. Disable sorting from particular column(s).
  3. Different sorting types.
  4. Cross-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.


FAQ
ChangeLog