=== MrNiche Autoblogger AI ===
Contributors:      wpcontentflow
Tags:              ai, content generator, autoblog, blog automation, seo
Requires at least: 6.0
Tested up to:      6.9
Requires PHP:      7.4
Stable tag:        1.0.2
License:           GPL-2.0+
License URI:       https://www.gnu.org/licenses/gpl-2.0.html

Generate SEO-optimized blog posts with AI using your own OpenAI API key. Single-pass article writing plus optional DALL·E featured images.

== Description ==

**MrNiche Autoblogger AI** turns a category and a topic into a publish-ready WordPress post in about 30 seconds. You bring your own OpenAI API key — there are no per-article fees, no subscription, and no data passing through our servers. The plugin makes API calls directly from your WordPress site to OpenAI.

Use it to draft articles you'll polish by hand, populate a fresh site with starter content, or batch-generate a backlog of category-relevant pieces.

= How it works =

1. Add your OpenAI API key on the API & Integrations page.
2. Pick a WordPress category. The plugin asks the AI for ten SEO-friendly title ideas tailored to that category.
3. Tick the titles you like. Optionally add a short Content Brief — keywords, audience notes, things to mention or avoid.
4. Click Generate. Each article is written using a single chat completion (~800–1,200 words), saved as a draft (or published immediately if you prefer), and tagged with basic Article schema markup.
5. Optionally generate one DALL·E 3 featured image per article using the same OpenAI key.

= What this version includes =

* **Single-pass article writing.** One chat completion per article, ~800–1,200 words.
* **Optional DALL·E featured image.** Or text-only if you'd rather not pay for image credits.
* **Basic Article JSON-LD schema.** Output to the page <head> on singular post views.
* **Manual title generation per WordPress category.**
* **Logs view** for troubleshooting failed generations.

= Looking for more? =

