If you want to do it inside your theme, use functions.php
. Else make a new plugin with this code on it and install it.
Related Posts:
- Add a drop down list to comment form?
- Name of comment field differs on different sites
- get_comment_meta not behaving as expected
- How to filter comments by comment_meta
- Top rated posts Average rating issue
- WordPress Commenting System User access and Security
- How to rearrange fields in comment_form()
- Removing the “Website” Field from Comments and Replies?
- How to add a class to the comment submit button?
- How to wrap submit button of comment form with div
- What for is the table “wp_commentmeta” exactly?
- comments reply script not working
- How do I set up real anonymous posting in bbpress forums? [closed]
- Running a function on comment status change
- How to allow the reply link to remain on the comment form after I have reached my 10 nested comment limit?
- Using filter to add additional fields to comment_form()
- Programmatically block commenting by restricting view of comment form
- Add Comment Custom Field
- Custom Field Added In Comment Form Not Showing In Edit
- Upload images with comment
- How To Remove The “Click here to cancel reply” Link From The WordPress Comment Form
- What are the additional fields in wp_comments used for?
- Making a Comment on a page without being on that page?
- How to modify comments form using comment_form()?
- How to add consent checkbox in comment section
- How to add enctype to multipart/form-data to comment form?
- Changing position of cancel_comment_reply_link and other elements of comment form
- How would I count the number of times a comment meta field’s value is in a post’s entire comments?
- Share comment to twitter after publishing [closed]
- Disable comments
- How to add attributes to the comment form tag?
- Comment form connection to Gravity Forms
- Auto-fill Custom comment fields
- Change order of comment fields
- Get comments from post and sort by commentmeta value
- How to call my custom WordPress Comment form without getting the comments?
- Create comments.php form of custom HTML code
- How can I test why the comment hook is not working?
- comment_post action hook running on page load instead of after a comment is posted
- Add class to comment form div when comment-reply button is clicked
- To whom do emails get sent via the WordPress comments form?
- How to sort posts by the average of comment meta values
- Display complete comment section via post ID
- Notification if Comment Author Field is left empty. E.g. change input border colour
- Assign author to comment from post edit page
- How to retain comment text on comment form after login/registration?
- Check if comment was successfully submited
- Ajax submit comments
- Why could my comment_form variable not be working?
- Display avatar with comment form?
- How to get a value from comment meta
- Make every comment go to the spam folder
- Update comment meta for all comments of specific post
- Add comment_meta to wp_comment_reply
- How to get Post title by locale with Qtranslate-X
- How can I embed comments plugin to my own website?
- unsetting required fields in the comment reply form
- Cannot Remove Title Reply from Custom Comment Template for Signup Page
- comment just attachment .. reply just text … can I do that?
- Edit Comments Fields
- Same comment section on every page
- Update post “A” on comment submition on post “B”
- Upload avatar for post comment
- How to display replies to his comments in user profile of current user
- reply comment below the comment box without reload page
- Comment author profile image
- Force to show all fields in comment forms to the logged-in users
- Comment Form Fields when user logged in
- Author name length character limit?
- Check if comment author has url
- How to make comment reply available only for login members of a certain user roles only?
- How to call out the date of user’s first comment?
- Removing(replacing) avtar in comments.php with some other HTML arrangements
- How to pass settings to comment_form() if theme only uses comments_template()?
- edit comments in front end
- How to replace anonymous comment form with a registration form on wordpress?
- How to add a class to comment submit button?
- Comments.php is not getting called on main blog page
- How to enable truly anonymous posting in bbPress forums? [closed]
- Comment section not appearing on posts
- Echo out custom fields in comments
- reply to comment excerpt instead of author in comment title
- How to change comment-page-1#comment-25 to any string?
- Adding restrictions to open comments
- Add comment meta
- wp-editor-area textarea disapear on cancel-comment-reply-link click
- Display Comment Form on dedicated Page for each post
- Commentform – Hightlight invalid fields instead of prompting towards error page
- Need an advice about comments
- How to remove website field in comment form?
- Actual comments not showing, but form is?
- How to remove or customize “Comment” in comments form?
- How do I convert users who put an email and username for a comment into registered users? [duplicate]
- Clicking Comment “Reply” Button only replies to first comment
- Merge comments from Facebook with WP comments [closed]
- Why default comment fields don’t show up?
- How to enable truly anonymous posting in bbPress forums? [closed]
- Replace Entire Comment Box with Text
- How to hide and disable URL and email fields from comments?
- Show success message on comment submit when email and name is not required field