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.zipWordPress 投稿編集画面・固定ページ編集画面で ChatGPT と対話できるプラグインです。
インストール手順
wp-editor-chatgpt-assistantフォルダを、WordPress のwp-content/plugins/ディレクトリに配置します。- WordPress 管理画面の「プラグイン > インストール済みプラグイン」に移動します。
- 「WP Editor ChatGPT Assistant」を有効化します。
設定方法
- 管理画面の「設定 (Settings) > AI Assistant」に移動します。
- OpenAI の API Key を入力して保存します。
- 使用するモデル (例: gpt-4o-mini) を選択し、保存します。
動作確認方法
- 「投稿 > 新規追加」または既存の投稿編集画面を開きます。
- 画面右側(または下部)に「AI Assistant (ChatGPT)」というパネルが表示されます。(高度な設定の中)
- テキストエリアに質問(例:「WordPressのSEO対策について教えて」)を入力し、「Send」ボタンを押します。
- ChatGPT からの応答がログエリアに表示されることを確認します。
カスタマイズ方法
- UIの変更:
assets/editor-chat.cssを編集してデザインを調整できます。 - プロンプトの調整:
assets/editor-chat.js内のsystemメッセージを変更することで、AIのキャラクターを変更できます。
権限
edit_posts権限を持つユーザー(投稿者以上)のみがこの機能を使用できます。