From 4d8eb4be5a0e5dc1dea9097e3a8b23ab6b54869f Mon Sep 17 00:00:00 2001 From: Amir Arabnezhad Date: Mon, 26 Feb 2024 12:54:14 +0300 Subject: [PATCH] changed the location of blueprint file --- .wordpress-org/blueprints/blueprint.json | 56 ++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 .wordpress-org/blueprints/blueprint.json diff --git a/.wordpress-org/blueprints/blueprint.json b/.wordpress-org/blueprints/blueprint.json new file mode 100644 index 0000000..f73c81c --- /dev/null +++ b/.wordpress-org/blueprints/blueprint.json @@ -0,0 +1,56 @@ +{ + "landingPage": "/", + "preferredVersions": { + "php": "8.0", + "wp": "latest" + }, + "phpExtensionBundles": [], + "steps": [ + { + "step": "login", + "username": "admin", + "password": "password" + }, + { + "step": "installPlugin", + "pluginZipFile": { + "resource": "wordpress.org\/plugins", + "slug": "posts-data-table" + }, + "options": { + "activate": true + } + }, + { + "step": "runPHP", + "code": " 'news'));\nwp_insert_term( 'Tutorial', 'category', array( 'slug' => 'tutorial'));" + }, + { + "step": "runPHP", + "code": " 5,\n'post_title' => 'Sample post',\n'post_content' => '\n

You can show different columns in the Posts Table plugin.

\n',\n'post_status' => 'publish',\n'post_author' => 1\n, 'post_category' => [2] ));" + }, + { + "step": "runPHP", + "code": " 6,\n'post_title' => 'Different posts',\n'post_content' => '\n

You can show different content in the Posts Table plugin.

\n',\n'post_status' => 'publish',\n'post_author' => 1\n, 'post_category' => [3] ));" + }, + { + "step": "runPHP", + "code": " 7,\n'post_title' => 'Posts table',\n'post_content' => '\n

You can sort the columns data in the table.

\n',\n'post_status' => 'publish',\n'post_author' => 1\n, 'post_category' => [2] ));" + }, + { + "step": "runPHP", + "code": " 8,\n'post_title' => 'Search in table',\n'post_content' => '\n

Search anything in the table content.

\n',\n'post_status' => 'publish',\n'post_author' => 1\n, 'post_category' => [3] ));" + }, + { + "step": "runPHP", + "code": " 20,\n'post_title' => 'Posts data table',\n'post_content' => '\n

[posts_table]

\n',\n'post_status' => 'publish',\n'post_author' => 1,\n'post_type' => 'page'\n));\nwp_delete_post(2, true);" + }, + { + "step": "setSiteOptions", + "options": { + "show_on_front": "page", + "page_on_front": "20" + } + } + ] +} \ No newline at end of file