Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/mahidulislamtamim/wp-plugin-aide-demo-data/archive/refs/heads/main.zipWordPress plugin that imports curated demo content for demos, theme previews, and development sites.
Author: Aide
License: GPL-2.0-or-later
Requires: WordPress 6.0+, PHP 7.4+
Optional: WooCommerce (for products, customers, and orders)
Features
- Import blog/news posts with categories, tags, and featured images
- Import media from the Aide CDN (
wp.aide247.com) - When WooCommerce is active:
- Products with product photos from the CDN
- Customers with billing/shipping details and profile avatars
- Orders linked to demo products and customers
- Batched AJAX import with progress bar and live log
- Dynamic generation for large counts (above the curated package of 100, up to 5,000 by default)
- Remove Demo Data — deletes only items tagged by this plugin
- Re-import is safe: duplicate demo IDs are skipped
WooCommerce is optional. Without it, Media and Posts still work; WooCommerce cards stay disabled.
Installation
- Copy this folder to
wp-content/plugins/ - Activate Aide :: Demo Data Import in wp-admin
- Open Tools → Demo Data Import
Usage
Recommended import order:
- Media — lifestyle images used by posts
- Blog / News Posts
- Products — can also run alone; product images download automatically
- Customers — includes avatar photos
- Orders — needs products and customers first
Each card shows imported / remaining / max. The first 100 records per type come from curated JSON. Higher quantities are generated deterministically (cycling templates and CDN images).
Demo data
| Type | Curated | Max (default) | Content | Images |
|---|---|---|---|---|
| Media | 100 | 5000 | demo-data/media.json |
CDN media/*.jpg |
| Posts | 100 | 5000 | demo-data/posts.json |
CDN (+ media map) |
| Products | 100 | 5000 | demo-data/woocommerce/products.json |
CDN media/products/*.jpg |
| Customers | 100 | 5000 | demo-data/woocommerce/customers.json |
CDN avatars/*.jpg |
| Orders | 100 | 5000 | demo-data/woocommerce/orders.json |
— |
Image base URL: https://wp.aide247.com/aidedemodataimport/demo-images/
Imported entities are tagged with:
_demo_import_key=aidedemodataimport_demo_import_id= stable ID (e.g.demo-post-001)
Development structure
aidedemodata.php
├── includes/ # Core, AJAX, dynamic generator, importers
├── admin/ # Menu, controller, views
├── assets/ # Admin CSS/JS
├── demo-data/ # JSON catalogs (images served from CDN)
├── languages/ # POT file
├── uninstall.php
└── readme.txt # WordPress.org readme
Architecture notes: see doc/implementation-plan.md.
Hooks
aidedemodataimport_importers— register custom importersaidedemodataimport_before_import/aidedemodataimport_after_importaidedemodataimport_import_batch_size— default batch size (5)aidedemodataimport_demo_data_path— override demo-data directoryaidedemodataimport_demo_images_base_url— override CDN base URLaidedemodataimport_allowed_demo_image_hosts— allowlist for downloadsaidedemodataimport_max_import_total— max records per type (default 5000)aidedemodataimport_required_capability— defaultmanage_options
Text domain: aidedemodataimport
Changelog
1.0.0
- Initial release: media, posts, products, customers, orders
- Remote demo images from Aide CDN
- Dynamic generation for large import counts
- Batched AJAX import, cleanup, WordPress.org packaging files