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

Compare table

外掛說明

Your visitors can easily compare services, products or anything else with the tables you create with this compare-table plugin.

In your dashboard create as many tables as you want. Each table has subjects (the entities that are being compared) and fields (the properties the entities can be compared on).

You can order the subjects and fields in any way you want. You can also add a description to each field, which will be shown when a visitor hovers over the field name.

Set the initial view of each table (how many columns, which subjects) which the visitor can change with select lists.

Everything is nicely formatted by default, albeit a bit bland. You can easily override the css with your own, should you want to.

The table works fine with touch devices as well. On mobile devices the width is automatically restricted to two columns.

Show a compare-table anywhere by using the shortcode [compare-table] (which will show the first table).
To show a specific table that is not the first one, you can provide its id (the type_id in the querystring) or title, like so:
[compare-table type=1] the id must be the type_id in the querystring when you edit this table
[compare-table type="my table"] this must be the exact title you gave your table

Note: providing the id is slightly faster.

The plugin adds 4 tables to your database. For each compare-table there are two highly optimized queries executed.

Enjoy the plugin! Let me know if you have any questions.

螢幕擷圖

  • Compare table for a visitor.

  • Compare table settings with Subject(s) and Field(s).

  • Provide values for a Subject (or a Field).

  • General settings.

安裝方式

Install the plugin by clicking ‘Install now’ below, or the ‘Download’ button, and put the compare-table folder in your plugins folder. Don’t forget to activate it.

使用者評論

2024 年 3 月 1 日
Needs some work, but the idea is great. We will use it. We wish the author to develop the idea! My rating is three stars so far
閱讀全部 1 則使用者評論

參與者及開發者

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

參與者

〈Compare table〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

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

對開發相關資訊感興趣?

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

變更記錄

1.1.0: restore wp delete links

1.0.17: release