Home › Forums › Support › Change the Comments are closed message for closed comments This topic has 3 replies, 2 voices, and was last updated 4 years ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts April 21, 2020 at 2:56 am #1247637 Jurica Hi, Other than copying comments.php in my child theme and modifying it, is there another way to change default message for closed comments? I’m want to change the default text and add a link to the contact page. Thank you. April 21, 2020 at 6:57 am #1247830 DavidStaff Customer Support Hi there, you can use the gettext filter like so: function db_change_comment_field_names( $translated_text, $text, $domain ) { switch ( $translated_text ) { case 'Comments are closed.' : $translated_text = __( 'ADD YOUR NEW COMMENTS CLOSED TEXT HERE', 'generatepress' ); break; } return $translated_text; } add_filter( 'gettext', 'db_change_comment_field_names', 20, 3 ); April 21, 2020 at 2:06 pm #1248497 Jurica Thank you! April 22, 2020 at 2:05 am #1248906 DavidStaff Customer Support You’re welcome Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In