Skip to content

Commit

Permalink
Update blueprint.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jrtashjian committed Jan 23, 2025
1 parent 2b3fdca commit 6c3912c
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .wordpress-org/blueprints/blueprint.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"landingPage": "/wp-admin/post.php?post=6&action=edit",
"landingPage": "/wp-admin/post.php?post=4&action=edit",
"preferredVersions": {
"php": "8.0",
"wp": "latest"
Expand All @@ -11,6 +11,11 @@
"networking": true
},
"steps": [
{
"step": "login",
"username": "admin",
"password": "password"
},
{
"step": "installPlugin",
"pluginZipFile": {
Expand All @@ -21,10 +26,9 @@
"activate": true
}
},
{
"step": "login",
"username": "admin",
"password": "password"
}
{
"step": "runPHP",
"code": "<?php require_once 'wordpress\/wp-load.php';wp_insert_post(array('post_type' => 'omniform','post_status' => 'publish','post_name' => 'contact','post_title' => 'Contact','post_content' => '<!-- wp:group {\"layout\":{\"type\":\"default\"}} --><div class=\"wp-block-group\"><!-- wp:omniform\/response-notification {\"messageContent\":\"Success! Your submission has been completed.\",\"className\":\"is-style-success\"} \/--><!-- wp:omniform\/response-notification {\"messageContent\":\"Unfortunately, your submission was not successful. Please ensure all fields are correctly filled out and try again.\",\"className\":\"is-style-error\"} \/--><!-- wp:paragraph --><p>If you have any questions or comments, or if you\\'d like to work with me or collaborate on a project, please don\\'t hesitate to get in touch. I look forward to hearing from you!<\/p><!-- \/wp:paragraph --><!-- wp:omniform\/field {\"fieldLabel\":\"Your email address\",\"fieldName\":\"your-email-address\"} --><!-- wp:omniform\/label \/--><!-- wp:omniform\/input \/--><!-- \/wp:omniform\/field --><!-- wp:omniform\/field {\"fieldLabel\":\"Your message\",\"fieldName\":\"your-message\"} --><!-- wp:omniform\/label \/--><!-- wp:omniform\/textarea \/--><!-- \/wp:omniform\/field --><!-- wp:group {\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\"}} --><div class=\"wp-block-group\"><!-- wp:omniform\/button {\"buttonType\":\"submit\",\"buttonLabel\":\"Send Message\"} \/--><\/div><!-- \/wp:group --><\/div><!-- \/wp:group -->',)); ?>"
}
]
}
}

0 comments on commit 6c3912c

Please sign in to comment.