Coolest Guides on the Planet

coolest guides on the planet

Coolest Guides On The Planet

  • Home
  • macOS
  • WebDev
  • All Posts
  • Contact

Adding in Google Plus Authorship and Publisher Profile to Genesis WordPress Theme

June 27, 2014 4 Comments

Google-Plus-LogoTo get your Google Plus Authorship profile active on a Genesis Theme on  a WordPress site you need to set yourself up as a contributor to that site via your Google plus profile, then include your Google Plus profile URL in your sites <head></head> section wrapped in a link tag with the rel=”author” or in the case of a Google+ Business page  rel=”publisher” attribute set. Like so:

<link rel=”author” href=”https://plus.google.com/100574451041083020591“/> or <link rel=”publisher” href=”https://plus.google.com/100574451041083020591“/>

You may also have or be eligible for a named Google+ URL , if you can get one, use it!

Your site may also require both Google relationship tags if you have a both a business page and are the author.

Getting Authorship Relationship done in Google

In your Google account go to your Google Plus Page, then go to Home… ->

google-plus-page-links

-> Profile  -> then below your hero pic go to the
-> About link  -> then scroll further down and look for the Links box and go to
-> Edit

google-plus-autor-link

Then add in the URL and name the site that your want your Google author/contributor relationship linked to. Once this is done you are ready to add it in to your regular WordPress or Genesis theme.

The actually URL you add is the one in the address location field in the browser of Google+ so it may appear like – https://plus.google.com/u/0/107574451041083020591/about you can just truncate it to https://plus.google.com/107574451041083020591/

Getting Publisher Relationship done in Google

google-plus-page-publisher

Log into your Google+ profile and go down the menu to Pages and follow the resulting wizard. You will end up with a unique Google+ URL specifically for your new page.

But first lets look at the 2 variations of the Google+ relationship you can have on your site,  known as author and publisher.

What’s the difference between rel=author vs rel=publisher?

rel=publisher helps a business create a shared identity by linking the business’ website (often from the homepage) to the business’ Google+ Page. rel=author helps individuals (authors!) associate their individual articles from a URL or website to their Google+ profile. While rel=author and rel=publisher are both link relationships, they’re actually completely independent of one another. – Source

So publisher is really for a Google+ Business Page and author promotes  a Google+ profile of an author, one is for the business or brand the other for the writer.

 

Adding the Google Profile in a Genesis Child Theme using Genesis SEO

goopgle-plus-publisher-url

There is a setting in the SEO UI of Genesis where you just paste in your Google+ Business Page Profile URL and save, this will include  the publisher relationship meta tag, just on the front page of the site, not the author tag.

To include the author tag on all posts you need to fill in the Google+ field in the WP dashboard > Users > Your Profile > Contact Info, as below.

google-plus-author-tag

But you may also want the author tag to also appear on the home page and all the pages as well as the posts. This is something that the Yoast WordPress SEO plugin if used in Genesis handles very well as explained below.

But you can also get this working in Genesis without Yoast plugin by declaring a function and action in your functions.php file.

function cgp_google_author() {
	if (is_front_page () || is_page() || is_category() )
	echo "<link rel=\"author\" href=\"http://plus.google.com/+NeilGee\" />\n";
}
add_action ('genesis_meta','cgp_google_author');

The code above will  include the author tag in  the home page, regular pages as well your category pages, if you rank for category pages then best to put in, if you don’t want the tag in categories remove the  || is_category() from the code.

 

Adding the Google Authorshp via Yoast WordPress SEO either in a regular WordPress or Genesis Theme

If you have a non-genesis WordPress theme there are a few plugins that can get the Google+ authorship going , I typically just use Yoast WordPress SEO which also puts a Google+ field in WP dashboard > Users > Your Profile > Contact Info

google-plus-author-tag-plugin

 

Fill that in, then go to SEO >Google+(tab) > Author for HomePage select the user to be used for the home page, which uses the rel=author tag

