Changeset 3227160
- Timestamp:
- 01/23/2025 04:25:02 AM (11 months ago)
- File:
-
- 1 edited
-
omniform/assets/blueprints/blueprint.json (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
omniform/assets/blueprints/blueprint.json
r3062690 r3227160 1 1 { 2 "landingPage": "/wp-admin/post.php?post= 6&action=edit",2 "landingPage": "/wp-admin/post.php?post=4&action=edit", 3 3 "preferredVersions": { 4 4 "php": "8.0", … … 13 13 "steps": [ 14 14 { 15 "step": "login", 16 "username": "admin", 17 "password": "password" 18 }, 19 { 15 20 "step": "installPlugin", 16 21 "pluginZipFile": { … … 22 27 } 23 28 }, 24 { 25 "step": "login", 26 "username": "admin", 27 "password": "password" 28 } 29 { 30 "step": "runPHP", 31 "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 -->',)); ?>" 32 } 29 33 ] 30 34 }
Note: See TracChangeset
for help on using the changeset viewer.