Viewing 8 replies - 1 through 8 (of 8 total)
  • comments.php seems like a reasonable place to look for a comment form!

    Yours may be there, or you may simply use comment_form to display the form

    Here’s info about working with comment_form

    http://devpress.com/blog/using-the-wordpress-comment-form/

    Take a look in the comments.php file and see if there is anything there you need to comment out or remove.

    Thread Starter smoothb1

    (@smoothb1)

    I have tried this but can’t find it still 🙁

    Have you tried;

    Dashboard > Settings > Discussion > un-check the box that says “Comment author must fill out name and e-mail ” , save your changes and see if that does it?

    Thread Starter smoothb1

    (@smoothb1)

    That was already unticked do i need to change this?

    <?php comment_form(
    array(
    	'comment_field'        => '<p class="comment-form-comment"><label for="comment">' . __( 'Comment', 'jenny' ) . '</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>',
    	'comment_notes_after'  => '<p class="form-allowed-tags">' . sprintf( __( '', 'jenny' ), ' <code>' . allowed_tags() . '</code>' ) . '</p>',
    	'id_form'              => 'commentform',
    	'id_submit'            => 'submit',
    	'title_reply'          => __( 'Leave a Comment', 'jenny' ),
    	'cancel_reply_link'    => __( '(Cancel Reply)', 'jenny' ),
    	'label_submit'         => __( 'Submit', 'jenny'),
    )
    ); ?>

    Give this a try:

    <?php comment_form(
    array(
            'fields'               => apply_filters( 'comment_form_default_fields', $fields ),
    	'comment_field'        => '<p class="comment-form-comment"><label for="comment">' . __( 'Comment', 'jenny' ) . '</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>',
    	'comment_notes_before' => '<p class="comment-notes">' .  ( $req ? __( ' Required fields are marked <span class="required">*</span>', 'jenny' ) : '' ) . '</p>',
    	'comment_notes_after'  => '<p class="form-allowed-tags">' . sprintf( __( '', 'jenny' ), '' ) . '</p>',
    	'id_form'              => 'commentform',
    	'id_submit'            => 'submit',
    	'title_reply'          => __( 'Leave Your Comment', 'jenny' ),
    	'cancel_reply_link'    => __( '(Cancel Reply)', 'jenny' ),
    	'label_submit'         => __( 'Submit', 'jenny'),
    )
    ); ?>

    That might work, if I’ve done it correctly,

    Thank you Otto.

    Thread Starter smoothb1

    (@smoothb1)

    Yes thankyou so much! It has worked finally 🙂

    You’re welcome.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Comments html’ is closed to new replies.