This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
.lds-grid{display:inline-block;position:relative;width:80px;height:80px}.lds-grid div{position:absolute;width:16px;height:16px;border-radius:50%;background:#000;animation:lds-grid 1.2s linear infinite}.lds-grid div:nth-child(1){top:8px;left:8px;animation-delay:0s}.lds-grid div:nth-child(2){top:8px;left:32px;animation-delay:-.4s}.lds-grid div:nth-child(3){top:8px;left:56px;animation-delay:-.8s}.lds-grid div:nth-child(4){top:32px;left:8px;animation-delay:-.4s}.lds-grid div:nth-child(5){top:32px;left:32px;animation-delay:-.8s}.lds-grid div:nth-child(6){top:32px;left:56px;animation-delay:-1.2s}.lds-grid div:nth-child(7){top:56px;left:8px;animation-delay:-.8s}.lds-grid div:nth-child(8){top:56px;left:32px;animation-delay:-1.2s}.lds-grid div:nth-child(9){top:56px;left:56px;animation-delay:-1.6s}@keyframes lds-grid{0%,100%{opacity:1}50%{opacity:.5}} | |
.centered{height: 80px;position: absolute;left: 50%;top: 50%;transform: translate(-50%, -50%);} | |
</style> | |
<div class="lds-grid centered"><div></div><div></div><div |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: WPO | SAMESITE | |
* Plugin URI: https://www.wpo365.com/downloads/wordpress-office-365-samesite/ | |
* Description: Plugin for WordPress websites that require a user to sign in (e.g. with Microsoft) and that are loaded inside an iframe (e.g. inside a Microsoft Teams App / Tab or similar). The plugin overrides the pluggable WordPress function wp_set_auth_cookie to set SameSite=None to enable third-party usage. | |
* Version: 1.0 | |
* Author: support@wpo365.com | |
* Author URI: https://www.wpo365.com/ | |
* License: GPL2+ | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<content> | |
<script id="jshelpers"> | |
</script> | |
<header id="header" type="x-handlebars-template"> | |
<style> | |
.pintraContacts, | |
.pintraContactsResults { | |
box-sizing: border-box; | |
font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<content> | |
<script id="jshelpers"> | |
if (!!window.wpo365 | |
&& 'registerHandlebarsHelper' in window.wpo365 | |
&& 'handlebarsSafeString' in window.wpo365 | |
&& 'moment' in window.wpo365) { | |
window.wpo365.registerHandlebarsHelper('formatSummary', | |
function (summary) { | |
return window.wpo365.handlebarsSafeString( | |
summary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: WPO365 Hooks (samples) | |
* Plugin URI: https://www.wpo365.com/downloads/wordpress-office-365-hooks/ | |
* Description: An example of a plugin that hooks into the various WPO365 login hooks. | |
* Version: 0.5 | |
* Author: marco@wpo365.com | |
* Author URI: https://www.wpo365.com | |
* License: GPL2+ | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<content> | |
<script id="jshelpers"> | |
if (!!window.wpo365 | |
&& 'registerHandlebarsHelper' in window.wpo365 | |
&& 'handlebarsSafeString' in window.wpo365 | |
&& 'moment' in window.wpo365) { | |
window.wpo365.registerHandlebarsHelper('formatSummary', | |
function (summary) { | |
return window.wpo365.handlebarsSafeString( | |
summary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'login_form', 'sign_in_with_microsoft', 10, 1 ); | |
function sign_in_with_microsoft( $input = '' ) { | |
?> | |
<!-- For details visit https://docs.wpo365.com/article/74-add-sign-in-with-microsoft-button-to-a-wordpress-login-form --> | |
<div> | |
<style> | |
.wpo365-mssignin-wrapper { | |
box-sizing: border-box; | |
display: block; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[wpo365-display-error-message-sc] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<content> | |
<script id="jshelpers"> | |
</script> | |
<header id="header" type="x-handlebars-template"> | |
<style> | |
.pintraItemCell { | |
position: relative; | |
outline: transparent; | |
min-height: 54px; | |
padding: 10px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<content> | |
<script id="jshelpers"> | |
if (!!window.wpo365 | |
&& 'registerHandlebarsHelper' in window.wpo365 | |
&& 'handlebarsSafeString' in window.wpo365 | |
&& 'moment' in window.wpo365) { | |
window.wpo365.registerHandlebarsHelper('formatSummary', | |
function (summary) { | |
return window.wpo365.handlebarsSafeString( | |
summary |
NewerOlder