=== AddonLogic Dummy Lorem Content Generator ===
Contributors: snehalpancholi
Tags: lorem ipsum, dummy content, placeholder, testing, development
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
Stable tag: 1.0.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Quickly bulk-generate placeholder posts, pages, or custom post types with lorem ipsum content and optional colour-block featured images for testing and development.

== Description ==

AddonLogic Dummy Lorem Content Generator is an admin tool for developers and site builders who need realistic placeholder content fast — without filling in posts by hand.

**Features:**
* Generate 1–100 posts per run across any public post type
* Configurable title pattern with `{n}` sequential placeholder
* 1–20 paragraphs of lorem ipsum content per post
* Optional category assignment (posts only)
* Optional auto-generated colour-block PNG featured image (requires PHP GD)
* All generated posts are tagged with a hidden meta key `_addlc_dlg_dummy = 1`
* One-click "Delete All Dummy Content" removes all generated posts and their featured images
* Live count of dummy posts on the Tools page
* Confirmation prompts before generate and delete to prevent accidents

**Important:** This tool writes real published posts to the database. Use on staging/development environments only, or delete all dummy content before going live.

== Installation ==

1. Upload the `dummy-lorem-content-generator` folder to `/wp-content/plugins/`.
2. Activate via **Plugins > Installed Plugins**.
3. Go to **Tools > Dummy Content** to generate or delete placeholder content.

== Frequently Asked Questions ==

= Are dummy posts deleted when I uninstall the plugin? =
No. Use the "Delete All Dummy Content" button on the Tools page **before** uninstalling to clean up. This lets you review what will be removed first.

= Does image generation require anything extra? =
It requires PHP's GD extension (most hosting includes it). If GD is unavailable, the checkbox is disabled and posts are created without featured images.

= How does the plugin know which posts are dummy? =
Every generated post has post meta `_addlc_dlg_dummy = 1`. The delete function queries that meta key and permanently deletes all matching posts.

= Can I regenerate with the same title pattern? =
Yes. Each run generates posts numbered `{1…count}` from that run. If you run 5 posts twice, you get two sets of posts with titles #1–5 each.

== Screenshots ==

1. Tools > Dummy Content admin page showing generate form and delete panel.
2. Generated dummy posts in the WordPress post list.
3. Colour-block placeholder featured image.

== Changelog ==

= 1.0.0 =
* Initial release.
