The issue
The comment form, as i planned to design it, will use Bootstrap's input groups and probably input addons. Translating in bare coins, the needed markup for each input is like this:
<section class="form-group">
<input type="text" class="form-control" id="name" placeholder="Your name" />
</section>
Wordpress function comment_form()
, as far as i know, doesn't allow this kind of markup. I can give id or classes to the form
, to the submit
button, but i was not able to find anything that lets me add wrapping elements and classes to inputs.
The question
Since i don't want to write my own function, cause i'm concerned about plugins not being able to function properly, is there a way to do this using as much native functions as possible? Thank you.
EDIT
To avoid any misunderstanding, if not clear, i'm not asking a question about Bootstrap itself, but just how should i generate a precise markup with Wordpress.