Sample Saz – Demo Content Generator
v1.0.0Shayan Ramezani · 2026年11月27日 上架
Generate demo posts, WooCommerce products, and reviews using 100% offline local media with safe cleanup and live content protection.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 0
- 最近更新
- 2026年11月27日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+
贡献者
截图
Sample Saz – Demo Content Generator helps theme designers, store builders, and WordPress developers populate a site with realistic demo content in just a few clicks, test layouts thoroughly, and clean up demo data safely when finished.
All bundled assets (images, sample audio, styles, scripts, icons, and Persian RTL variable font) are stored 100% locally inside the plugin directory—no external CDN requests, no remote code loading, and no telemetry.
Key Features
- 100% Offline Local Assets: Works cleanly in air-gapped local environments and follows WordPress.org asset guidelines.
- Smart Media Reuse: Files in
assets/media/(post/,product/,music/) are scanned dynamically and uploaded to the Media Library only once per file, then reused in rotation to prevent duplicate thumbnails and save disk space. - Structured Demo Posts: Generates 400+ word Lorem Ipsum articles (Persian or English) with
<h2>,<h3>, and<h4>headings, featured and inline images, optional[audio]player shortcode, categories, tags, and SEO metadata. - WooCommerce Product Generator: Generates both Simple and Variable products with Color and Size attributes, 2–3 variations with distinct pricing, rotating 4+ image galleries, and smart currency-aware pricing (IRR Rial, IRT Toman, or standard decimal currencies) with random sale prices.
- Comments & Starred Reviews: Generates realistic Persian or English comments on posts and 3–5 star reviews on products while syncing WooCommerce rating caches.
- SEO Plugin Awareness: Automatically detects Yoast SEO and Rank Math SEO and populates focus keywords and meta descriptions.
- Preserve Live Content: Adds a sidebar meta box (“Live Content (Exit Demo Mode)”) on posts and products so edited items are protected from cleanup.
- Safe Batch AJAX Cleanup: Progress bar with live percentage and console log, plus an option to permanently delete demo media files (automatically skipping any media referenced by preserved live content).
Credits & Licenses
- Bundled Sample Media (
assets/media/post/*.webp,assets/media/product/*.webp,assets/media/music/*.mp3): Created specifically for Sample Saz and dedicated to the public domain under CC0 1.0 Universal (CC0 1.0). - Vazirmatn Variable Font (
assets/fonts/vazirmatn/Vazirmatn-wght.woff2): By Saber Rastikerdar (rastikerdar/vazirmatn, v33.003), licensed under the SIL Open Font License 1.1 (OFL-1.1). Seeassets/fonts/vazirmatn/OFL.txt. - Icons: Uses WordPress core Dashicons and original lightweight inline SVGs.



