API Widgets – API to Table, Chart or HTML

外掛說明

Convert JSON API data into Tables, Charts or custom HTML with no code and then embed these on your website. After embedding, the data will update automatically at your chosen interval.

This plugin allows you to easily embed your Widgets from API Widgets into your WordPress website.

Works with APIs or JSON files. No coding required.

How It Works

  1. Visit the Converter at API Widgets.
  2. Connect to your API (or JSON file).
  3. Select either Table, Chart or custom HTML.
  4. Run the Converter.
  5. Customize your Table, Chart or HTML.
  6. Click Embed.
  7. Get the ID of your new Widget & embed into your site.

Use the shortcode or template tag wherever you want the Widget shown on your site.

Shortcode

Add this shortcode (using your own Widget ID) wherever you want the Widget displayed.

[api-widgets id="123"]

Template Tag

Add this template tag (using your own Widget ID) wherever you want the Widget displayed.

<?php api_widgets( 123 ); ?>

Documentation

螢幕擷圖

  • Connecting the data source
  • JSON API converted to a Chart
  • JSON API converted to a Table
  • JSON API converted to HTML
  • The embed options when publishing a Widget

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

  • API Widgets

安裝方式

Requirements

  • WordPress version 5.0 and later

Usage

  1. Once installed & activated, go to the page where you want the Widget embedded.
  2. You can use the template tag or shortcode to embed your Widget.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈API Widgets – API to Table, Chart or HTML〉的開發相關工作。

參與者

變更記錄

1.0.2 (2025-01-02)

  • Update text within admin page.

1.0.1 (2024-12-27)

  • Modify generic function names so they begin with api_widgets_

1.0.0 (2024-12-19)

  • Initial Version