Created
November 12, 2012 20:56
-
-
Save billerickson/4061836 to your computer and use it in GitHub Desktop.
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
/** | |
* List Authors in Genesis Post Info | |
* | |
* @author Bill Erickson | |
* @link http://www.billerickson.net/wordpress-post-multiple-authors/ | |
* | |
* @param string $info | |
* @return string $info | |
*/ | |
function be_post_info( $info ) { | |
$info = '[post_authors_post_link before="by "]'; | |
return $info; | |
} | |
add_filter( 'genesis_post_info', 'be_post_info' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No need to assign value to
$info
first - justreturn '[post_auth....'
No var name needed on the
@return
tag. The format is@return type optional-description
.