[WordPress] 外掛分享: Table Manager

首頁 › 外掛目錄 › Table Manager
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
10+
安裝啟用
—
尚無評分
剛更新
最後更新
0%
問題解決
WordPress 6.0+ PHP 7.4+ v1.1.0 上架:2025-04-23

內容簡介

總結:WordPress 的「表格管理者」外掛讓使用者可以利用簡碼輕鬆創建、管理和顯示表格。能夠建立表格、新增和更新欄位,以及管理資料(插入、更新、刪除)。每個表格都會生成獨特的簡碼,用於在文章或頁面上顯示內容。此外,外掛還提供安全的表單處理、易於使用的管理介面和用於前端顯示表格的自訂 CSS/JS。

問題與答案:
1. 「表格管理者」外掛提供哪些功能?
- 建立和管理自訂表格
- 動態新增、刪除和更新表格的欄位
- 透過易用的介面插入和更新表格資料
- 使用簡單簡碼來顯示表格
- 運用 WordPress 最佳實踐進行安全和優化的查詢

2. 如何透過「表格管理者」外掛在 WordPress 上安裝?
- 使用搜索功能:前往「新增外掛」畫面,搜尋「表格管理者」,點擊「立即安裝」,然後啟用外掛。
- 使用 ZIP 檔案:下載外掛、解壓縮 ZIP 檔案、上傳檔案後,透過 WordPress 的「外掛」選單啟用外掛。

3. 如何在 WordPress 上使用「表格管理者」來建立新的表格?
- 進入 WordPress 的管理面板中的「表格管理者」。
- 點擊「建立表格」,輸入表格名稱,新增需要的欄位並保存表格。

4. 請問如何在前台顯示表格?
- 在文章或頁面上使用以下簡碼來顯示表格:[display_table name="your_table_name"]

5. 「表格管理者」外掛提供哪些安全最佳實踐?
- 管理員能力檢查:限制存取到具有 manage_options 能力的管理員。
- 預防 SQL 注入:在適用的地方使用 WordPress 的 $wpdb->prepare() 進行保護查詢。
- 輸入消毒:所有使用者輸入數據在插入資料庫之前都會經過消毒處理。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Create tables with typed columns: text, long text, number, decimal, date, date & time, yes/no, checkbox (multiple configured choices), radio button (one configured choice), dropdown (one choice), multi-select dropdown, image, file (WordPress-allowed Media Library uploads) and link.
Add, edit (double-click any cell), duplicate, delete and search records; import from and export to CSV; create a whole table from a CSV or Excel .xlsx file.
Spreadsheet imports use the first worksheet. Its first row becomes the column headers when creating a table, and the remaining rows are imported as records. Existing tables can import CSV, TSV or .xlsx files with matching headers. Excel import requires the PHP ZipArchive and SimpleXML extensions.
Table design (all manual): font family (fonts registered in your WordPress theme or Font Library, system fonts, or your own font stack), font size, text colour, header colours/size/weight/case, table background, striped rows, hover colour, borders (grid / row lines / none), corner radius, shadow, cell padding, space between rows, margins above and below, width, position, and maximum height with a sticky header.
Per-row design: pick any row (or several) and give it its own background colour, text colour, font family, size, bold/italic, alignment, padding and spacing above.
Responsive: scroll sideways or stack rows as cards on phones, with a custom breakpoint, mobile font size and padding, and the option to hide chosen columns on mobile.
Front end: live search, click-to-sort headings and optional pagination.
Visual designer: Modern, Professional, Minimal and Dark presets, named design save/update/duplicate actions, per-column and choice-value styling, and a desktop/tablet/mobile live preview.
Saved designs are shared across all plugin tables. Applying a saved design changes only the selected table’s active style, and existing table designs are migrated into the shared library automatically.
Checkbox and multi-select data are stored as JSON arrays. In CSV imports, use a JSON array in those cells, such as ["Option A","Option B"]. CSV exports keep this format.
Only users with the manage_options capability can manage tables. The [display_table] shortcode shows only tables created with this plugin.
No external services. No tracking.

Usage
Add this shortcode to any post or page:
[display_table name="my_table"]

Optional attributes: search="true", per_page="10" (up to 500), limit="500" (1 to 1000), order="ASC" or DESC, orderby="column_name", class="my-class".
Example: [display_table name="my_table" search="true" per_page="10" orderby="price" order="DESC"]
Privacy
The plugin stores your tables in your own database and sends nothing to any third party.
Uninstall
Deleting the plugin keeps your tables and records. To remove all data when the plugin is deleted, add define( 'TM_DELETE_DATA_ON_UNINSTALL', true ); to wp-config.php before deleting.

延伸相關外掛

文章
Filter
Mastodon