Add google+ author relation link
If you don’t want to use a plugin you can add the google author relation link to your header with this snippet. Test it with google’s “rich snippets testing tool” – cheers to wpbeginner for the tip. Don’t forget to update the google author url
/** * Snippet Name: Add google+ author relation link * Snippet URL: https://wpcustoms.net/snippets/add-google-author-relation-link/ */ function wpc_add_google_rel_author() { echo ''; } add_action('wp_head', 'wpc_add_google_rel_author');