Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions blueprints/custom-fields-snapshots/blueprint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"meta": {
"title": "Export/Import ACF Data",
"description": "Sets up an environment for exporting and importing Advanced Custom Fields (ACF) data with the Custom Fields Snapshots plugin.",
"author": "alex02",
"categories": ["Content", "CPT"]
},
"landingPage": "/wp-admin/tools.php?page=custom-fields-snapshots",
"steps": [
{
"step": "login"
},
{
"step": "installPlugin",
"pluginData": {
"resource": "wordpress.org/plugins",
"slug": "advanced-custom-fields"
},
"options": {
"activate": true
}
},
{
"step": "installPlugin",
"pluginData": {
"resource": "wordpress.org/plugins",
"slug": "custom-fields-snapshots"
},
"options": {
"activate": true
}
},
{
"step": "mkdir",
"path": "/wordpress/wp-content/plugins/example-custom-post-types"
},
{
"step": "writeFile",
"path": "/wordpress/wp-content/plugins/example-custom-post-types/example-custom-post-types.php",
"data": {
"resource": "url",
"url": "https://raw.githubusercontent.com/wordpress/blueprints/trunk/blueprints/custom-fields-snapshots/example-custom-post-types.php"
}
},
{
"step": "activatePlugin",
"pluginPath": "example-custom-post-types/example-custom-post-types.php"
},
{
"step": "importWxr",
"file": {
"resource": "url",
"url": "https://raw.githubusercontent.com/wordpress/blueprints/trunk/blueprints/custom-fields-snapshots/content-export.xml"
}
}
]
}
Loading