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