[WordPress] 外掛分享: Compare table

首頁外掛目錄 › Compare table
WordPress 外掛 Compare table 的封面圖片
全新外掛
安裝啟用
★★★☆☆
3/5 分(1 則評價)
32 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v2.0.3 上架:2024-02-16

內容簡介

Compare table 外掛讓訪客能夠輕鬆比較服務、產品或其他項目。使用者可以在控制台創建多個比較表,並自訂顯示的主題與屬性,提升網站的互動性與使用體驗。

【主要功能】
• 創建多個比較表
• 自訂主題與屬性顯示順序
• 提供滑鼠懸停顯示屬性說明
• 支援短碼 [compare-table] 顯示表格
• 行動裝置友好,自動調整寬度

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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.
The subjects appear in the order you have put them in the dashboard, but you can also pre-select different columns in the query string when you link to a table, like so:
https://wp-developer.eu/child-page/?compare-table-column-0=35%20mm&compare-table-column-1=50%20mm&compare-table-column-2=400%20mm

Column indexes are 0-based, so the query string parameter ‘compare-table-column-0’ must contain the subject for the first column. This currently only works with one table on the page.
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.

延伸相關外掛

文章
Filter
Mastodon