[WordPress] 外掛分享: SortTable Post

前言介紹

  • 這款 WordPress 外掛「SortTable Post」是 2011-11-08 上架。
  • 目前有 80 個安裝啟用數。
  • 上一次更新是 2011-11-12,距離現在已有 4921 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.2.1 以上版本才可以安裝。
  • 有 3 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

sscovil |

外掛標籤

post | sort | table | sortable | sorttable |

內容簡介

希望以易於閱讀、可排序的數據表格列出您的 WordPress 文章嗎?此外掛讓它變得非常容易。它支援文章縮略圖、自訂文章類型、自訂分類和(從版本 4.0 開始)自訂欄位。

預設情況下,此外掛會輸出以下欄位:

文章縮略圖(如已啟用)
文章標題
文章日期
文章分類
文章標籤

選項包括:

省略預設欄位中的任何欄位
用自訂文章類型取代 文章
用自訂分類或標籤取代 分類 和 標籤
從版本 4.0 開始,您可以插入任意數量的自訂欄位列

使用方式

[sorttablepost]

將此短碼置入一篇文章或頁面,即可插入所有文章的可排序表格。

隱藏標準欄位

[sorttablepost nothumb="true" notitle="true" nodate="true" nocats="true" notags="true"]

您可以使用這些短碼選項省略任何不需要的欄位。

顯示自訂文章類型

[sorttablepost type="my-custom-post-type"]

您可以指定自訂文章類型(或頁面)的名稱,而不是顯示文章。

使用自訂分類和標籤

[sorttablepost cat="my-custom-taxonomy" tag="another-custom-taxonomy"]

您可以將標準的 分類 或 標籤欄位(或兩者)取代為自訂分類。

使用自訂欄位

[sorttablepost meta="Custom Field Key,Another Custom Field Key,Yet Another"]

從版本 4.0 開始,您可以添加任意數量的自訂欄位。使用逗號分隔的欄位鍵列表。

分配唯一 ID 給表格

[sorttablepost id="mytable"]

從版本 4.2 開始,您可以為每個表格分配唯一的 ID。這在同一頁面上顯示多個表格時特別有用,因為它允許您對每個表格進行不同的樣式設置。

關於此外掛

有關此外掛的更多信息,請訪問:http://mynewsitepreview.com/sorttablepost/

查看實際演示,請訪問:http://mynewsitepreview.com/sorttablepost-wordpress-plugin-live-demo

關於 SortTable.js

此外掛的可排序表格部分是由 Stuart Langridge 非常棒的 JavaScript 庫實現的。

sorttable.js 的文檔可在此處找到:http://www.kryogenix.org/code/browser/sorttable/

原文外掛簡介

Ever want to list your WordPress posts in an easy-to-read, sortable data table? This plugin makes it easy to do just that. It supports post thumbnails, custom post types, custom taxonomies, and (as of v4.0) custom fields.
By default, the plugin outputs the following columns:

Post Thumbnail (if enabled)
Post Title
Post Date
Post Categories
Post Tags

Options include:

Omit any of the default columns
Replace Post with a custom post type
Replace Categories and Tags with custom taxonomies
As of version 4.0 you can insert any number of custom field columns

How To Use
[sorttablepost]

Place this shortcode into a post or page to insert a sortable table of all posts.
Hide Standard Columns
[sorttablepost nothumb="true" notitle="true" nodate="true" nocats="true" notags="true"]

You can omit any undesired columns by using one or more of these shortcode options.
Show Custom Post Type
[sorttablepost type="my-custom-post-type"]

You can specify the name of a custom post type (or page), instead of showing posts.
Use Custom Taxonomies
[sorttablepost cat="my-custom-taxonomy" tag="another-custom-taxonomy"]

You can replace the standard Categories or Tags columns (or both) with custom taxonomies.
Use Custom Fields
[sorttablepost meta="Custom Field Key,Another Custom Field Key,Yet Another"]

As of v4.0, you can add as many custom field columns as you like. Use a comma-seperated list of field keys.
Assign Unique ID to Table
[sorttablepost id="mytable"]

As of v4.2, you can give each table a unique ID. This is particularly useful when displaying multiple tables on the same page, as it allows you to style each one differently.
About This Plugin
For more information about this plugin, visit: http://mynewsitepreview.com/sorttablepost/
To see a live demo, visit: http://mynewsitepreview.com/sorttablepost-wordpress-plugin-live-demo
About SortTable.js
The sortable table portion of this plugin is made possible by Stuart Langridge’s awesome Javascript library.
Documentation for sorttable.js can be found at: http://www.kryogenix.org/code/browser/sorttable/

各版本下載點

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

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


最新版本

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

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon