前言介紹
- 這款 WordPress 外掛「API Widgets – API to Table, Chart or HTML」是 2024-12-27 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2025-01-01,距離現在已有 122 天。
- 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
api | JSON | endpoint | external api |
內容簡介
以下是對此外掛的總結:
這個外掛讓您能輕鬆將 API Widgets 的小工具嵌入到您的 WordPress 網站內。
使用 API Widgets,您可以將 JSON 資料輕鬆轉換為圖表、表格和自訂 HTML,然後將其嵌入到您的網站上。嵌入後,資料會自動在您選擇的間隔時間內更新。
您可以連接 API 並從 API 轉換 JSON 資料,或者您也可以使用您自己的 JSON 檔案。
接著是問題與答案:
1. 如何將 API Widgets 嵌入到您的 WordPress 網站中?
- 參訪 API Widgets 的轉換器。
- 將您的 API 網址(或 JSON 檔案)加入。
- 選擇表格、圖表或自訂 HTML。
- 執行轉換器。
- 自訂您的表格、圖表或 HTML 應該如何顯示。
- 點擊發布。
- 獲得您的新小工具的 ID,並嵌入到您的網站中。
2. 在 WordPress 中嵌入 API Widgets 的方式是什麼?
- 當插件已安裝後,只需在您想要在網站上顯示小工具的地方添加簡碼或模板標記。
3. 如何使用短代碼在網站上顯示小工具?
- 在您想要顯示小工具的地方添加此短代碼(請使用您自己的小工具 ID):[api-widgets id="123"]
4. 如何使用模板標記在網站上顯示小工具?
- 在您想要顯示小工具的地方添加此模板標記(請使用您自己的小工具 ID):
5. 提供的文件中包含哪些部分?
- 什麼是小工具?
- 創建圖表小工具。
- 創建表格小工具。
- 創建 HTML 小工具。
原文外掛簡介
Convert JSON API data into Tables, Charts or custom HTML with no code and then embed these on your website. After embedding, the data will update automatically at your chosen interval.
This plugin allows you to easily embed your Widgets from API Widgets into your WordPress website.
Works with APIs or JSON files. No coding required.
How It Works
Visit the Converter at API Widgets.
Connect to your API (or JSON file).
Select either Table, Chart or custom HTML.
Run the Converter.
Customize your Table, Chart or HTML.
Click Embed.
Get the ID of your new Widget & embed into your site.
Use the shortcode or template tag wherever you want the Widget shown on your site.
Shortcode
Add this shortcode (using your own Widget ID) wherever you want the Widget displayed.
[api-widgets id="123"]
Template Tag
Add this template tag (using your own Widget ID) wherever you want the Widget displayed.
Documentation
What is a Widget?
Convert JSON to Chart
Convert JSON to Table
Convert JSON to HTML
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「API Widgets – API to Table, Chart or HTML」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
WPGet API – Connect to any external REST API 》簡單地連接WordPress至外部API的最簡單方式。, , WPGetAPI 可輕鬆地從無限量的第三方 REST API 發送和接收資料,然後使用「Shortcode」或「Template Tag」格...。
Custom API for WP 》Custom API for WP 外掛可協助您直接於 WordPress 建立自訂端點 / 自訂 REST API,以互動式圖形使用者介面(GUI)從任何 WordPress 資料庫表格中取得任意型態...。