這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Sheets2Table

外掛說明

Building an HTML table is not rocket science, but keeping the HTML table data up to date is cumbersome and can be time consuming or error prone when making frequent updates. An easier solution is to keep the data in a format and platform that is designed for data entry and collaboration and then dynamically render that data as HTML. Sheets2Table creates a snapshot of a Google Sheet and then dynamically displays the tabular data as an HTML table in WordPress. Using the FooTable plugin, the table is made responsive.

Sheets2Table provides flexibility by allowing a WordPress admin the ability to save a snapshot of the Google Sheet to a user-defined file name. Using the shortcode configuration tool, the admin can display specific columns and rename the column headers. The admin can create the snapshot manually or set the option so that the current data residing in the Google sheet is displayed on the page.

Sheets2Table WordPress Homepage |
Sheets2Table WordPress Documentation |

Features

  • Import a CSV file from a Google Sheet only using the document ID
  • Create a snapshot of the Google Sheet manually, or automatically
  • Automated tool to build shortcodes
  • Basic file operations to download or delete CSV files
  • Multiple CSV files and shortcodes support for limitless tables and combinations
  • Responsive table by installing the FooTable plugin
  • A file-based plugin that does not use database integration

螢幕擷圖

  • [Settings - Get CSV file from Google Sheet] (screenshots/screenshot-1.jpg)
  • [Settings - Configure the shortcode] (screenshot-3.jpg)
  • [Sheets2Table render using default settings and theme styles] (screenshot-6.jpg)
  • [Sheets2Table render using a custom shortcode and FooTable styles] (screenshot-7.jpg)

安裝方式

Preferred installation

  1. Navigate to the plugins page in your WordPress admin panel
  2. Click on Plugins > Add New
  3. Search for Sheets2Table and press the Install Now button

Manual Installation

  1. Download the plugin via WordPress.org
  2. Upload the ZIP file through the Plugins > Add New > Upload screen in your WordPress dashboard
  3. Activate the plugin through the Plugins menu in WordPress

常見問題集

How can the changes in my Google Spreadsheet automatically be displayed in my WordPress site?

As of version 0.4.1, a shortcode option now exists that will always get the current data in the Google Sheet.

  • Naviage to the Shortcodes tab
  • Click on Customize for the shortcode you wish to display
  • Select the columns to display
  • Under Other Options, select get-latest-data.

使用者評論

2016 年 11 月 24 日
This plug-in gave me exactly what I needed--an easy way to display an existing Google sheet within a webpage. Combined with FooTable, I also got sorting and searching capabilities. The developer, Tony, is fantastic! He spent a lot of time helping me fine-tune some tricky issues. Wonderful plug-in, wonderful service!
2016 年 9 月 3 日
It's been really fiddly managing the multiple tables on my website in HTML. Being able to enter and manipulate them in Google Sheets is a huge help. Really simple to use and has worked perfectly for me.
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Sheets2Table〉的開發相關工作。

參與者

將〈Sheets2Table〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.4.1

  • Added a option to always get the latest tabular data from the Google Sheet instead of having to manually create a snapshot.

0.4.0

  • Initial release