=== Smart-Copy Connector ===
Contributors: smartcopy
Tags: ai, content, autoblog, seo, content-generation
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 2.6.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Order AI-written, researched articles with featured images right from wp-admin and publish them automatically — powered by Smart-Copy.ai.

== Description ==

Smart-Copy Connector brings the [Smart-Copy.ai](https://www.smart-copy.ai) content platform into your WordPress admin:

* **Order texts from wp-admin** — pick a topic, type (article, blog post, product description and more), length, language, SEO keywords and links, and Smart-Copy researches live web (and academic) sources, writes the text section by section and generates an AI featured image.
* **Automatic publishing** — finished texts are published on your site automatically: immediately, as drafts, or scheduled for a date you choose.
* **Autoblog** — the plugin auto-detects your site's topic (title, tagline, categories, existing posts), Smart-Copy plans a 20-topic content cluster with competitor research and publishes texts at your chosen weekly pace.
* **Firewall-proof delivery** — texts are delivered by a pull mechanism (your site checks in every 5 minutes), so it works even on shared hostings that block incoming cloud traffic.
* **Bilingual interface** — the plugin follows your WordPress language (English/Polish) and shows prices in USD or PLN accordingly.

A Smart-Copy.ai account is required. Each ordered text is billed from your Smart-Copy account balance; failed generations are refunded automatically.

== External services ==

This plugin connects to the **Smart-Copy.ai API** (https://www.smart-copy.ai) — it is required for every feature of the plugin (ordering texts, delivering finished content, account balance, Autoblog).

Data sent to Smart-Copy.ai:

* your site's connection key (generated by this plugin) — with every request, to authenticate the site;
* order details you type into the form (topic, length, guidelines, SEO keywords/links, source URLs);
* a public site profile (site title, tagline, category names, recent post titles and short excerpts) — sent during periodic check-ins and when launching autoblogging, so Smart-Copy can detect your site's topic;
* exchange-rate and balance requests tied to your Smart-Copy account.

This data is sent only to Smart-Copy.ai and is covered by the Smart-Copy [Terms of Service](https://www.smart-copy.ai/terms) and [Privacy Policy](https://www.smart-copy.ai/privacy). No data is sent anywhere without the plugin being connected to a Smart-Copy account.

== Installation ==

1. Install and activate the plugin.
2. Go to **Settings → Smart-Copy** and copy the connection key.
3. In your [Smart-Copy.ai](https://www.smart-copy.ai) dashboard, add your site (Connect a site → plugin method) and paste the key.
4. A new **Smart-Copy** menu appears in wp-admin — order your first text or launch autoblogging.

== Frequently Asked Questions ==

= Do I need a Smart-Copy.ai account? =

Yes. Texts are generated and billed by Smart-Copy.ai; the plugin is the bridge between your site and your account.

= How much does a text cost? =

Pricing is per 1000 characters (see current pricing at smart-copy.ai). The plugin always shows the price before you order, and failed generations are refunded automatically.

= My hosting blocks incoming connections — will publishing work? =

Yes. The plugin uses a pull mechanism: your site checks Smart-Copy for finished texts every 5 minutes over an outgoing connection, which shared hostings do not block.

= What happens when I uninstall the plugin? =

The plugin removes its options and scheduled tasks. Published posts stay untouched. Your Smart-Copy account and its balance are not affected.

== Changelog ==

= 2.6.1 =
* Product descriptions: you can now write the main description and the short description in one go — tick one or both, each with its own length.
* Volume discount on product descriptions ordered together (25+ products −25%, 100+ −45%, 500+ −60%, 2000+ −70%) — the same tiers as in the Smart-Copy dashboard; the estimate on the Product descriptions screen shows it before you confirm.
* Translations are handled by translate.wordpress.org.

= 2.6.0 =
* WooCommerce: existing product photos (featured image and gallery) are sent along with the order, so the generated description can mention what is actually visible — shape, material, finish.

= 2.5.0 =
* Text types are now filtered by where the text goes: blog-post types for posts, shop types for product descriptions. Formats that are not WordPress content (social posts, marketing e-mails) stay in the dashboard and API.
* Own featured image: when the AI image is switched off you can pick an image from the WordPress media library instead.
* WooCommerce: you can also set a product image for products that do not have one yet (existing photos are never touched).
* The autoblog and order form now use the same names for the same text types.
* Added a discreet link to the guide explaining how the plugin works.

= 2.4.0 =
* WooCommerce: generated text can now be written into a product description (main or short) instead of creating a blog post.
* New screen "Product descriptions": pick many products at once, see which ones lack a description, set the length once and order the whole batch — with the cost shown before you confirm.
* Product photos are never overwritten — a generated image is only set when the product has no thumbnail yet.
* The leading H1 is stripped from product descriptions (the product name already opens the page).

= 2.3.0 =
* WordPress.org directory release: full gettext internationalisation (English/Polish), readme, uninstall cleanup.

= 2.2.0 =
* Autoblog auto-detects the site's topic (title, tagline, categories, recent posts).
* Bilingual UI following the WordPress site language; prices in USD/PLN.

= 2.1.0 =
* Full order form (9 text types, custom length, research source modes, SEO links, own source URLs).
* Autoblog section in wp-admin (launch, pause, resume).

= 2.0.0 =
* Order texts directly from wp-admin via the Smart-Copy public API; account balance and recent texts list.

= 1.2.0 =
* Scheduled publishing (future posts with a date).

= 1.1.0 =
* Pull delivery mode for hostings that block incoming cloud traffic.

= 1.0.0 =
* Initial release: connection key, automatic publishing with featured images.
