If you go to comments.php
in your theme – and search for “Comments are closed”, you should find it.
You should also be able do this in functions.php
:
function comment_text ($arg) {
$arg['title_reply'] = __('Too Late - Comments are Closed!');
return $arg;
}
add_filter('comment_form_defaults','comment_text');
Edit: Just noticed that you want this to work cross theme. So if you go to: wp-comments-post.php
in the top level of your WordPress install, you should find it there too.
Related Posts:
- Disable comments on all posts/pages
- Would switching to InnoDB from MyISAM improve performance of comments table?
- Linking to Page Showing Only Comments Without Parent Post
- Comments screen in backend, how to disable email address of commenter for non admins
- How can I limit the number of comments per registered user per day?
- Post Comments using WP REST API v2 in WordPress
- Show content only if member left a comment
- get_comments_number of depth-1 (Level 1) (1 post)
- How can I control the comment counts filtering my CPT replies?
- How to auto-approve internal pingbacks?
- Using filter to add additional fields to comment_form()
- Can I store my custom comment_type into wp_comments table?
- Comments waiting but no comments found
- Programmatically block commenting by restricting view of comment form
- Number of External Links in Comments – Moderation Option
- What is comment_karma?
- How to override function twentyten_comment
- Disqus over the default commenting engine, what are some pros and cons?
- Comments screen in backend, how to disable Quick Edit | Edit | History | Spam | for non admins
- How To Remove The “Click here to cancel reply” Link From The WordPress Comment Form
- Plugin from WordPress.com for comment notification…available? [closed]
- How to add text to comment form #content textarea?
- Get most active users sort by comment count
- Passing arguments to wp_list_comments callback function
- Enable Recent Comments widget to display comments on attachment posts
- Change allowed HTML tags for comments
- comments_template not working correcly in custom template files
- How can I highlight admin comments?
- Why are my comments closed?
- On WordPress 4.4, how to get the post id using the comment_post hook
- Block comments from search engine indexing
- Create a “Reject” action for comments?
- How to change style of Disqus comment count on main page
- List User Comments on User Profile BuddyPress [closed]
- Add action on delete comments?
- Exclude child comments in get_comments() or WP_Comment_Query?
- Changing “submitted on date” of comments
- Filter custom comment type from Manage Comments & Dash Widgets
- How to deal with spam comments and distinguish them from non-spam comments?
- Can’t seem to get this CSS to work…any ideas why? [closed]
- Change order of comment fields
- WordPress custom form action url
- How to add a strip of visual editor on top of comments textarea
- Threaded comments not working
- Customizing comments pagination for bootstrap
- woocommerce allow users to select or use avatar
- How to sort posts by the average of comment meta values
- Error While Sending Comment
- comment_reply_link not work with me
- have_comments() does not work
- Problem with Comment link in Blog [closed]
- Commenting in user profile page?
- Can i Use own Facebook App ID with this Social Comment Plugin? [closed]
- How to allow duplicate comments AND without comment text
- Remove the deleted user comment
- Only allow the post author and admin to comment on a post
- How come pending comments are appearing in admin?
- Generate Sub-Comments with WP-CLI [closed]
- Repositioning ‘Reply’ Link in Comments
- Add an attachment feature to comments
- Cannot post comments if I don’t post a website?
- Counting Comments as Singular and Plural in comments.php Template
- How to display custom comment fields onto any page
- Make every comment go to the spam folder
- Limit number of comments from get_comments()
- The comment could not be saved. No comment_ID on comments
- How to get Post title by locale with Qtranslate-X
- Retrieve the last 5 comment URLs
- Problem code and show comments
- Highlight comments made by registered users of the site
- How do I make Twenty Ten display comments on the home page?
- It doesn’t matter if I have more than one comment. get_comments_number still equal to one?
- Simple spam check for valid domain in commenter’s email address
- Allowing WordPress.org/com accounts on a self-hosted install
- How to remove the “comments” bit that appears next to or below the posts
- Sort post comments from newest to oldest in pagination
- Post comments don’t show
- Get all comments associated with a specific page ID (comment_post_ID)
- Update post “A” on comment submition on post “B”
- I would like to count number of comments after 5 days ago
- Comments counter only for Authors Posts
- Pre- Approved Comment Capability
- Delete comments function
- Comment form not working
- Necessary to have a comments.php if there are no comments?
- Comments pagination on author page
- Comments page id wp_list_comments
- transition_comment_status gets called when untrashing comments
- spacebar is not working in input and textarea
- wp-editor-area textarea disapear on cancel-comment-reply-link click
- Conditionally process comments while ignoring replies
- Required Field for Comment parent only?
- Can I use WP comments for custom tables?
- How do I separate author avatars and comments in 3.4.2?
- writing a plugin, how to disable the comment form altogether?
- How do I convert users who put an email and username for a comment into registered users? [duplicate]
- What filter or action to replace comments or add new comment system
- Function to get a list of all comments on 1 post [closed]
- Auto delete WordPress comments
- Add ACF Quick Edit Columns on Comments