Switch smtp plugin, automatically create menus

This commit is contained in:
Jelle Hermsen 2021-12-03 09:54:48 +01:00
parent 90941fd1fe
commit 0c927aecc3
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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