Playground preview
The WordPress Playground Live Preview opens /xfn-demo/, a published page with five links that preserve their XFN rel values.
The blueprints
Section titled “The blueprints”assets/blueprints/blueprint.jsoninstalls and activates the directory plugin, enables Inspector Controls, and publishes the demo page..wordpress-org/blueprints/blueprint.jsonis the Live Preview asset used by the WordPress.org publishing workflows.- The root
blueprint.jsoninstalls the plugin and opens the new post editor. screenshots/docs-blueprint.jsonseeds demo content fornpm run screenshots:docsand the local preview below.
Run the preview locally
Section titled “Run the preview locally”npx @wp-playground/cli@latest server --auto-mount . --blueprint screenshots/docs-blueprint.json --login --port 9400Then open http://127.0.0.1:9400/xfn-demo/. This boots your working copy (no Docker) with the same demo content the Live Preview uses. Verified working on WordPress 7.0.1.
Verify the demo page
Section titled “Verify the demo page”The Blueprint removes save filters before inserting the demo page so the four inline links and the button keep their rel attributes. Inspect those five links on /xfn-demo/ and confirm the tooltips on WordPress 7.0 or later. See the XFN testing guide.
WordPress.org Live Preview
Section titled “WordPress.org Live Preview”The listing’s Live Preview button uses the Blueprint served from the plugin’s SVN assets. Keep the two Live Preview source copies in sync. Include the Blueprint in the next approved WordPress.org release or publish the Blueprint asset with separate approval.