HajimeCreate Text Weaver API Integration

Description

HajimeCreate Text Weaver API Integration is a plugin that fetches text from an external API and displays it on your WordPress site using a shortcode.

  • Output text fetched from API with the shortcode [hajimecreate_text_weaver_api label=»»]
  • Manage API key and cache time from the admin settings
  • Test mode available (shows dummy response)
  • Errors are hidden or notified in the admin panel

Text Weaver APIは、外部APIからテキストを取得し、WordPressサイト上にショートコードで表示できるプラグインです。

  • ショートコード [hajimecreate_text_weaver_api label=»»] でAPIから取得したテキストを出力
  • APIキー・キャッシュ時間などの管理画面設定
  • エラー時は非表示または管理画面で通知

Usage

You can use the following shortcode in posts, pages, or widgets:

[hajimecreate_text_weaver_api label=»label_name»]

– label: Specify the label name for the text you want to fetch from the API.
– cache_time: (Optional) Set the cache time in seconds. If omitted, the admin setting is used.

Example:
[hajimecreate_text_weaver_api label=»greeting»]

投稿や固定ページ、ウィジェットなどで以下のショートコードを利用できます。

[hajimecreate_text_weaver_api label=»ラベル名»]

– label: APIから取得したいテキストのラベル名を指定します。
– cache_time: (任意)キャッシュ時間(秒)を指定できます。未指定時は管理画面の設定値が使われます。

例:
[hajimecreate_text_weaver_api label=»greeting»]

Admin Features

– Set API key
– Set cache time
– Toggle test mode (shows dummy response)
– Test API connection

– APIキーの設定
– キャッシュ時間の設定
– API接続テスト

License

GPLv2 or later

Arbitrary section

– This plugin works with the external service «Text Weaver».
– An API key is required to use the service.

– 本プラグインは外部サービス「Text Weaver」と連携します。
– サービスの利用には別途APIキーが必要です。

Installation

  1. Upload the plugin files to the /wp-content/plugins/hajimecreate-text-weaver-api-integration/ directory.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Go to ‘Settings’ > ‘Text Weaver API’ and set your API key.

  4. プラグインファイル一式を /wp-content/plugins/hajimecreate-text-weaver-api-integration/ ディレクトリにアップロードします。

  5. WordPress管理画面の「プラグイン」から「HajimeCreate Text Weaver API Integration」を有効化します。
  6. 管理画面「設定」>「Text Weaver API」よりAPIキーを設定してください。

FAQ

Q. Where can I get the API key?
A. You can issue an API key from the Text Weaver main service admin panel.

Q. What happens if there is an error?
A. If the API key is not set or there is an API error, the error message is hidden or notified in the admin panel.

Q. How does the cache work?
A. The API response is temporarily saved using the cache_time attribute or the value set in the admin panel (in seconds).

Q. APIキーはどこで取得できますか?
A. Text Weaver本体サービスの管理画面から発行できます。

Q. エラー時の挙動は?
A. APIキー未設定やAPIエラー時は、エラーメッセージが非表示または管理画面に通知されます。

Q. キャッシュはどのように動作しますか?
A. cache_time属性または管理画面の設定値(秒)でAPIレスポンスを一時保存します。

Reviews

There are no reviews for this plugin.

Contributors & Developers

“HajimeCreate Text Weaver API Integration” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.1

  • Improved logging system:
    • Removed development debug code (error_log)
    • Added proper error notification via admin email
    • Enhanced admin dashboard notifications
    • Implemented database-based log management
  • ログシステムの改善:
    • 開発用デバッグコード(error_log)の削除
    • 管理者メールによる適切なエラー通知の追加
    • 管理画面での通知機能の強化
    • データベースベースのログ管理の実装

1.0.0

  • Initial release
  • 初回リリース