A simple WordPress plugin to generate sample WordPress posts and WooCommerce products for testing and development purposes.
- Realistic Blog Posts: Generate quality blog content
- Custom Categories: Assign posts to specific categories or random ones
- Featured Images: Optional placeholder images for posts
- Bulk Generation: Create up to 100 posts at once
- Simple Products: Generate basic WooCommerce products with customizable pricing
- Variable Products: Create variable products with multiple attributes (color, size, etc.)
- Mixed Generation: Generate a mix of simple and variable products
- Customizable Options:
- Set the number of products to generate (1-100)
- Choose product type (simple, variable, or mixed)
- Assign to specific product categories
- Set base price with automatic variance
- Optional placeholder images
- User-Friendly Interface: Simple admin settings page in WordPress dashboard
- AJAX Generation: Non-blocking generation with progress tracking
- No WooCommerce Required: Post generation works independently
- Download and extract the plugin to
/wp-content/plugins/sample-data-generator/ - Go to Plugins in the WordPress admin
- Find "Sample Data Generator" and click Activate
- (Optional) Install and activate WooCommerce if you want to generate products
- Navigate to Sample Data in the WordPress admin menu
- Choose between Generate Posts or Generate Products tabs (Products tab only shows if WooCommerce is active)
- Select the Generate Posts tab
- Fill in the form fields:
- Number of Posts: How many posts to create (1-100)
- Category: Select a category or leave blank for random category
- Add Featured Images: Check to add placeholder images
- Click Generate Posts
- Monitor the progress bar
- Once complete, view the links to your newly created posts
- Select the Generate Products tab
- Fill in the form fields:
- Number of Products: How many products to create (1-100)
- Product Type:
- Simple Products - Standard products
- Variable Products - Products with variations (color, size, etc.)
- Mixed - 50/50 split of simple and variable
- Category: Select a category or leave blank for random category
- Base Price: The starting price (products will have ±30% variance)
- Add Random Product Images: Check to add placeholder images
- Click Generate Products
- Monitor the progress bar
- Once complete, view the links to your newly created products
- Realistic product names
- Random descriptions
- Stock management enabled (5-100 units)
- Pricing based on your base price
- Optional images
- Product name with "Variable" suffix
- 3 product variations per variable product
- Color and Size attributes
- Each variation has unique stock and pricing
- All variations are published and available
- WordPress: 5.0 or higher
- PHP: 7.4 or higher
- WooCommerce (Optional): Only required if you want to generate products
- Product categories should exist (or create one first)
- Maximum 100 products per generation session
- Images are downloaded from
https://via.placeholder.com/ - Product prices vary ±30% from the base price
- All products are published with stock management enabled
- Variable products include realistic variations with different colors and sizes
For issues or questions, check:
- You have proper permissions (Editor or Administrator)
- The plugin directory has write permissions
- If generating products: Ensure WooCommerce is installed and activated
- Initial release
- Support for simple products
- Support for variable products
- Settings page with customization options
- AJAX-based product generation
GPL v2 or later