Skip to content

Instantly share code, notes, and snippets.

@lipaonline
Created May 11, 2014 16:21
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 lipaonline/da485e30172f8d154151 to your computer and use it in GitHub Desktop.
Save lipaonline/da485e30172f8d154151 to your computer and use it in GitHub Desktop.
add_filter('the_author', function($nom) { return 'moi';});
add_filter( 'author_link', 'change_author_link', 10, 3);
function change_author_link($link, $author_id, $author_nicename) {
$link = '#';
return $link;
}
function new_excerpt_more($more)
{
return '';
}
add_filter( 'excerpt_more', 'new_excerpt_more' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment