Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@reasonstousegenesis
Created October 28, 2015 01:55
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 reasonstousegenesis/15b72928b8962345f3d3 to your computer and use it in GitHub Desktop.
Save reasonstousegenesis/15b72928b8962345f3d3 to your computer and use it in GitHub Desktop.
Add a clickable author link after the content
<?php
// Paste the code BELOW this line into your child theme functions.
/**
* Add a clickable author link after the content
*
* @author Reasons to Use Genesis
* @link http://reasonstousegenesis.com/author-link/
*/
add_filter( 'genesis_post_meta', 'rtug_clickable_author_link' );
function rtug_clickable_author_link() {
return 'Written by [post_author_posts_link]';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment