Contents
Demo Data — Plugixa Recipe
Starting from an empty plugin install is intimidating. The Demo Data seeder drops in a complete sample site — 18 fully-populated recipes, 7 categories, 16 cuisines, likes, reviews, and 41 Unsplash images — in a single click.
Loading demo data
Navigate to Settings → Advanced → Demo data and click Load Demo Data. The seeder:
- Creates 7 categories with images.
- Seeds / updates 16 cuisines.
- Inserts 18 recipes spanning multiple cuisines, difficulties, and diets.
- Fills ingredients, instructions (grouped), nutrition rows.
- Adds likes, ratings, and a handful of reviews.
- Sideloads 41 Unsplash images into the media library.
All seeded records are flagged internally (via a convention on tags/meta) so you can remove them later without touching your real content.
Removing demo data
Click Remove Demo Data on the same panel. Only records created by the seeder are deleted — any edits you made to those recipes are preserved as separate records (the seeder doesn’t delete edited copies).
Why demo data matters
- Evaluate the plugin — see the grid, single recipe page, schema, and SEO analyzer with realistic content.
- Dev / staging — don’t write to production data by accident.
- Screenshots / docs — the same sample set is used to capture the screenshots in this documentation.
What the demo content covers
The 18 recipes are chosen to exercise every feature:
| Exercises | Recipe examples |
|---|---|
| Long ingredients list with groups | Lasagna Bolognese |
| Many instructions with per-step images | Sourdough Bread |
| Nutrition data | Everything |
| High rating with many reviews | Chocolate Chip Cookies |
| Low rating | One example (to test sort) |
| Video URL | Ramen |
| Gallery | Paella |
| Vegetarian + gluten-free diet flags | Mushroom Risotto |
| Vegan + sugar-free flags | Chickpea Curry |
| Featured flag | Moroccan Tagine |
| Editor’s pick | Thai Basil Beef |
| Meal plan assignment | Three breakfast, three lunch, three dinner |
Customizing the seeder
The seeder source is includes/class-demo-data.php. To customize:
- Edit the recipe data arrays directly — it’s designed for reading and forking.
- Add / remove cuisines in the
$cuisinesarray. - Replace the Unsplash image URLs with your own (the sideloader downloads whatever URLs you provide).
Re-run Load Demo Data after editing to get a refreshed seed.
Non-destructive
Loading demo data a second time detects existing demo records (by slug) and skips duplicates — it won’t reset any content you’ve edited.