Content AI Summary

外掛說明

Generate AI-powered summaries for your posts using Gemini AI. Display clean summaries with a shortcode on any supported post type.

Features

  • Securely store a Gemini API key via the admin panel
  • Choose specific post types for AI-generated summaries
  • Automatically generate summaries on post save
  • Clean and simple admin interface under Settings > Gemini API Key
  • Shortcode [contaisu_summary] to display summaries on the front end
  • Modular plugin structure (admin/frontend/core separation)

Shortcode

Use [contaisu_summary] inside a post or template to display its AI-generated summary.

Admin Panel

Navigate to Settings > Gemini API Key in the WordPress admin:

  • Add or update your Gemini API Key
  • Choose which post types to enable for AI summaries

API Key Instructions

Obtain your Gemini API key from:

Note: API key must be at least 30 characters long.

Requirements

  • WordPress 6.0 or higher
  • PHP 7.0 or higher
  • Valid Google Gemini API Key

Release

  1. Initial release 1.0.0

License

This plugin is licensed under the GPLv2 or later. For more information, see https://www.gnu.org/licenses/gpl-2.0.html.

External Services

This plugin connects to Google’s Gemini API to generate AI-powered summaries of WordPress post content.

  • What is the service?
    The Gemini API is a language model developed by Google, capable of summarizing content in multiple languages.

  • What is it used for?
    It generates a short summary (3 bullet points) for WordPress posts, which is then displayed in the post editor as a meta box.

  • What data is sent?
    When a post is saved or when a summary is manually triggered, the plugin sends the post content (up to 3000 characters) to Google’s Gemini API.

  • When is data sent?
    Only when the user saves a post or manually clicks the “Regenerate Summary” button.

  • Where is data sent?
    To: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent

  • Service Provider:
    Google LLC

  • Terms of Service:
    https://policies.google.com/terms

  • Privacy Policy:
    https://policies.google.com/privacy

This external API is required for the plugin to function. If no API key is provided, no data is sent and no summaries are generated.

螢幕擷圖

  • Backend settings panel
  • Generate Content

安裝方式

  1. Upload the plugin to your /wp-content/plugins/ directory
  2. Activate it via the WordPress Plugins menu
  3. Go to Settings > Gemini API Key to enter your API key and select post types

常見問題集

Can I apply summaries to a specific post type?

Yes, you can choose which post types the AI summaries apply to from the plugin settings.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈Content AI Summary〉的開發相關工作。

參與者

將〈Content AI Summary〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • Initial release
  • Added shortcode [contaisu_summary] to render summaries as bullet points