Last active
August 29, 2015 14:25
-
-
Save davechu/1503286edba4dab10285 to your computer and use it in GitHub Desktop.
This can be used to show the "latest updater" instead of the original Post Author. Adjust additional text to taste. I added spaces to separate the name from other info.
This file contains hidden or 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
add_filter( 'genesis_post_info', 'dc_post_info_filter' ); | |
function dc_post_info_filter($post_info) { | |
$var = do_shortcode('[post_comments zero="No Comments" one="1 Comment" more="% Comments"]'); | |
$post_info = 'Updated by ' . get_the_modified_author() . '     ' . $var; | |
return $post_info; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment