Created
October 5, 2019 13:40
-
-
Save deeman/9acc10f08f16f85402a810d5ba70cf49 to your computer and use it in GitHub Desktop.
Genesis Framework: Modify the Comments Link Text
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Modify the comment link text in comments | |
add_filter( 'genesis_post_info', 'sp_post_info_filter' ); | |
function sp_post_info_filter( $post_info ) { | |
return '[post_comments zero="Leave a Comment" one="1 Comment" more="% Comments"]'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment