I don’t need the title_reply field as I’ve already styled a h4 title outside of the form.
I’ve tried to remove the field inside my args array, but to no avail. Here’s the code.
<?php $comment_args = array( 'fields' => apply_filters( 'comment_form_default_fields', array( 'title_reply' => '', 'email' => more code..., 'author'=> more code..., 'url' => '' ) ), more code... ); ?> <?php comment_form($comment_args); ?>
The code for email, author and url all work fine, but when I added title_reply to the array, nothing happened. Is there something obvious I am doing wrong here?
- The topic ‘How to remove the comment_form's 'title_reply' field?’ is closed to new replies.