Yeah this should be possible using the comment_form_default_fields filter, like so:
apply_filters( 'comment_form_default_fields', $fields );
$fields = array( 'name' => '<section class="form-group">
<input type="text" class="form-control" id="name" placeholder="Your name" />
</section>'
);
Just remember to add any other fields that you want to add into that array too.
Related Posts:
- Why does `add_theme_support( ‘html5’, array( ‘comment-form’ )` disable client side validation?
- Add class to Reply button in Comments area
- Why does comment_reply_link launch the reply form at the wrong spot on the comment section?
- Hide comment form completely (preferably without using CSS)
- Change the tag of the comment submit button
- How to change the order of elements in comment_form()
- Threaded Comments Feature not working
- Two steps comment form
- Customize the cancel_comment_reply_link
- How to enable commenting system in WordPress
- comment_form() Not changing the default class/id of elements
- How can I get values count from wp_commentmeta?
- customizing TwentyEleven comments template
- Insert page comment form into a modal
- Is it possible to force login for comments only on custom-post-type or the custom comment template?
- Force logged in users to still fill out name/address for commenting?
- How to add a “policy text” just before the comments? [closed]
- Enable nested comments in Theme
- Remove the function which adds nofollow to links in comments
- Wrapping the cancel_comment_reply_link()
- Commentform input area issue
- Custom comment-field form arrangement [closed]
- How to add a category to comments?
- Create customized captcha field to wordpress comment form without Plugin
- How can I remove the comment form on one or more specific pages in twenty eleven?
- wp-comment-post.php and header already sent issues
- How to create a classified section in place of comments_template
- How to send add_comment_meta value from separate file to main plugin file?
- COMMENT FORM Error: Please type your comment text
- Modify “Must be logged in to comment” text/links?
- How do I check which comment fields are required in my theme?
- Can not edit comment form
- Removing(replacing) avtar in comments.php with some other HTML arrangements
- Cannot display comment in page
- How do I write this code to not show default on label_submit?
- How to edit comments form on posts?
- How to echo PHP after comment form submit?
- Comment form not supported the image tags
- Comments template only linking to one post
- Custom comments form
- Comment_form and GD Star Rating
- In my comment form, how do I move the “notify me of follow-up comments” box above the “post comment” button?
- Add custom captcha to comment form
- Get Comment With Meta value
- Force logged-in users to fill out name and email fields for commenting?
- Is there a way to edit the markup of comment_form()?
- Comment form: Add Radio button logic [closed]
- Prefill the textarea in comment_form
- How to wrap submit button of comment form with div
- Comment Walker vs. Comment Callback
- comments reply script not working
- How do I set up real anonymous posting in bbpress forums? [closed]
- How to allow the reply link to remain on the comment form after I have reached my 10 nested comment limit?
- Custom Comments – Parent / Nested Reply
- Comment form not display properly?
- Rearrange elements outputted by comment_form()
- Am I using the right hook for removing quicktags on the admin TinyMCE?
- changing default comment form arguments [duplicate]
- How can i customize the comment list
- How to modify comments form using comment_form()?
- Including new Javascript only after a comment is made
- How to unset comment_notes_before field in WordPress comment_form
- Hide reply button after moveForm is called
- How to call my custom WordPress Comment form without getting the comments?
- Translation Issue with WordPress Theme Check in comment_form function
- How can I test why the comment hook is not working?
- How to modify core when there is no hook?
- Error when posting comment form: The error is TypeError: e[h] is not a function
- changing font size and font of a custom message added after comment
- create comment box in woo-commerce shop order [closed]
- Does anyone know all parameters of get_comments()
- Display avatar with comment form?
- How to make comments private for commentor and post author
- Name of comment field differs on different sites
- How to display comments length
- how to load the comment template from a plugin
- Full Front End, AJAX comment system and comment reply script
- I’m unable to call img path using single quotes in an array?
- Get comment id of the individual comments in comment list when modifying comment posted using comment text filter
- How can I embed comments plugin to my own website?
- get_comment_meta not behaving as expected
- Add a Custom Field in Comment Box next to the Text area
- enable TinyMCE for comment forms
- How translate it? Intensedebate
- How to add extra field in admin comment section
- Fix threaded comments
- Clicking Comment “Reply” Button only replies to first comment
- Cannot Remove Title Reply from Custom Comment Template for Signup Page
- How do I make the comment disappear after deleting from the database?
- comment just attachment .. reply just text … can I do that?
- Display the list of user’s comments + the post title + date
- How is it possible to create Multi part sections where people can answer or comment or vote on various parts of a page’s content as given example?
- Change “logged in as a ” link in comments form
- edit comments in front end
- How to replace anonymous comment form with a registration form on wordpress?
- Echo out custom fields in comments
- Why default comment fields don’t show up?
- How to enable truly anonymous posting in bbPress forums? [closed]
- Replace Entire Comment Box with Text
- Show success message on comment submit when email and name is not required field