[WordPress] 外掛分享: AJAX Table with Custom CRUD API

首頁外掛目錄 › AJAX Table with Custom CRUD API
10+
安裝啟用
☆☆☆☆
1/5 分(1 則評價)
2147 天前
最後更新
問題解決
WordPress 4.9+ v1.1.1 上架:2020-10-08

內容簡介

「AJAX Table with Custom CRUD API」產生基於所選擇的資料庫表格的自訂 CRUD REST API,使使用者能夠執行新增、編輯及刪除操作。此外,使用者可以使用 Short Code: [AJDT api=’API-NAME’] 美觀地顯示 API 資料。

功能:

產生基於 CRUD 的自訂 REST API
使用 AJAX 顯示 API 資料,shortcode 格式為 [AJDT api=’API-NAME’]
整合 Bootsrap 表格
透過 AJAX 搜尋紀錄
按資料類別篩選可見度。
僅使用 AJAX 而無需重新整理資料

工作原理:

安裝並啟用外掛
進入管理後台->AJDT 設定
透過選擇資料庫表格來建立 API。按 URL 欄位* 測試 API

API 使用方法:

透過造訪「進入管理後台->AJDT 設定」建立 API
取得 API 名稱和 API URL
使用 POSTMAN 或其他 API 測試工具,帶有 wordpress Rest Nonce 的驗證標頭「X-WP-Nonce」測試 API URL
在必要時使用 Short Code 顯示資料
語法
[AJDT api=’建立時 AJDT 設定所設定的 API 名稱’]
Short Code 範例:-
[AJDT api=’MY-API-NAME’]
範例程式碼:
echo do_shortcode(“[AJDT api=’MY-API-NAME’]”);

1.1.1

初始版本

外掛標籤

開發者團隊

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

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

原文外掛簡介

‘AJAX Table with Custom CRUD API’ generates Custom CRUD based REST API for the selected database table enabling user to perform Add/Edit/Delete operations. It also helps to display data from API beautifully using Short Code: [AJDT api=’API-NAME’].
Features:

Generates CRUD based Custom REST API
Displays API data using AJAX with shortcode format [AJDT api=’API-NAME’]
Integrates Bootsrap table
Search records with AJAX
Filter visibility by data category.
No reloading, only ajax

How It Works:

Install and activate plugin
Go to Admin area -> AJDT Settings
Create API by selecting database table. Test the api by clicking URL field*

Usage of API:

Create API by visiting – Go to Admin area -> AJDT Settings
Get the API Name and API URL
Test API URL using POSTMAN or any other API testing tool with authentication header ‘X-WP-Nonce’ with wordpress Rest Nonce
Use the short code wherever required to display the data
Syntax
[AJDT api=’ API – Name given while creation from via AJDT Settings’]
Short Code example:-
[AJDT api=’MY-API-NAME’]
From Code example:-
echo do_shortcode(“[AJDT api=’MY-API-NAME’]”);

1.1.1

Initial version

文章
Filter
Mastodon