If you want longer articles, anti-AI-detection writing, scheduled auto-publishing, or per-niche style profiles, **MrNiche Autoblogger Pro** at [wpaiautoblogger.com](https://wpaiautoblogger.com/?utm_source=wporg) adds:

* **Multi-pass writing** — outline → expand → humanizer pass for long-form articles (1,400–3,000 words).
* **Anti-AI-detection layers** — programmatic rules that target the patterns AI detectors flag (uniform paragraph length, "X isn't Y, it's Z" rhetorical tics, banned vocabulary, symmetric H2/H3 trees, generic openers/closers, fake first-person anecdotes).
* **AutoPilot** — daily / weekly cron-based auto-publishing.
* **Background generation queue** so long articles never time out on shared hosting.
* **Internal linking** to your existing posts.
* **FAQ + FAQPage schema** auto-generated from the article body.
* **Yoast / Rank Math** meta description and focus keyword injection.
* **Webhooks** (Zapier, Make, Slack, custom) with HMAC-signed payloads.
* **Writing-style profiles** — save multiple prompt sets (formal, conversational, technical, journalistic) and pick one per generation. Lite ships a single editable prompt set; Pro lets you save many.
* **Multi-image articles** with Unsplash, Imagine.art, and MonsterAPI as additional providers.
* **Content Calendar** view of scheduled posts.
* **Premium support.**

Pro is a one-time license (Single $19.99 / Triple $49 / Agency $199 / Unlimited $999), domain-locked, with one year of updates included.

= Privacy and data handling =

The plugin makes outbound API calls **directly from your WordPress server to OpenAI** at `https://api.openai.com/`. No content, prompts, API keys, or user data are sent to any other service — including wpaiautoblogger.com.

This plugin does not phone home for licensing, telemetry, analytics, or update checks. WordPress.org handles updates the standard way.

What gets sent to OpenAI on each generation:

* The category name (for title generation), or the article title plus your Content Brief (for article generation).
* Your stored system prompt and article prompt templates.
* Your OpenAI API key in the request `Authorization` header.

OpenAI's privacy policy and API data-handling terms apply: [openai.com/policies/privacy-policy](https://openai.com/policies/privacy-policy) and [openai.com/policies/api-data-usage-policies](https://openai.com/policies/api-data-usage-policies).

= Requirements =

* WordPress 6.0+
* PHP 7.4+
* An OpenAI API key with billing enabled (a few cents per article on GPT-5.4 Mini; less on GPT-5.4 Nano).

== Installation ==

1. Install through **Plugins → Add New** in your WordPress admin, or upload the `mrniche-autoblogger-ai` folder to `/wp-content/plugins/`.
2. Activate **MrNiche Autoblogger AI** through the **Plugins** screen.
3. Go to **MrNiche Autoblogger AI → API & Integrations** in the WP admin sidebar and paste your OpenAI API key. Get one at [platform.openai.com/api-keys](https://platform.openai.com/api-keys).
4. Pick a model (GPT-5.4 Mini is the recommended balance) and a default post author.
5. Optionally enable DALL·E 3 image generation.
6. Head to **Manual Posting** to generate your first article.

== Frequently Asked Questions ==

= Do I need an OpenAI account? =

Yes. The plugin calls the OpenAI API directly using your own key. You pay OpenAI for usage (typically a few cents per article). There are no plugin fees.

= How much does each article cost in OpenAI credits? =

With GPT-5.4 Mini (the default), expect roughly $0.005–$0.02 per article depending on length. GPT-5.4 Nano is even cheaper. GPT-5.4 and GPT-5.5 cost more but produce higher-quality output. DALL·E 3 image generation costs around $0.04 per image.

= Does this plugin phone home? =

No. The plugin makes API calls only to OpenAI. There is no licensing system, no telemetry, no update checks against our server. WordPress.org handles updates the standard way.

= Can I customize the prompts? =

Yes — go to **MrNiche Autoblogger AI → Prompt Studio**. You can edit the system prompt, title generation prompt, article generation prompt, and image generation prompt. Sensible defaults ship out of the box, and a Restore Defaults button is one click away. The Pro version additionally lets you save multiple named prompt sets (writing-style profiles) and pick one per generation.

= Do I need WP-Cron for scheduled publishing? =

Scheduled auto-publishing (AutoPilot) is a Pro feature. This plugin is manual-only — you click Generate when you want articles. Pro requires WP-Cron (enabled by default) to schedule background article generation.

= What happens to drafts created here if I upgrade to Pro? =

Nothing — drafts are normal WordPress posts. They stay exactly where they are when you upgrade. Pro adds new options for future articles but doesn't migrate or modify existing ones.

= Does it support Yoast / Rank Math / All in One SEO? =

This plugin emits a basic Article JSON-LD schema on singular post views. It doesn't write to Yoast / Rank Math meta fields — that's a Pro feature.

= Can I use this for client sites (agency)? =

Yes — both versions are GPL-2.0+. This plugin has no domain restriction. Pro licenses are domain-locked but the Agency plan covers 25 sites and Unlimited covers any number.

== Screenshots ==

1. Dashboard with the monthly counter and quick-start steps.
2. Manual Posting — title generation and article-selection flow.
3. Prompt Studio — full prompt customization (system, title, article, image prompts editable).
4. API & Integrations — model selection and image-source picker.

== Changelog ==

= 1.0.2 =
* Updated Pro upgrade references to the new "MrNiche Autoblogger Pro" brand name (was "WP AI AutoBlogger Pro"). The paid plugin has been renamed to unify branding across the free and Pro versions.
* No functional changes — your settings, prompts, and generated articles are unaffected.

= 1.0.1 =
* Cleaner Dashboard header (removed placeholder emoji).
* No functional changes.

= 1.0.0 =
* Initial release of MrNiche Autoblogger AI on WordPress.org.
* Single-pass article generation with your own OpenAI API key.
* Optional DALL·E 3 featured-image generation.
* Basic Article JSON-LD schema markup.
* Manual title generation per WordPress category.

== Upgrade Notice ==

= 1.0.2 =
Brand-consolidation update — Pro plugin renamed to "MrNiche Autoblogger Pro". No functional changes; safe to update.

= 1.0.1 =
Cosmetic polish — no functional changes.

= 1.0.0 =
First public release.
