Tag: WP CLI
-
Deployment and WordPress
There are many ways to deploy WordPress, but I’m going to cover a process that should work for most people, provides security, and makes life easier. I’ll be covering each part and how to implement it: Track the entire WordPress install with git Automatically deploy changes as they happen Use the master branch as production Automatic…
-
WordPress Bash Magic
I’ve been doing a lot of bash scripting with WordPress, especially with WP CLI. Here are some snippets I found useful. All my scripts assume a standard wp-config.php with DEFINE() statements and no unusual logic structures. A rogue constant with the name DB_NAME may throw things off without some modification. Getting the Database table prefix If you…