
EfficiencyNext Data Connector – Display JSON & REST API Data
v2.1.0EfficiencyNext · 2026年3月3日 上架
Display live JSON and REST API data on any page with a shortcode. Supports API key, Basic Auth and OAuth 2.0. Cached, so pages stay fast.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 1,143
- 最近更新
- 2026年11月18日
贡献者
截图







Connect WordPress to live data from your other systems — and stop updating the same information in two places.
EfficiencyNext Data Connector fetches JSON from any REST API and displays it on your WordPress pages and posts. Connect an endpoint once, and the page shows whatever the source system says today.
Use it for job openings, prices, products, availability, directories, schedules, events, statistics, or any other structured information another system already maintains.
No copying and pasting. No duplicate data entry. No re-importing spreadsheets.
What you can display
- Job openings from an applicant tracking system
- Products or pricing from an ERP or inventory system
- Availability from a booking or scheduling system
- Staff, provider, or member directories
- Events and schedules
- Statistics and key figures
- Articles, resources, and FAQs
- Custom data from your own applications
If your system can return JSON from a URL, Data Connector can display it.
How it works
- Enter your API endpoint and, if it needs one, how to authenticate.
- Click Preview API to see the live response. Every field in it is listed for you.
- Build an HTML template by clicking the fields you want, such as
{{name}}or{{price}}. - Click Preview template to see the result rendered with real data, before you save.
- Add the shortcode or placeholder to any page or post.
From then on the page follows the source system. There is no export to schedule and no theme file to edit.
A quick example
Say your applicant tracking system returns this:
{"jobs":[{"title":"Nurse","location":"Austin"},{"title":"Analyst","location":"Remote"}]}
Save it as a data source named Jobs with this template:
<ul>{{#jobs}}<li>{{title}} ({{location}})</li>{{/jobs}}</ul>
Then put this on your Careers page:
[effcncynxtdc source="Jobs"]
The page lists both jobs. When a job is added or closed in the source system, the page changes with it.
Works with secured APIs
Most business APIs require authentication. Data Connector supports the three methods you are most likely to be given:
- OAuth 2.0 (client credentials) — enter the token URL, client ID, and client secret. The plugin requests an access token, reuses it until shortly before it expires, and gets a new one on its own.
- API key — sent as a header or as a query parameter, under any name your API expects.
- Basic Auth — username and password.
Save credentials once as a reusable authentication profile and share it across as many data sources as you like. Secrets are stored in your WordPress database and are never sent back to the browser, not even to the settings screen.
Fast pages, even when the API is slow
Your visitors should not wait on someone else’s server.
- Responses are cached, with a lifetime you set per data source
- When cached data expires, visitors still get it instantly while a refresh runs in the background
- If the API goes down, the last good data keeps showing instead of an empty page
- Pages that do not use the plugin are not affected at all
You control the layout
Templates are plain HTML with Mustache-style tags: {{variable}} for a value, {{#items}}...{{/items}} for a loop, and dot notation for nested fields.
The plugin ships a stylesheet for the layouts people need most — tables, card grids, product listings, pricing tables, team directories, stats panels, FAQs, event schedules, and more — responsive, with light and dark themes. Change one accent color to match your brand, or edit the whole stylesheet on the Appearance tab.
Secure by default
Every value from the API is escaped on output. Every template is sanitized with WordPress’s own wp_kses, so script and iframe tags cannot reach your pages.
Optional: let AI write the template
You do not need AI to use Data Connector, and nothing is locked behind it.
If you would rather describe a layout than write HTML, add your own API key for OpenAI, Anthropic Claude, or Google Gemini. The generator is given the field names your API returns — not the values — and writes an editable template from them. Requests go directly from your site to the provider you chose, on your own account. There is no EfficiencyNext subscription.
For developers
- One file, no external dependencies, PHP 8.0+
- Shortcodes accept per-use URL and template overrides
- URL parameters can come from the page’s query string, for detail pages such as
?id=42 - All CSS is scoped to one container, so nothing leaks into your theme
- Fully internationalized and translation ready
Your application owns the data. WordPress displays it. Data Connector keeps the two connected.
External services
This plugin connects to services outside your site. None of them are operated by EfficiencyNext, and the plugin sends nothing to EfficiencyNext.
The APIs you configure
For each data source you create, the plugin requests the API URL you entered and sends the credentials you configured for it. If the source uses OAuth 2.0, it also sends your client ID and client secret to the token URL you entered. This happens when a page showing that data is viewed and the cached copy has expired, when a background refresh runs, and when you click Preview API or Preview template. If the API URL contains a parameter such as {{id}}, that value is taken from the visitor’s page URL and included in the request. The terms and privacy policy that apply are those of whichever API you connect.
AI providers (optional)
Nothing is sent to an AI provider unless you save a provider API key on the AI Settings tab and then click Test Connection or Generate Template. When you do, the plugin sends your API key, the layout you chose, any instructions you typed, and the field names found in your API response to the one provider you selected. Values from your API response are not sent.
- OpenAI —
https://api.openai.com/— Terms of use, Privacy policy - Anthropic (Claude) —
https://api.anthropic.com/— Commercial terms, Privacy policy - Google Gemini —
https://generativelanguage.googleapis.com/— Gemini API terms, Privacy policy