Last active
December 22, 2015 04:49
-
-
Save braddalton/6419983 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
// Note: Deactivate Genesis Simple Edits plugin or this code will not work | |
add_filter( 'genesis_post_info', 'wpsites_post_info_filter' ); | |
function wpsites_post_info_filter($post_info) { | |
if ( in_category('29') ) : | |
$post_info = '[post_edit]'; | |
else : | |
$post_info = '[post_date] by [post_author_posts_link] [post_comments] [post_edit]'; | |
endif; | |
return $post_info; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment