[WordPress] 外掛分享: Table Builder for CSV

首頁外掛目錄 › Table Builder for CSV
WordPress 外掛 Table Builder for CSV 的封面圖片
全新外掛
安裝啟用
尚無評分
2334 天前
最後更新
問題解決
WordPress 3.6.1+ v1.0 上架:2018-09-04

內容簡介

這個 CSV 表格建立器會從 CSV 檔案建立 HTML 表格,並提供分頁和搜尋過濾功能。此外,您可以自定義建立的表格設定和為欄位標題定義新的標題。使用此外掛,您需要將 CSV 檔案放置在 WordPress 上傳資料夾中。

啟用外掛後,在文章中你可以使用 [table_builder_for_csv] 短代碼。

短代碼的屬性:

1) src: 從上傳的資料夾中設定 CSV 檔案的路徑(例如,如果 test.csv 檔案在 WordPress 上傳資料夾中,則 src=”test.csv”。)

2) id: 為內文中的每個短代碼指定一個 ID。 (例如 id=”1″)

3) captions: 您可以為表格的欄位標題定義自訂標題。如果您想使用 CSV 檔案的第一列作為欄位標題,則不使用此屬性。使用 @# 分隔每個標題。 (例如 captions=”col1@#col2@#col3″)

4) searchbox: 如果要為表格使用搜尋過濾功能,則指定為 true (searchbox=”true”)。 (預設為 false)

5) rows: 表格分頁每頁顯示的行數。 (例如 rows=”5″。預設為 10)

6) textalign: 表格的文字對齊方式。

7) headerbg: 欄位標題的背景顏色。

8) headercolor: 欄位標題的文字顏色。

9) pagebg: 分頁連結的背景顏色。

10) pagecolor: 分頁連結的文字顏色。

11) pageactive: 選中的分頁連結的背景顏色。

12) pagehoverbg: 滑鼠停留在分頁連結時的背景顏色。

13) pagehovercolor: 滑鼠停留在分頁連結時的文字顏色。

14) pagealign: 分頁連結的對齊方式。

您可以在截圖中看到此外掛及其短代碼的一些使用示例。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Table Builder for CSV」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The Table Builder for CSV creates HTML table from csv file. It provides pagination and search filter capabilities for created table. Also,
you can customize settings of created table and define new captions for columns headers. For using this plugin, you should place your csv
files in the WordPress uploads folder.
To use this plugin, after activation of the plugin, you should place [table_builder_for_csv] shortcode in your posts.
Attributes for the shortcode:
1) src: Path to csv file from uploads folder( For example, if test.csv file is in the WordPress uploads folder, then src=”test.csv”.)
2) id: Assign an ID for each shortcode in content. (For example id=”1″)
3) captions: You can define custom captions for columns headers of table. If you want to use first row of the csv file as columns headers,
don’t use this attribute. Separate each header with @#. (For example captions=”col1@#col2@#col3″
4) searchbox: Assign true (searchbox=”true”), if you want to use search filter for table. (Default is false)
5) rows: Number of rows per page for table pagination. (for example, rows=”5″. Default is 10)
6) textalign: Text alignment for table.
7) headerbg: Background color for columns headers.
8) headercolor: Text color of columns headers.
9) pagebg: Background color for pagination links.
10) pagecolor: Text color of pagination links.
11) pageactive: Background color for active pagination link.
12) pagehoverbg: Background color for pagination links on mouse hover.
13) pagehovercolor: Text color of pagination links on mouse hover.
14) pagealign: Alignment for pagination links.
You can see some examples of using this plugin and its shortcode in screenshots.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon