\GPlus_Authorship

Summary

Methods
Properties
Constants
__construct()
show_on_this_post()
information()
overwrite_rel_attrs()
rel_callback()
rel_attr_callback()
save_profile_data()
overwrite_the_author()
byline()
link_tag_styles_and_scripts()
follow_button()
post_output_wrapper()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$byline_displayed
N/A

Properties

$byline_displayed

$byline_displayed

Methods

__construct()

__construct()

show_on_this_post()

show_on_this_post()

information()

information( $author)

Parameters

$author

overwrite_rel_attrs()

overwrite_rel_attrs( $content)

Both overwrite_rel_attrs and rel_callback remove 'author' from the rel attribute of a link if it is found and if the post is being viewed on a single page, with G+ authorship enabled.

based on prior art from privatize_link in wp-content/mu-plugins/private-blog.php

Parameters

$content

rel_callback()

rel_callback( $link)

Parameters

$link

rel_attr_callback()

rel_attr_callback( $attr)

Parameters

$attr

save_profile_data()

save_profile_data()

Jetpack Only

overwrite_the_author()

overwrite_the_author( $author_name)

Google+ insits we don't have two different bylines.

. so we will display their G+ username in the byline here too

Parameters

$author_name

byline()

byline( $post)

Parameters

$post

link_tag_styles_and_scripts()

link_tag_styles_and_scripts()

follow_button()

follow_button( $post)

Parameters

$post

post_output_wrapper()

post_output_wrapper( $text,  $echo)

Parameters

$text
$echo