modifying comment_form() output
-
I would like to wrap the name, email and website labels and inputs and the submit button into one div (but not the comment textarea).
I’m sure this will involve using either comment_form_default_fields or just passing arguments to comment_form() but as a newbie to WordPress I’m not that sure of what to do.
I want to achieve the following code:
<div>
<p class=”comment-form-author”>…</p>
<p class=”comment-form-email”>…</p>
<p class=”comment-form-url”>…</p>
<p class=”form-submit”>…</p>
</div>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘modifying comment_form() output’ is closed to new replies.