WP Manifestindependent plugin directory
manifest / ai / wp-editor-chatgpt-assistant

WP Editor ChatGPT Assistant

ChatGPT と会話しながら WordPress 記事作成を進められる、エディター連携型アシスタントプラグイン

by oventure · github.com/oventure-yasuda/wp-editor-chatgpt-assistant · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/oventure-yasuda/wp-editor-chatgpt-assistant/archive/refs/heads/main.zip

WordPress 投稿編集画面・固定ページ編集画面で ChatGPT と対話できるプラグインです。

インストール手順

  1. wp-editor-chatgpt-assistant フォルダを、WordPress の wp-content/plugins/ ディレクトリに配置します。
  2. WordPress 管理画面の「プラグイン > インストール済みプラグイン」に移動します。
  3. 「WP Editor ChatGPT Assistant」を有効化します。

設定方法

  1. 管理画面の「設定 (Settings) > AI Assistant」に移動します。
  2. OpenAI の API Key を入力して保存します。
  3. 使用するモデル (例: gpt-4o-mini) を選択し、保存します。

動作確認方法

  1. 「投稿 > 新規追加」または既存の投稿編集画面を開きます。
  2. 画面右側(または下部)に「AI Assistant (ChatGPT)」というパネルが表示されます。(高度な設定の中)
  3. テキストエリアに質問(例:「WordPressのSEO対策について教えて」)を入力し、「Send」ボタンを押します。
  4. ChatGPT からの応答がログエリアに表示されることを確認します。

カスタマイズ方法

  • UIの変更: assets/editor-chat.css を編集してデザインを調整できます。
  • プロンプトの調整: assets/editor-chat.js 内の system メッセージを変更することで、AIのキャラクターを変更できます。

権限

  • edit_posts 権限を持つユーザー(投稿者以上)のみがこの機能を使用できます。