diff --git a/cleanup.sh b/cleanup.sh index 194ab05..5a11ffb 100755 --- a/cleanup.sh +++ b/cleanup.sh @@ -8,6 +8,7 @@ if [ "$input" = "1" ]; then find ./ -type f -not -name ".git" -not -name 'install.sh' -not -name 'cleanup.sh' -not -name '.' -not -name 'acf.zip' -not -name 'README.md' ! -path '*/.git/*' -delete rm -rf wp-content/ rm -rf wp-includes/ + rm -rf wp-admin/ else echo "Stopped" fi diff --git a/install.sh b/install.sh index d2beda4..8c4ec7a 100755 --- a/install.sh +++ b/install.sh @@ -87,7 +87,15 @@ echo "Installing plugins" ./wp plugin install gosign-gallery-box-block --activate --allow-root > /dev/null ./wp plugin install polylang --activate --allow-root > /dev/null ./wp plugin install simple-custom-post-order --activate --allow-root > /dev/null -./wp plugin install wp-mail-smtp --activate --allow-root > /dev/null +./wp plugin install easy-wp-smtp --activate --allow-root echo "Activate BIJ1 theme" ./wp theme activate BIJ1 --allow-root + +echo "Create menus" +./wp menu create "Header menu" --allow-root +./wp menu create "Informatie" --allow-root +./wp menu create "Kom in actie" --allow-root +./wp menu create "Language" --allow-root +./wp menu create "Main" --allow-root +./wp menu create "Secondary" --allow-root