Forked from georgestephanis/inc-author-box.php
Last active
December 17, 2015 23:59
-
-
Save jeherve/5693562 to your computer and use it in GitHub Desktop.
Include your signature before Jetpack's sharing buttons
This file contains 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
<?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