-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from bueltge/updates
Updates
- Loading branch information
Showing
39 changed files
with
2,452 additions
and
1,121 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#!/bin/bash | ||
|
||
wp plugin is-installed akismet && wp plugin uninstall akismet | ||
wp plugin is-installed hello && wp plugin uninstall hello |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
#!/bin/bash | ||
|
||
pushd "${DDEV_DOCROOT}" | ||
|
||
wp user create usite1 usite1@example.com --role=administrator --porcelain --url="${DDEV_PRIMARY_URL}/site1" | ||
wp user create usite2 usite2@example.com --role=administrator --porcelain --url="${DDEV_PRIMARY_URL}/site2" | ||
wp user create usite3 usite3@example.com --role=administrator --porcelain --url="${DDEV_PRIMARY_URL}/site3" | ||
wp user create usite4 usite4@example.com --role=administrator --porcelain --url="${DDEV_PRIMARY_URL}/site4" | ||
wp user create usite5 usite5@example.com --role=administrator --porcelain --url="${DDEV_PRIMARY_URL}/site5" | ||
|
||
wp site create --slug="site1" --email=usite1@example.com | ||
wp site create --slug="site2" --email=usite2@example.com | ||
wp site create --slug="site3" --email=usite3@example.com | ||
wp site create --slug="site4" --email=usite4@example.com | ||
wp site create --slug="site5" --email=usite5@example.com | ||
|
||
wp user set-role ${ADMIN_USER} administrator --url="${DDEV_PRIMARY_URL}/site1" | ||
wp user set-role ${ADMIN_USER} administrator --url="${DDEV_PRIMARY_URL}/site2" | ||
wp user set-role ${ADMIN_USER} administrator --url="${DDEV_PRIMARY_URL}/site3" | ||
wp user set-role ${ADMIN_USER} administrator --url="${DDEV_PRIMARY_URL}/site4" | ||
wp user set-role ${ADMIN_USER} administrator --url="${DDEV_PRIMARY_URL}/site5" | ||
|
||
wp plugin install user-switching --force --activate-network --version=1.7.0 | ||
|
||
wp plugin activate hello --url="${DDEV_PRIMARY_URL}/site2" | ||
wp plugin activate hello --url="${DDEV_PRIMARY_URL}/site4" | ||
|
||
wp theme install twentytwentyone --force | ||
wp theme install twentytwentytwo --force | ||
wp theme install twentytwentythree --force | ||
wp theme install twentytwentyfour --force | ||
|
||
wp theme enable twentytwentyfour --network | ||
wp theme enable twentytwentythree --network | ||
wp theme enable twentytwentytwo --network | ||
wp theme enable twentytwentyone --network | ||
|
||
cp "/var/www/html/.ddev/commands/favicon1.ico" "/var/www/html/.ddev/wordpress/wp-content/themes/twentytwentyone/favicon.ico" | ||
cp "/var/www/html/.ddev/commands/favicon2.ico" "/var/www/html/.ddev/wordpress/wp-content/themes/twentytwentytwo/favicon.ico" | ||
cp "/var/www/html/.ddev/commands/favicon3.ico" "/var/www/html/.ddev/wordpress/wp-content/themes/twentytwentythree/favicon.ico" | ||
cp "/var/www/html/.ddev/commands/favicon4.ico" "/var/www/html/.ddev/wordpress/wp-content/themes/twentytwentyfour/favicon.ico" | ||
|
||
wp theme activate twentytwentyfour --url="${DDEV_PRIMARY_URL}/site4" | ||
wp theme activate twentytwentythree --url="${DDEV_PRIMARY_URL}/site3" | ||
wp theme activate twentytwentytwo --url="${DDEV_PRIMARY_URL}/site2" | ||
wp theme activate twentytwentyone --url="${DDEV_PRIMARY_URL}/site1" | ||
|
||
|
This file was deleted.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,6 @@ vendor | |
.idea/ | ||
*.ipr | ||
*.iws | ||
|
||
# PHP Unit | ||
.phpunit.result.cache |
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
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
Oops, something went wrong.