Created
January 2, 2015 18:56
-
-
Save dbspringer/bd4910b09501effb3949 to your computer and use it in GitHub Desktop.
How to add OpenID authentication for your self-hosted WordPress site.
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( 'wp_head', 'openid_delegate' ); | |
function openid_delegate() { | |
echo <<<HTML | |
<!-- OpenID Delegation --> | |
<link rel="openid.server" href="https://yoursite.wordpress.com/?openidserver=1"> | |
<link rel="openid.delegate" href="https://yoursite.wordpress.com/"> | |
HTML; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment