Skip to content

Instantly share code, notes, and snippets.

@remkus
Created June 18, 2012 08:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save remkus/2947461 to your computer and use it in GitHub Desktop.
Save remkus/2947461 to your computer and use it in GitHub Desktop.
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