You can change the preference from settings.
Navigate to Settings > Discussion page on your wp-admin
Find Automatically close comments on articles older than
and uncheck that option.
That should solve your problem.
Related Posts:
- Add option to disable comments on a per posts basis?
- Paginate result set from $wpdb->get_results()
- Change Comment Author Display Name
- What should I do to make generated avatars different for anonymous comments?
- Check If comment author is registered
- Success message in comment form
- How to allow the reply link to remain on the comment form after I have reached my 10 nested comment limit?
- Threaded comments – deleting parent comment leads to orphan comments
- Is there a hook for comment author link?
- How can I edit the email sent when a new comment is received?
- How to remove or replace the log-in link for comment replies?
- Change the HTML output of comments
- How to Block Access to Standard Login Flow and Comment Flow
- Add Comment Custom Field
- Remove link preview in discussion dashboard
- Can’t add default comments to custom post type
- Upload images with comment
- Prevent Contributor to show comment list
- where to modify get_comment_author_link()?
- Does Akismet plugin expose any hooks, functions, class that can work with custom code?
- Comments Feed & Custom Post Statuses
- Multiple Comment Forms in a single page [closed]
- How to enable comments options?
- WordPress comment count to include attachment comments
- Displaying comments with a walker: how to distinguish between parent and child comments
- Count parent comments & replies separately?
- How to modify comments form using comment_form()?
- Capability for allowing user to post own comments without moderation
- Comment form problem with comment_author_url and HTML5 input placeholders
- How would I count the number of times a comment meta field’s value is in a post’s entire comments?
- Get comment content by comment ID
- stackexchange-like submit comment window
- Ajax comments not working
- How to query comments only for the current post?
- Redirect to page 2 after comment
- How to change avatar of the comment author using comment ID?
- WordPress Comments are automatically publishing
- save_post action hook for comments
- Automatically increase comment karma on comment save
- How to create a seperate commenting system?
- How to handle upvotes and downvotes of disqus comments after importing disqus comments to wordpress?
- Only admin can see comments on post or page
- All users/comments suspected as bot? [closed]
- Show comments of a user post only when they are login
- comments in Admin
- How to get and use the the number of days since the last comment?
- Get all child comments ids from parent comment id
- How do I add class to an admin comment?
- Best way to tell if a comment is from a user?
- Adding SQL source code to comments
- How to control size of comments popup window?
- How to make comments private for commentor and post author
- Name of comment field differs on different sites
- WordPress Spam Comment Filter
- Which hook do I use to edit pending comment count on wordpress dashboard?
- Add comment_id on Comments page within wp-admin
- comment button shows only logged in users wordpress
- Getting comments of an specefic user
- I update a post and it creates a pingback? Any idea why?
- How can I embed comments plugin to my own website?
- get only one last comment from each post
- Applying same style to all the comments on the page
- Customise Comment form
- Limit action in comment according to IP
- How to get recent comment link
- stumped on add_action hook to delete_comment – any ideas?
- Can I create a new comment type?
- Avoiding calls to theme-compat
- Allow tags between shortcode in comments
- How / where is the wp_query object created for RSS feeds?
- How to load new posts from wordpress db into wordpress homepage without refreshing the site?
- Delete/Spam Comment Button
- Who approved a comment, to show up in dashboard
- Cannot Remove Title Reply from Custom Comment Template for Signup Page
- comment just attachment .. reply just text … can I do that?
- I have an odd field with a purple background, mentioning HTML-codes to use while leaving comments
- No comment Section but still got a Comment
- How to prevent users/authors from seing IP/email of new commentators?
- Why are my threaded comments not quite working? [closed]
- $post->comment_status always returns ‘closed’
- Order comments in admin by custom date
- WordPress Comments – Divide by conversation like Medium.com
- edit comments in front end
- How to replace anonymous comment form with a registration form on wordpress?
- How to get the 5 most recent comments and each comment 5 most recent replies (children)
- Redirect first time comments
- Posting XML in comment section
- How to check if post has previous_comments_link() and next_comments_link()
- comment files and s
- Comments – Ensure the correct field is highlighted for nested replies
- How to hold all comments for moderation, including author’s comments on own post
- Comment Blacklist
- Recent comments per tagged post?
- Subscribe to a post’s comments without posting a comment yourself
- WordPress error when sending comment
- WordPress Page Template: Comment Filtering with Querystring
- comments are going to spam
- Why default comment fields don’t show up?
- How to enable truly anonymous posting in bbPress forums? [closed]
- Add ACF Quick Edit Columns on Comments