Changeset 3441429
- Timestamp:
- 01/17/2026 04:51:56 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
eh-mortgage-calculator/assets/blueprints/blueprint.json
r3441426 r3441429 1 1 { 2 2 "$schema": "https://playground.wordpress.net/blueprint-schema.json", 3 "landingPage": "/ mortgage-calculator-demo",3 "landingPage": "/", 4 4 "login": true, 5 5 "preferredVersions": { … … 14 14 } 15 15 }, 16 17 16 { 18 "step": "installPlugin", 19 "pluginData": { 20 "resource": "wordpress.org/plugins", 21 "slug": "eh-mortgage-calculator" 22 }, 23 "options": { 24 "activate": true, 25 } 26 }, 27 28 { 29 "step": "runPHP", 30 "code": "<?php require_once '/wordpress/wp-load.php'; wp_insert_post(array('post_title' => 'Mortgage Calculator Demo', 'post_name' => 'mortgage-calculator-demo', 'post_content' => '[eh_mortgage_calculator]', 'post_status' => 'publish', 'post_type' => 'page')); ?>" 17 "step": "runPHP", 18 "code": "<?php require_once '/wordpress/wp-load.php'; update_option('ehmc_show_chart', 1); $page_id = wp_insert_post(array('post_title' => 'Mortgage Calculator Demo', 'post_name' => 'mortgage-calculator-demo', 'post_content' => '[eh_mortgage_calculator]', 'post_status' => 'publish', 'post_type' => 'page')); if ($page_id) { update_option('show_on_front', 'page'); update_option('page_on_front', $page_id); flush_rewrite_rules(); } ?>" 31 19 } 32 33 20 ] 34 21 }
Note: See TracChangeset
for help on using the changeset viewer.