Customize the loading template
Use this guide if you want to load a custom loading template to replace the default loading bars that users will see when the WordPress + Office 365 plugin redirects them to Microsoft.
Before you start
- You must already have configured the single sign-on capability of the WordPress + Office 365 plugin.
- You must also already have configured the integration capability of the plugin.
- You are an Administrator for your WordPress website.
- You have at least the WPO365 | LOGIN+ extension installed (see https://www.wpo365.com/downloads/ for details).
Create a custom template
To create a custom template you can start with the following exemplary loading template.
Alternatively you can download it directly https://gist.github.com/wpo365/fdb5c47ad439bd79d2bbdf9e2a186619).
Configure the plugin
- Save your custom loading template locally on your computer and make sure that the file ends with .html e.g. loading-template.html or else it will be rejected by the plugin.
- Upload the custom loading template to the WordPress media library.
- Note the website relative URL of the custom loading template e.g. /wp-content/uploads/2020/10/loading-template.html and make sure you add the / at the beginning.
- Go to WP Admin > WPO365 > Login / Logout and scroll to the bottom.
- Paste the website relative URL of your custom loading template.
- Logout and test e.g. by navigating to your website.