Skip to content

Instantly share code, notes, and snippets.

@remkus
Created Jun 18, 2012
Embed
What would you like to do?
Change author link in Genesis Post Info
<?php
add_filter( 'genesis_post_info', 'custom_post_info_filter' );
/**
* Modify author link in Post Info to website.
*
* @access public
* @author Remkus de Vries
* @link http://remkusdevries.com/change-author-link/
* @param mixed $post_info
* @return void
*/
function custom_post_info_filter( $post_info ) {
//change to it to whatever you want
$post_info = 'By [post_author_link] on [post_date] [post_comments] [post_edit]';
return $post_info;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment