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