[WordPress] 外掛分享: LH Sortable Tables

WordPress 外掛 LH Sortable Tables 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「LH Sortable Tables」是 2020-10-05 上架。
  • 目前有 60 個安裝啟用數。
  • 上一次更新是 2022-07-31,距離現在已有 1008 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
  • 有 2 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

shawfactor |

外掛標籤

order | table | sorter | sortable | tablesorter |

內容簡介

Table Sorter 可將您在文章、頁面或自訂文章類型內有 THEAD 和 TBODY 標籤的標準 HTML 表格轉換為可排序的表格,而不需要重新整理頁面。它具有許多實用功能,包括:

多列排序。
禁用從特定列進行排序。
不同的排序類型。
跨瀏覽器支援。

要製作表格,只需在 HTML 檢視中的表格元素中添加 class=”sortable”。

注意:與其他外掛不同,此外掛不會無謂地減慢您的網站速度。只有在內容的表格中添加了上述 class 才會將添加排序的 JavaScript 添加到頁面中。

由於 JavaScript 是原生 JS,因此不太可能與其他外掛發生衝突。

此外掛使用 Jonas Earendel 的Sortable 表格庫。因此,高級的說明可以在該庫中找到,並可在該庫中找到許多其他功能。

在此處查看演示:https://lhero.org/sortable-table-demo/。

喜歡此外掛嗎?請考慮留下5星評價。

喜歡此外掛或想要幫助 LocalHero 項目嗎?請考慮進行捐贈。

原文外掛簡介

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 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.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「LH Sortable Tables」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

  • Table Sorter 》Table Sorter 將標準的HTML表格 (包括THEAD和TBODY標籤) 轉換為可排序的表格,而無需重新整理頁面。它可以對任何表格進行排序,不論是在WordPress模板(主題...。

文章
Filter
Apply Filters
Mastodon