HDEV Dummy Blog Generator

描述

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.

屏幕截图

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

安装

  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.

常见问题

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.

评价

此插件暂无评价。

贡献者及开发者

「HDEV Dummy Blog Generator」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0.0

  • Initial release.