The comments_template()
template tag sets up the commenting variables and functions, and includes the comments.php
template-part file. So, to create a custom comments template, use comments.php
.
From there, you will need to get comfortable with the arguments, filters, and callbacks for wp_list_comments()
, which is used to output the comment list, and comment_form()
, which is used to output the comment-reply form.
Related Posts:
- Disable comments on all posts/pages
- Stop WordPress redirecting comment-page-1 to the post page?
- Would switching to InnoDB from MyISAM improve performance of comments table?
- Linking to Page Showing Only Comments Without Parent Post
- How can I limit the number of comments per registered user per day?
- How can I add comments to a page?
- How to remove comment spam in WordPress
- How is comment spam received without a comments form?
- Does a reply to a wordpress comment notify the author of the comment?
- Post comment as different user than logged in
- Can I change what fields are displayed in the Comments form?
- Vanilla Forums as a replacement for WordPress comments?
- How to enable reply on most-deeply-nested comments?
- Comments to Custom Post Type
- Wrong gravatar showing up?
- How can change wordpress comment reply text for specific pages only?
- How to make comment text field un-required?
- How to disable empty tags in comment_text()
- Expanding the allowed HTML tags in comments?
- How can I show comments in random order?
- comments are coming on improper posts
- Is there any way to override “break comments into pages” and “close comments for old posts” on certain posts, but not on others?
- migrate comments from old database to new database
- Comments Pagination as an unordered list
- How to get comments from multiple post type?
- Check the Comment in Reply or Normal State
- Is it possible to make wp insert last comment onto another page
- How to allow only Admins or Logged In Users to post links in comments?
- wp_insert_comment error. puzzled by date value
- Private replies for comments
- edit_comment capability for subscriber
- Hold comments for moderation only if user is not logged in
- How to add replyToUrl schema.org to WordPress comments?
- Loading post comments after clicking a button
- Follow-up Comments Notification Without a Plug-in
- How to return 404 when called edit-comments.php?
- oEmbed does not work for comments
- Get comments from post and sort by commentmeta value
- Ability to comment on tags that represent a certain “issue”
- Yoast makes comment_reply_link function output plain link to comment instead of reply link
- Do I need to deal with WordPress SQL Injection
- using comments_template() in custom single-portfolio.php
- Same email for all comments
- Comments on homepage (index.php) are duplicated under posts
- Comment Form – E-mail Not Required!
- Get a total count for all comments and display result
- Email notification to an email address other than admin for custom type post comments in wordpress
- Notification if Comment Author Field is left empty. E.g. change input border colour
- 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]
- Filtering the Admin Comments List to Show Only Comments from the Current User?
- Ajax submit comments
- Comment Link from get_comments()?
- How do I automatically insert some text in the comment textbox on submit?
- I cannot view the comments
- if null or int(0) value to 0
- In wp_list_comments comment dates won’t work?
- Only show own comments in admin panel
- Where are comment ratings stored?
- how to SELECT for the current post id?
- Sending comment notifications to different recipients depending on taxonomy terms
- Replying to comments
- Custom comment link
- How to display the user’s comment status on the front end
- unsetting required fields in the comment reply form
- 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
- Update post “A” on comment submition on post “B”
- Using Disqus with headless WordPress setup?
- Comments counter only for Authors Posts
- 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
- 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 can I have a full comments.php for an easy editing of all its aspects?
- 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
- comment_approved custom value
- TinyMCE in comment reply form showing toolbar but can’t edit reply
- Add pending for reply comment in console WordPress