Plugin Directory

Changeset 3227160


Ignore:
Timestamp:
01/23/2025 04:25:02 AM (11 months ago)
Author:
jrtashjian
Message:

Updating readme/assets from GitHub

File:
1 edited

Legend:

Unmodified
Added
Removed
  • omniform/assets/blueprints/blueprint.json

    r3062690 r3227160  
    11{
    2     "landingPage": "/wp-admin/post.php?post=6&action=edit",
     2    "landingPage": "/wp-admin/post.php?post=4&action=edit",
    33    "preferredVersions": {
    44        "php": "8.0",
     
    1313    "steps": [
    1414        {
     15            "step": "login",
     16            "username": "admin",
     17            "password": "password"
     18        },
     19        {
    1520            "step": "installPlugin",
    1621            "pluginZipFile": {
     
    2227            }
    2328        },
    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        }
    2933    ]
    3034}
Note: See TracChangeset for help on using the changeset viewer.