Last active
March 7, 2020 18:07
-
-
Save ShinichiNishikawa/14f2fbc6e5d6e8e7c6b4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wp core download | |
wp core config --dbname=sample --dbuser=root --dbpass=root | |
wp core install --url=http://example.dev --title="WordPress Sample Site" --admin_user=nishikawa --admin_password=pass [email protected] | |
wp plugin install show-current-template wp-basic-auth theme-check plugin-check wp-multibyte-patch --activate | |
wp plugin install wordpress-beta-tester jetpack contact-form-7 vk-all-in-one-expansion-unit | |
wp plugin delete hello | |
wp option update blogdescription "This is a new project!!" | |
wp option update posts_per_page 5 | |
wp option update thread_comments 1 | |
wp option update thread_comments_depth 3 | |
wp option update page_comments 1 | |
wp option update comments_per_page 5 | |
wp option update large_size_w '' | |
wp option update large_size_h '' | |
curl -O https://raw.githubusercontent.com/jawordpressorg/theme-test-data-ja/master/wordpress-theme-test-date-ja.xml | |
wp import ./wordpress-theme-test-date-ja.xml --authors=create | |
rm wordpress-theme-test-date-ja.xml | |
wp theme delete twentyten twentyeleven twentytwelve twentythirteen twentyfourteen | |
echo "apache_modules: - mod_rewrite" >> wp-cli.yml | |
wp rewrite structure '/%year%/%monthnum%/%postname%' --hard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment