[docs] Adding ways of import data guide - #4032
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds a new “Import content with Blueprints” guide (including benchmarking and trade-offs) and updates existing content-provisioning docs and guide indexes to reference and align with the new guidance.
Changes:
- Added a new
import-content-with-blueprintsguide (EN + translations). - Updated “Providing content for your demo” guides (EN + translations) with clearer examples and cross-links.
- Linked the new guide from the guides index and sidebar navigation.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/docs/site/sidebars.js | Adds the new guide to the main guides sidebar navigation. |
| packages/docs/site/docs/main/guides/index.md | Links to the new import comparison guide from the main guides index. |
| packages/docs/site/docs/main/guides/import-content-with-blueprints.md | New EN guide describing/benchmarking WXR vs runPHP vs ZIP snapshot imports. |
| packages/docs/site/docs/main/guides/providing-content-for-your-demo.md | Expands EN content provisioning guide with improved examples and references to the new comparison guide. |
| packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/guides/index.md | Links to the new guide in the pt-BR guides index. |
| packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/guides/import-content-with-blueprints.md | New pt-BR guide (translation) for import comparison. |
| packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/guides/providing-content-for-your-demo.md | Updates pt-BR content provisioning guide with expanded examples and references. |
| packages/docs/site/i18n/it/docusaurus-plugin-content-docs/current/main/guides/import-content-with-blueprints.md | New it guide (translation) for import comparison. |
| packages/docs/site/i18n/it/docusaurus-plugin-content-docs/current/main/guides/providing-content-for-your-demo.md | Adds/updates it content provisioning guide with expanded examples and references. |
| packages/docs/site/i18n/fr/docusaurus-plugin-content-docs/current/main/guides/index.md | Links to the new guide in the fr guides index. |
| packages/docs/site/i18n/fr/docusaurus-plugin-content-docs/current/main/guides/import-content-with-blueprints.md | New fr guide (translation) for import comparison. |
| packages/docs/site/i18n/es/docusaurus-plugin-content-docs/current/main/guides/import-content-with-blueprints.md | New es guide (translation) for import comparison. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
zaerl
reviewed
Jul 13, 2026
zaerl
reviewed
Jul 13, 2026
zaerl
reviewed
Jul 13, 2026
zaerl
reviewed
Jul 13, 2026
zaerl
reviewed
Jul 13, 2026
zaerl
approved these changes
Jul 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds a comprehensive new guide comparing the main methods for importing content into WordPress Playground using Blueprints, and updates related documentation to clarify the available strategies and their trade-offs. The changes provide practical examples, pros and cons, and benchmarking data for XML (WXR), PHP, and ZIP-based imports, while also improving the clarity and completeness of existing guides on content provisioning.
New Guide: Importing Content with Blueprints
import-content-with-blueprints.md, that compares the three primary methods for importing content into WordPress Playground: WXR (XML export),runPHP(generated content), and ZIP snapshots. The guide includes detailed examples, pros and cons, and a reproducible benchmark for each method.Enhancements to Existing Content Provisioning Guide
providing-content-for-your-demo.mdto reference the new comparison guide and clarify the available Blueprint steps for importing content. Expanded and improved examples forimportWxr, including attachment handling, author mapping, and bundling strategies.importWordPressFiles, explaining ZIP creation, restoration, and security considerations, along with updated example usage.importThemeStarterContentandinstallThemeto clarify how starter content can be published, with improved code samples and explanations.wp-clisection to clarify usage, show how to combine withwriteFile, and provide clearer examples.