Last active
August 1, 2018 09:32
-
-
Save DriftwoodJP/df521cc29313fe5747aa9784e22ea415 to your computer and use it in GitHub Desktop.
To set options in WordPress
This file contains 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
#!/bin/bash | |
wp option update siteurl 'https://stg.example.com/wordpress' | |
wp option update home 'https://stg.example.com/wordpress' | |
wp option update blogname 'foo' | |
wp option update blogdescription '' | |
wp option update timezone_string 'Asia/Tokyo' | |
wp option update date_format 'Y/m/d' | |
wp option update time_format 'H:i' | |
wp option update permalink_structure '/blog/%year%/%monthnum%/%day%_%post_id%.html' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment