=== HDEV Dummy Blog Generator ===
Contributors: hendridev
Tags: dummy, generator, testing, posts, blog
Requires at least: 6.5
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

Generate dummy blog posts (with categories and featured images) for development and testing.

== Description ==

HDEV Dummy Blog Generator is a lightweight developer tool that lets you quickly generate dummy blog posts for testing and development purposes.

Features include:

* Generate up to 20 dummy posts per batch with random titles, content, and categories.
* Optionally attach a featured image (remote placeholder via picsum.photos, with a local GD-generated fallback).
* Remove ALL posts created by this plugin in one click. Only posts, images, and categories created by this plugin are deleted; your real content is never touched.
* Safe removal system — every generated item is tagged with post meta, so cleanup is precise.

All CSS classes, JS functions, PHP functions/constants, and post meta use the `hdbg_` / `HDBG_` prefix to avoid conflicts.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/hdev-dummy-blog-generator` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Navigate to **Dummy Blog Gen** in your WordPress admin sidebar to start generating posts.

== Frequently Asked Questions ==

= Will this affect my existing posts? =
No. The plugin only manages posts, images, and categories that it creates. All generated items are tracked with a unique meta key. The removal tool only deletes items with that meta key.

= Is there a limit on how many posts I can generate? =
Each batch is limited to 20 posts to prevent server timeouts. You can run multiple batches.

= Where do the featured images come from? =
The plugin first tries to download a random image from picsum.photos. If that fails (e.g., no internet), it generates a local placeholder image using PHP's GD library.

== Screenshots ==

1. The main dashboard where you generate and remove dummy posts.

== Changelog ==

= 1.0.0 =
* Initial release.
