Created
June 14, 2012 13:39
-
-
Save gregrickaby/2930356 to your computer and use it in GitHub Desktop.
Add Google Authorship info to WP <head>
This file contains hidden or 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', 'child_google_authorship', 99 ); | |
/** | |
* Add Google Authorship info to WP <head> | |
* | |
* @author Greg Rickaby | |
* @since 1.0.0 | |
*/ | |
function child_google_authorship() { ?> | |
<link rel="author" href="https://plus.google.com/XXXXXXXXXXXX/posts/">'; | |
<?php } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment