Commit 4188f5d5 authored by Sandeep Kadam's avatar Sandeep Kadam

Change the sequence of plugiin activation

parent 0463e57f
......@@ -50,6 +50,12 @@ if [ "${WP_NEED_BLANK_SITE}" = "Yes" ]; then
wp option update default_comment_status closed
fi
echo "Download external VF-WP plugins"
wget --no-check-certificate -O vfwp-external-plugins-master.zip https://github.com/visual-framework/vfwp-external-plugins/archive/master.zip &&
unzip vfwp-external-plugins-master.zip && mv ./vfwp-external-plugins-master/* ./wp-content/plugins/ &&
rm -rf vfwp-external-plugins-master
# List of Array for default VF plugins
PLUGINS_LIST='
advanced-custom-fields-pro
......@@ -79,12 +85,6 @@ for PLUGIN in ${PLUGINS_LIST}; do
fi
done;
echo "Download external VF-WP plugins"
wget --no-check-certificate -O vfwp-external-plugins-master.zip https://github.com/visual-framework/vfwp-external-plugins/archive/master.zip &&
unzip vfwp-external-plugins-master.zip && mv ./vfwp-external-plugins-master/* ./wp-content/plugins/ &&
rm -rf vfwp-external-plugins-master
echo "Activating header/footer theme based plugins"
# Activate header/footer based on the theme given
if [ "$site_theme" = EBI* ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment