Linux 软件免费装
Banner图

Live Data Display

开发者 berkux
更新时间 2026年3月31日 04:24
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv3
版权网址: 版权信息

标签

ajax json api live ticker auto-refresh

下载

1.2.7 2.0.0 1.0.0 2.0.1 1.2.6 1.2.2 1.2.4 1.1.0 1.2.0 1.2.1 1.2.5 1.2.3 1.2.10 1.2.8 1.2.9

详情介绍:

Live Data Display is a powerful WordPress plugin that loads JSON feeds via HTTP and displays live-updating values on your site — with no page reload required. Perfect for live tickers, stock prices, sports results, weather data, sensor readings, and any other real-time data source. Key Features: How It Works:
  1. Add a slot: Go to Settings → Live Data Display and create a slot.
  2. Enter the API URL: Paste the JSON feed URL. Use #GET_key# for dynamic GET parameters.
  3. Set the JSON path: Enter the dot-separated path to the value you need (e.g. items.0.score).
  4. Choose a proxy method (only needed for external/cross-origin URLs): admin-ajax or REST API proxy.
  5. Set the refresh interval: How often (in milliseconds) should the value be updated?
  6. Place the output: Use the shortcode [araa slot="slot_1"], the Gutenberg block, or a custom CSS/jQuery selector.
  7. Optional: Add prefix, suffix, placeholder, error text, and an initial-hide selector.
  8. Optional — enable REST API: To expose slot values via the plugin's own REST API endpoints, go to Settings → Live Data Display → API and activate the feature. The endpoints are disabled by default.
[youtube https://www.youtube.com/watch?v=mzQLX8xkfOU]

安装:

For detailed installation instructions, please read the standard installation procedure for WordPress plugins.
  1. Log in to your WordPress installation.
  2. Upload the plugin folder to /wp-content/plugins/.
  3. Activate the plugin through the Plugins menu.
  4. Click on Live Data Display in the left sidebar and configure your slots.
Where is this plugin from? Made in Munich, Bavaria, Germany — famous for Oktoberfest, FC Bayern Munich, the Allianz Arena, TU Munich, BMW, Siemens, the Alps, and much more.

屏幕截图:

  • Gutenberg block in the editor

升级注意事项:

2.0.1
  • Bugfix: Catch the fatal error if wp_generate_password is not available — the function may not be loaded early enough in WordPress.

常见问题:

Where can I see a live example?

Example on kux.de.

Can I display data from a protected API (with authentication)?

If the API requires authorisation headers, use the companion plugin JSON Content Importer to create an authenticated feed and point this plugin at the result.

What is the minimum refresh interval?

500 ms. Values below 500 ms are clamped to 500 ms automatically.

Does the plugin work without jQuery?

No. The frontend script depends on jQuery, which is bundled with WordPress.

What built-in API endpoints does the plugin provide?

The plugin ships with six optional REST API endpoints under the namespace araa/v1/api/. All are disabled by default and must be activated individually under Settings → Live Data Display → API. | Endpoint | Description | Optional parameters | |---|---|---| | /wp-json/araa/v1/api/time | Current server time, date, weekday, and timezone | — | | /wp-json/araa/v1/api/countdown | Countdown to a target date (days, hours, minutes, seconds) | to=YYYY-MM-DD (default: next New Year) | | /wp-json/araa/v1/api/random | Random integer in a configurable range | min=1&max=100 | All endpoints are publicly accessible (no authentication required) and return JSON.

When should I use "admin-ajax" and when "REST API" as the proxy method?

Both methods let the WordPress server fetch an external JSON URL on behalf of the browser, bypassing CORS restrictions. They differ in how the browser communicates with WordPress: admin-ajax (/wp-admin/admin-ajax.php)

  • The browser sends a POST request containing only the slot ID and a WordPress nonce. The external URL is never transmitted to the browser — it stays entirely on the server.
  • Secured with a WordPress nonce (CSRF protection) and server-side URL validation.
  • Works on every WordPress installation, including environments where the REST API is disabled by a security plugin or by the hosting provider.
  • Choose this when you want to keep the external URL (and any parameters or tokens embedded in it) hidden from the browser, or when the REST API is unavailable. REST API proxy (/wp-json/araa/v1/geturl)
  • The browser sends a GET request to a WordPress REST endpoint. The external URL is included in the request as a query parameter, signed with an HMAC-SHA256 key to prevent tampering. The WordPress server then fetches the external URL and returns the result.
  • Access to the endpoint is restricted to requests originating from the same server (localhost / server IP), so it is suited to local development environments or setups where WordPress makes internal loopback requests.
  • Requires the WordPress REST API to be accessible.
  • Choose this when you are running WordPress locally or in a controlled environment where loopback requests are used, and you prefer the modern REST API transport. In practice: for most live production sites the admin-ajax method is the safer and more compatible choice. The REST API proxy is the right pick for local development setups or when an admin-ajax conflict forces you to look for an alternative.

What happens when a slot's API request fails?

If an Error text is configured for the slot, it is displayed in place of the value. Otherwise the last successfully loaded value remains visible.

Will my settings be lost when I update the plugin?

No. Settings are stored in the WordPress database and survive updates. A migration routine automatically converts the old single-slot format from versions before 1.3.0.

更新日志:

2.0.1 2.0.0 1.2.10 1.2.9 1.2.8 1.2.7 1.2.6 1.2.5 1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.1.0 1.0.0