A Bash script for setting up a WordPress site, using WP-CLI.
Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
wp-setup-script.sh

README.md

WP Setup Script

A Bash script for setting up a WordPress site, using WP-CLI.

Requirements

Features

  • Set the site tagline
  • Activate project theme
  • Create a menu
  • Create admin and client users
  • Activate common plugins
  • Create a "Home" page and set it as the front page
  • Optional: Create a "Blog" page and add dummy posts
  • Optional: Create pages and sub-pages with a comma separated list
  • Kill all comments
  • Set permalink structure and timezone

How to Use

  1. Place the setup script at the root of your WordPress install.
  2. Run the script with - $ . wp-setup-script.sh project-name
  3. Answer the prompts.
  4. Enjoy your new WordPress site!

License

MIT © Kyle Brumm