Skip to content

Instantly share code, notes, and snippets.

@jeherve
Forked from georgestephanis/inc-author-box.php
Last active December 17, 2015 23:59
Show Gist options
  • Save jeherve/5693562 to your computer and use it in GitHub Desktop.
Save jeherve/5693562 to your computer and use it in GitHub Desktop.
Include your signature before Jetpack's sharing buttons
<?php
/**
* When hooked to either the_content or the_excerpt filters,
* this should append the signature before the Jetpack sharing buttons
* are added, so long as the priority is 18 or less!
* (as Jetpack's sharing options go in at priority 19)
*
* @param string $content The post content as passed to the function
* @returns string The content with the author box appended to it.
*/
function blogaholic_post_signature( $content = '' ) {
// Your signature function
}
add_filter( 'the_content', 'blogaholic_post_signature', 18 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment