Skip to content

Instantly share code, notes, and snippets.

@davechu
Last active August 29, 2015 14:02
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 davechu/47b4ebc30fb311afb2c1 to your computer and use it in GitHub Desktop.
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. :)
add_filter( 'comment_form_defaults', 'dc_change_form_title');
function dc_change_form_title($arg) {
$arg['title_reply'] = __('Please Comment');
return $arg;
}
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