EfficiencyNext Data Connector

Display external API data in WordPress posts and pages using placeholders, shortcodes, and templates.

Author:EfficiencyNext (profile at wordpress.org)
WordPress version required:6.0
WordPress version tested:6.9.4
Plugin version:1.0.0
Added to WordPress repository:03-03-2026
Last updated:27-03-2026
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:297
plugin download
Click to start download

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="<b>{{name}}</b>"] – Override the template
  • [effcncynxtdc_inline source="SourceName"] – For inline usage

Configuration

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

FAQ
ChangeLog