Created
March 7, 2022 07:00
-
-
Save DKudleichuk/5f3848ff5d55c4405d70f5c38437d062 to your computer and use it in GitHub Desktop.
WordPress Demo Data Installation Script
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
#!/bin/bash -e | |
alias wp=/e/srv/wp-cli/wp.bat | |
PATH=$PATH:wp; | |
clear | |
echo "Installing WP Importer Plugin" | |
wp plugin install wordpress-importer --activate | |
curl -O https://raw.githubusercontent.com/WPTT/theme-unit-test/master/themeunittestdata.wordpress.xml | |
wp import themeunittestdata.wordpress.xml --authors=create | |
rm themeunittestdata.wordpress.xml | |
wp menu location assign short header_menu | |
read |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment