Comment Form Not Showing Author and Email Fields
-
Hello,
I have some really simple code here for modifying the comment form. My code is working without any errors however it’s always showing the default comment form. I wonder if there’s something I need to do to echo the custom fields. The title_reply is working and obvious args like custom text on the submit button. It’s just refusing to show my custom fields. I think my code is correct it just won’t show.
‘$fields = array(
‘ ‘author’ => ‘<label for=”Name”>Name:</label> <input type=”text” ‘ name=”author” id=”author” class=”textbox” />’,
‘);‘$args = array(
‘ ‘fields’ => apply_filters(‘comment_form_default_fields’, ‘$fields),
”comment_notes_before’ => ‘Your email address will not be published.’,
”title_reply’ => ‘Please leave a commment.’,
‘);
‘comment_form($args);Would appreciate any help.
Thank you
Douglas
- The topic ‘Comment Form Not Showing Author and Email Fields’ is closed to new replies.