Last active
August 29, 2015 14:02
-
-
Save davechu/47b4ebc30fb311afb2c1 to your computer and use it in GitHub Desktop.
For Elaine - this would go in your functions.php. The is_category could be made more specific if you wanted, of course. One slightly irritating global needed. :)
This file contains hidden or 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
add_filter( 'comment_form_defaults', 'dc_change_form_title'); | |
function dc_change_form_title($arg) { | |
$arg['title_reply'] = __('Please Comment'); | |
return $arg; | |
} |
This file contains hidden or 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
add_action('genesis_after_endwhile', 'dc_cat_loopiness'); | |
function dc_cat_loopiness() { | |
if ( is_category() ) { | |
global $withcomments; | |
$withcomments = "1"; | |
comments_template(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment