Genesis Theme: Anonymize Posts

Actually, I anonymize my pages.

See, I have multiple authors on a site, and one of the things I like is to celebrate them when they post. Awesome. But I don’t want to highlight who wrote the pages on the site. Or who posted the videos. Those are informational and don’t need any ego attached.

When using StudioPress’ Genesis theme, you can edit the post authors by filtering genesis_post_info

The Code

add_filter( 'genesis_post_info', 'EXAMPLE_genesis_post_info' );
function EXAMPLE_genesis_post_info( $post_info = '' ) {
	if ( is_singular( array ( 'videos', 'page' ) ) )
		$post_info = 'By the Barbarians [post_edit]';
	return $post_info;
}

Now all my posts are by Barbarians!

2 thoughts on “Genesis Theme: Anonymize Posts

Comments are closed.