[WordPress] 外掛分享: EfficiencyNext Data Connector

首頁外掛目錄 › EfficiencyNext Data Connector
全新外掛
安裝啟用
尚無評分
14 天前
最後更新
問題解決
WordPress 6.0+ PHP 8.0+ v1.0.0 上架:2026-03-02

內容簡介

EfficiencyNext Data Connector 是一款輕量級 WordPress 外掛,可透過短代碼與 Mustache 風格模板,從外部 API 擷取資料並顯示於文章或頁面中,無需任何外部相依套件,適合需要整合第三方資料的網站。

【主要功能】
• 零相依性,純 PHP 8.0+ 原生程式碼運作
• 支援短代碼快速嵌入外部 API 資料
• Mustache 風格模板語法,支援迴圈與巢狀屬性
• 內建 API 預覽功能,可即時測試端點與欄位
• 所有輸出皆經 HTML 跳脫與 wp_kses 過濾,確保安全
• 完整國際化支援,可進行多語系翻譯

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「EfficiencyNext Data Connector」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

EfficiencyNext Data Connector is a modern, lightweight WordPress plugin that lets you fetch data from external APIs and display it in your posts and pages using simple placeholders, shortcodes, and Mustache-style templates.
Key Features:

Zero Dependencies – No external libraries required, pure PHP 8.0+ code
PHP 8.3 Compatible – Built from the ground up for modern PHP
Shortcode Support – Use [effcncynxtdc source="Name"] in your content
Mustache-style Templates – Familiar {{variable}} syntax
Loop Support – Iterate over arrays with {{#items}}...{{/items}}
Secure – All output is HTML-escaped, templates are sanitized with wp_kses
Smart Admin Interface – Add, edit, and delete data sources with a modern UI
API Preview – Test your API endpoints and discover available fields right in the editor
Template Helpers – Insert common template patterns with one click
Translation Ready – Fully internationalized with text domain and language file support

Template Syntax:

{{variable}} – Display a simple value
{{#section}}...{{/section}} – Loop over arrays or conditional sections
{{^section}}...{{/section}} – Show content when a value is empty or missing
{{.}} – Current item in a simple loop
{{object.property}} – Access nested properties with dot notation

Shortcode Usage:

[effcncynxtdc source="SourceName"] – Render a configured data source
[effcncynxtdc source="SourceName" url="https://..."] – Override the API URL
[effcncynxtdc source="SourceName" template="{{name}}"] – Override the template
[effcncynxtdc_inline source="SourceName"] – For inline usage

Configuration

Click Add New Source to create a data source
Enter a Source Name (used with shortcodes and for identification)
A Placeholder is auto-generated (e.g., {{Positions}}) – this goes in your page/post content
Enter your API URL that returns JSON data
Click Preview API to see the JSON response and available template fields
Create your Template using Mustache-style syntax – click the available fields to insert them
Toggle Inline if the placeholder appears within a paragraph

延伸相關外掛

文章
Filter
Apply Filters
Mastodon