=== SureShare AI ===
Contributors: sureplugins
Tags: ai, chatgpt, claude, gemini, share
Requires at least: 6.1
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

AI-only share buttons. Let visitors summarize your posts with ChatGPT, Claude, Gemini and more — so your URL gets cited as the source.

== Description ==

SureShare AI adds lightweight, AI-only share buttons to your content. When a visitor clicks one, the AI opens with a ready-made prompt asking it to summarize your article and cite your URL as the source.

No social media buttons — SureShare AI is 100% dedicated to AI sharing and summarization.

**Features**

* 6 AI platforms: ChatGPT, Claude, Gemini, Google AI, Perplexity, Copilot
* 3 visual styles: Minimal, Brand colours, Icons-only
* Gutenberg block (server-side rendered)
* `[sureshare_ai]` shortcode
* Automatic insertion before or after content
* Customizable AI prompt with `{title}`, `{url}`, `{excerpt}` and `{language}` placeholders
* Per-post "hide buttons" control
* 7-day click analytics — no personal data collected
* Yoast SEO and Rank Math integration (auto-hide on noindex content)
* Selective asset loading — CSS/JS load only where buttons appear

== Installation ==

1. Upload the `sureshare-ai` folder to `/wp-content/plugins/`, or install via Plugins → Add New.
2. Activate the plugin.
3. Go to Settings → SureShare AI to choose platforms, style and placement.

== Frequently Asked Questions ==

= Does this add social media buttons? =
No. SureShare AI is intentionally AI-only — ChatGPT, Claude, Gemini and similar.

= Does it collect personal data? =
No. Click analytics store only the post ID, platform and timestamp. No IP addresses, no user identifiers.

= Will it slow down my site? =
No. The CSS and JS load only on pages where buttons actually appear, and total assets are a few kilobytes.

= Does it work with the block editor? =
Yes. There is a native SureShare AI block, plus the `[sureshare_ai]` shortcode for the classic editor.

= What happens if an AI changes its share URL? =
Each platform's URL lives in one small class. We ship a fix quickly when a provider changes.

= Is it translation-ready? =
Yes. All strings use the `sureshare-ai` text domain.

== External services ==

SureShare AI does not send any data to a third party on its own. The share buttons are plain links: when a visitor clicks one, their browser opens the chosen AI service in a new tab with a pre-filled prompt built from the current post's title, URL and a short excerpt. No request is made until the visitor clicks, and the action is entirely visitor-initiated.

The services a visitor may be sent to, and the data carried in the prompt (post title, URL, excerpt):

* ChatGPT (OpenAI) — https://chatgpt.com/ — Terms: https://openai.com/policies/terms-of-use/ — Privacy: https://openai.com/policies/privacy-policy/
* Claude (Anthropic) — https://claude.ai/ — Terms: https://www.anthropic.com/legal/consumer-terms — Privacy: https://www.anthropic.com/legal/privacy
* Gemini (Google) — https://gemini.google.com/ — Terms: https://policies.google.com/terms — Privacy: https://policies.google.com/privacy
* Google AI / Search (Google) — https://www.google.com/ — Terms: https://policies.google.com/terms — Privacy: https://policies.google.com/privacy
* Perplexity — https://www.perplexity.ai/ — Terms: https://www.perplexity.ai/hub/legal/terms-of-service — Privacy: https://www.perplexity.ai/hub/legal/privacy-policy
* Copilot (Microsoft) — https://copilot.microsoft.com/ — Terms: https://www.microsoft.com/servicesagreement — Privacy: https://privacy.microsoft.com/privacystatement

== Screenshots ==

1. SureShare AI buttons on a post.
2. The settings page.
3. The SureShare AI block in the editor.
4. The per-post visibility control.
5. The 7-day analytics panel.

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
