It depends on how your theme is built & we can’t be 100% sure if this is right without seeing the code but most probably comments_template
is the wrong function. Take a look at the comment_form
function http://codex.wordpress.org/Function_Reference/comment_form
comments_template
is the function generally used to include the comments file(basically to display the contents of comments.php
, though this can be changed)
Again, it’s possible for the theme to use comments_template
for displaying the form & if the above doesn’t work for you, please post the code
Related Posts:
- How to wrap submit button of comment form with div
- How can I limit the number of comments per registered user per day?
- Showing comments only to same custom user role
- How to hide “Trackback” on paginated comments
- how to have 2 comments_template() in one post
- Passing arguments to wp_list_comments callback function
- customize comment form
- comments_template not working correcly in custom template files
- How can I show comments in random order?
- How to get last comments but not from admin (or other specific user role/capability)?
- Warning: call_user_func_array() expects parameter 1 to be a valid callback, func
- What does the “$depth” parameter in the Walker_Comment stand for?
- Add classname comment template from functions.php
- Customizing comments pagination for bootstrap
- comment_post action hook running on page load instead of after a comment is posted
- using comments_template() in custom single-portfolio.php
- WordPress comments – how to check if comment still needs to be approved?
- Modify WordPress Comment From For AMP Html
- comments_number not displaying
- How to make comments private for commentor and post author
- Name of comment field differs on different sites
- The comment could not be saved. No comment_ID on comments
- How to display comment meta under each comment content
- How can I embed comments plugin to my own website?
- Custom comment field not showing when logged-in
- Custom comment link
- How to display replies to his comments in user profile of current user
- How to show a list of comments on home page from all posts?
- reply comment below the comment box without reload page
- How to call out the date of user’s first comment?
- How to pass settings to comment_form() if theme only uses comments_template()?
- How to add a class to comment submit button?
- How Can I display the Current Logged-In User’s Comment at the Top of the Comments Section in WordPress?
- Comments page id wp_list_comments
- reply to comment excerpt instead of author in comment title
- Redirect first time comments
- How to maintain changes to comment-template.php
- Display Comment Form on dedicated Page for each post
- Commentform – Hightlight invalid fields instead of prompting towards error page
- Auto approve all comments (editor)
- The last comments of a post for the author of that post
- Disable comments on all posts/pages
- Stop WordPress redirecting comment-page-1 to the post page?
- Importing old Disqus comments into WordPress
- How to add a class to the comment submit button?
- Would switching to InnoDB from MyISAM improve performance of comments table?
- Linking to Page Showing Only Comments Without Parent Post
- Post Comments using WP REST API v2 in WordPress
- Show content only if member left a comment
- Using filter to add additional fields to comment_form()
- Disable wordpress comments API
- Comments waiting but no comments found
- Programmatically block commenting by restricting view of comment form
- Comments screen in backend, how to disable Quick Edit | Edit | History | Spam | for non admins
- 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
- What are the additional fields in wp_comments used for?
- Change WordPress comments url / word
- Why are my comments closed?
- How to change style of Disqus comment count on main page
- Adding another arg to comments_popup_link
- List User Comments on User Profile BuddyPress [closed]
- Filter custom comment type from Manage Comments & Dash Widgets
- How to allow more HTML tags in comment for a certain comment_type
- How to deal with spam comments and distinguish them from non-spam comments?
- Threaded comments not working
- Get a total count for all comments and display result
- List comments received by every posts of an specific author
- How do I reply to comments from admin panel on a tablet PC?
- Disable comments for a user? [closed]
- Polls with respective comments?
- Ajax submit comments
- Enable nested comments in Theme
- How do I automatically insert some text in the comment textbox on submit?
- I cannot view the comments
- In wp_list_comments comment dates won’t work?
- Where are comment ratings stored?
- how to SELECT for the current post id?
- How to display the user’s comment status on the front end
- Problem code and show comments
- How do I make Twenty Ten display comments on the home page?
- 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
- Using Disqus with headless WordPress setup?
- Attaching author tag to the comment
- Pre- Approved Comment Capability
- Delete comments function
- Comment form not working
- How to show a “Comments Are Closed” message on posts where comments have been closed?
- Comments pagination on author page
- Required Field for Comment parent only?
- Can I use WP comments for custom tables?
- How can I have a full comments.php for an easy editing of all its aspects?
- Transfer comments from one domain to another
- writing a plugin, how to disable the comment form altogether?
- Function to get a list of all comments on 1 post [closed]
- Auto delete WordPress comments
- WordPress Editor widgets “comments” and “post comments form” getting disappeared with elementor [closed]