google-plus-yoast-author-tag-plugin

As well as the home page it will also include the author tag on posts and pages.

google-plus-yoast-publisher-tag-plugin

You will also notice that their is a field for the Google+ Publisher URL link, which if you have a Google+ Business Page then also add that in and the publisher meta tag will display in home, post and pages alongside the author meta tag the great thing about this is that all the Google+ meta tags are rendered in the head section.

Yoast WordPress SEO can also easily be used in all Genesis themes, once you activate the plugin the inbuilt Genesis SEO features are simply disabled.

If you don’t use Yoast WordPress SEO or can’t find a suitable plugin for Google Authorship and use a non-Genesis theme you can also add a function and action to your functions.php file to add the tags to your head section…

function cgp_google_authorwp() {
	if (is_front_page () || is_page() || is_category() || is_single() )
	echo "<link rel=\"author\" href=\"http://plus.google.com/+NeilGee\" />\r\n
	<link rel=\"publisher\" href=\"http://plus.google.com/+NeilGee\" /> \r\n";
}
add_action ('wp_head','cgp_google_authorwp');

Just change your Google+ URLS above to suit and page templates. Also escape the internal double quotes with a back slash \

Closing The Loop

To test that your Google meta tags are working properly, Google provides a rich snippets data structure tool which you can enter your URL and verify if author and publisher meta tags are working ok.

google-data-structure-tool

google-data-structure-tool-publisher

As of 26th June 2014, Google has announced that they are dropping the profile image and circle count from the search result listings, this is for both cosmetic and leveling the playing field reasons. However the importance of Google authorship remains the same, in my opinion it’s still a must do to build your authority within your field.

Cats: SEO, WordPress

Tags

3gs 10.6 apache backup baseband boot clean urls cpanel css curl custom database drupal el capitan git Google image instadmg ios iphone jailbreak keys lion mac macos mojave macos sierra menu mysql OSX panda php phpmyadmin private public redirect redsn0w remote rsa SEO shell ssh terminal unstoppables upgrade urls

Donate a Beer to the Coolest Guides

Get Beaver Builder Now!

Discuss

3gs 10.6 apache backup baseband boot clean urls cpanel css curl custom database drupal el capitan git Google image instadmg ios iphone jailbreak keys lion mac macos mojave macos sierra menu mysql OSX panda php phpmyadmin private public redirect redsn0w remote rsa SEO shell ssh terminal unstoppables upgrade urls
Get DesktopServer

Lynda

Lynda.com Online Training Videos

TreeHouse

smlinks

Learn WordPress
osx-modify-shell-path

How to Add to the Shell Path in macOS Big Sur and Catalina using Terminal

October 19, 2019

virtual-hosts osx 10.10 yosemite

Set up Virtual Hosts on macOS Catalina 10.15 in Apache

October 19, 2019

Installing Homebrew on macOS Catalina 10.15, Package Manager for Linux Apps

October 18, 2019

Where is the bash shell in macos Catalina?

October 12, 2019

Refine your search

  • All
  • Modules
  • Themes
  • Documentation
  • Forums & Issues
  • Groups

RSS ars technica

  • Spotify seizes the day after Apple is forced to allow external payments
  • Apple and Meta furious at EU over fines totaling €700 million
  • After market tumult, Trump exempts smartphones from massive new tariffs
  • Apple silent as Trump promises “impossible” US-made iPhones
  • Apple enables RCS messaging for Google Fi subscribers at last

RSS mac surfer

  • Tot is new text editor for Mac, iPhone, and iPad focused on constraints and ease of use
  • TiPbITS: Google Drive Sorting Can Hide New Documents
  • How to take a screenshot on a MacBook Pro
  • How To Create Simple Animation With Mac Keynote
  • Last Week on My Mac: Virus pandemics

Donate

Copyright © 2025· Neil Gee - All Rights Reserved - Hosted by Runcloud

Copyright © 2025 · gee on Genesis Framework · WordPress · Log in