Commit 2adaba75 authored by Sandeep Kadam's avatar Sandeep Kadam

221 - fixed missing plugin & config issue

parent c15a10e0
......@@ -73,7 +73,10 @@ vf-global-header-container
vf-latest-posts-block
vf-publications-block
vf-gutenberg
onelogin-saml-sso
vf-group-header-block
vf-jobs-block
vf-members-block
embl-group-site-roles
';
echo "VF Plugins - Activating VF Plugins"
......@@ -84,6 +87,9 @@ for PLUGIN in ${PLUGINS_LIST}; do
fi
done;
wp plugin install onelogin-saml-sso --activate
wp plugin install user-role-editor --activate
echo "=== VF plugin config ==="
if [ $(wp option get show_on_front) != 'page' ] ; then
echo "VF plugin config - setting config"
......@@ -239,7 +245,7 @@ TEAM_LONG_DESCRIPTION="<h1>${WP_GROUP_TEAM_SHORT_DESCRIPTION} <a href='about'>Re
# Set the Gutenberg HTML content for the homepage
IFS='' read -r home_page_content <<EOF
<!-- wp:acf/vf-group-header {"id":"block_5c65674caae4e","data":{"field_vf_block_custom":"1","field_acf/vf-group-header_clone":{"field_vf_group_header_heading":"${TEAM_LONG_DESCRIPTION}"}},"name":"acf/vf-group-header","mode":"preview"} /-->
<!-- wp:acf/vf-group-header {"id":"block_a474cc5f88","data":{"field_vf_block_custom":"0"},"name":"acf/vf-group-header","mode":"preview"} /-->
<!-- wp:acf/vf-latest-posts {"id":"block_5c65674caae4f","data":{"field_vf_block_custom":"0"},"name":"acf/vf-latest-posts","mode":"preview"} /-->
......
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