| 开发者 |
indiajigar
Jigar Patel |
|---|---|
| 更新时间 | 2026年7月21日 13:30 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
post_meta (key: _ai_short_summary)/wp-content/plugins/jigar-patel-post-content-summary-with-ai/.Anthropic (Claude) and OpenAI out of the box. The API-calling logic is isolated in two functions (jppsai_call_anthropic() and jppsai_call_openai()), so adding another provider just means adding a similar function and a case in jppsai_call_ai_api().
In the wp_postmeta table, under the meta key _ai_short_summary, tied to the post ID.
No. The summary box is injected via the the_content filter and its styles via wp_head, so it works with any theme without editing template files.
It's automatically truncated at the nearest word boundary and an ellipsis is appended, both when displayed in the editor and again server-side when saved, so the stored value never exceeds the limit.
Yes. The text field is always editable — the AI button is a convenience, not a requirement.
By default it's enabled for the post post type. Other post types can be added via the jppsai_post_types filter, e.g.:
add_filter( 'jppsai_post_types', function( $types ) { $types[] = 'news'; return $types; } );
It's stored in the wp_options table (via the Settings API) and is never sent to the browser. Make sure your site runs over HTTPS and that only trusted admins have access to Settings → JP PostSummary With AI.