How would I move elements of the WordPress comment form, which is called in comments.php with the following:
<?php comment_form(); ?>
For instance, I'd like to wrap cancel_comment_reply_link
in h4 tags and place it below get_post_reply_link
. But I don't see any way to do it.
Formerly, all the code for the comment form was there in comments.php
. You could easily move the elements around and place them where you wanted. Now, all of those elements are buried as functions in comments-template.php
.
Has someone created a function and callback, similar to the one that exists for wp_list_comments
, that provides access to the elements of the comment form?
If so, we might more easily edit the code to move links, labels and fields.