Skip to content

Instantly share code, notes, and snippets.

@reasonstousegenesis
Created October 28, 2015 01:57
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/23a1b7869c5551f14fa6 to your computer and use it in GitHub Desktop.
Save reasonstousegenesis/23a1b7869c5551f14fa6 to your computer and use it in GitHub Desktop.
Customize the text of the clickable comments link
<?php
// Paste the code BELOW this line into your child theme functions.
/**
* Customize the text of the clickable comments link
*
* @author Reasons to Use Genesis
* @link http://reasonstousegenesis.com/comments-link/
*/
add_filter( 'genesis_post_info', 'rtug_comments_link_creative' );
function rtug_comments_link_creative() {
return '[post_comments zero="Be the first to comment!" one="One Comment" more="% comments – add another!"]';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment