=== SoftWin AI Summarize ===
Contributors: webxpressua
Tags: ai, summary, summarize, chatgpt, claude
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Stable tag: 1.5.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds a configurable AI summary widget before standard WordPress post content.

== Description ==

SoftWin AI Summarize adds a compact widget before standard WordPress post content. The widget lets readers open the current post URL in popular AI assistants and ask them to summarize the page.

Developed and maintained by SoftWin: https://softwin.io/

The plugin supports quick links for:

* ChatGPT
* Google AI
* Claude
* Perplexity
* Grok

The widget links to third-party services only when a visitor clicks an AI button. No background requests are made by the plugin.

Gemini does not currently support the direct prompt URL format used by this widget, so the Google AI button opens the prompt through the Google search panel.

Third-party services used by the widget:

* ChatGPT: https://chatgpt.com/
* Google Search / Google AI: https://www.google.com/
* Claude: https://claude.ai/
* Perplexity: https://www.perplexity.ai/
* Grok: https://grok.com/

From Settings > AI Summarize, site admins can:

* Enable or disable the plugin with a switcher.
* Show the widget at the beginning of posts.
* Show the widget at the end of posts.
* Change the widget title.
* Edit the AI prompt.
* Set widget alignment.
* Set top margin.
* Set bottom margin.
* Show or hide AI names next to the icons.

Automatic placement is intentionally limited to the standard `post` post type. The shortcode `[softaisu_summarize]` can still be used for manual placement where needed.

== Installation ==

1. Upload the `softwin-ai-summarize` folder to `/wp-content/plugins/`.
2. Activate the plugin through the Plugins screen in WordPress.
3. Open Settings > AI Summarize.
4. Configure placement, widget title, prompt, alignment, top margin, bottom margin, and AI labels.

== Frequently Asked Questions ==

= Does the plugin send post content to an external service automatically? =

No. The plugin only creates links that open third-party AI services with a prompt containing the current post URL. The visitor chooses whether to open those services.

= Where does the widget appear automatically? =

The widget can appear before and/or after the content of standard WordPress posts only.

= Can I place the widget manually? =

Yes. Use the shortcode `[softaisu_summarize]`.

= Can I show AI names next to the icons? =

Yes. Open Settings > AI Summarize and enable "Show AI names next to icons".

== Changelog ==

= 1.5.0 =
* Renamed internal class, option, settings group, and shortcode prefixes to SOFTAISU/softaisu for WordPress.org uniqueness requirements.

= 1.4.3 =
* Removed the duplicate Plugin URI header while keeping the SoftWin Author URI.

= 1.4.2 =
* Updated the WordPress.org contributor username to webxpressua.

= 1.4.1 =
* Updated plugin owner and contributor information to SoftWin.
* Added the official SoftWin website.

= 1.4.0 =
* Moved admin CSS and JavaScript to enqueued asset files.
* Moved frontend CSS to an enqueued stylesheet.
* Updated the WordPress.org contributor username.

= 1.3.5 =
* Fixed Plugin Check internationalization notice.
* Removed unexpected markdown file from the plugin package.

= 1.3.4 =
* Emphasized the Gemini compatibility note on the settings page.

= 1.3.3 =
* Restored the settings page service note to the standard description style.

= 1.3.2 =
* Made the supported services note more visible on the settings page.

= 1.3.1 =
* Added settings page description with supported services and Google AI/Gemini note.

= 1.3.0 =
* Added editable AI prompt setting with post URL and post title placeholders.

= 1.2.2 =
* Renamed the main setting to "Enable plugin" and changed it to a switcher.
* Smoothed the frontend hover animation.

= 1.2.1 =
* Replaced shortcode copy button text with an icon.
* Restored subtle hover lift while keeping shadows and rounding removed.

= 1.2.0 =
* Added top margin setting.
* Added shortcode preview and quick copy button on the settings page.
* Removed hover movement, shadow, and rounding from AI buttons across button states.

= 1.1.1 =
* Removed hover shadow and button rounding from the frontend widget.

= 1.1.0 =
* Added settings to show the widget at the beginning and/or end of posts.
* Fixed AI labels layout so names do not overlap when enabled.

= 1.0.0 =
* Initial release.
* Added automatic placement before standard Post content.
* Added settings for title, alignment, bottom margin, and AI labels.
* Added ChatGPT, Google AI, Claude, Perplexity, and Grok quick links.

== Upgrade Notice ==

= 1.5.0 =
Updates internal identifiers to use a unique plugin prefix.

= 1.4.3 =
Fixes duplicate Plugin URI and Author URI validation.

= 1.4.2 =
Updates the WordPress.org contributor username.

= 1.4.1 =
Updates the plugin owner information.

= 1.4.0 =
Improves WordPress.org compliance by enqueueing plugin assets.

= 1.3.5 =
Fixes Plugin Check report items.

= 1.3.4 =
Emphasizes the Gemini compatibility note on the settings page.

= 1.3.3 =
Restores the settings page service note style.

= 1.3.2 =
Improves visibility of the settings page service note.

= 1.3.1 =
Adds clearer service information on the settings page.

= 1.3.0 =
Adds editable AI prompt support.

= 1.2.2 =
Adds a clearer plugin enable switcher and smoother hover animation.

= 1.2.1 =
Restores subtle hover lift and updates shortcode copy control.

= 1.2.0 =
Adds top margin and shortcode copy controls.

= 1.1.1 =
Removes hover shadow and button rounding from the frontend widget.

= 1.1.0 =
Adds beginning/end placement controls and improves AI label layout.

= 1.0.0 =
Initial release.
