Checkbox not showing
-
I saw another ticket that said comment forms need to have the default id=commentform, which we do have.I copied the code below in our comments.php. The “Enable default checkbox” set to yes in stcr plugin. Cleared all the caches. The checkbox still doesn’t show.
<?php comment_form( [ 'id_form' => 'commentform', 'comment_field' => '<p class="comment-form-comment"><label for="comment">' . __( 'Join the discussion', 'text-domain' ) . '</label><textarea id="comment" name="comment" cols="45" rows="5" style="height: 100px;" placeholder="' . __( 'Join the discussion!', 'text-domain' ) . '" aria-required="true"></textarea></p>', 'fields' => [ 'author' => '<p class="comment-form-author"><label for="author">' . __( 'Display Name', 'text-domain' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . '<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30" placeholder="' . __( 'Display Name', 'text-domain' ) . '"' . $aria_req . ' /></p>', 'email' => '<p class="comment-form-email"><label for="email">' . __( 'Email Address (Not Shown Publicly)', 'text-domain' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . '<input id="email" name="email" type="email" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30" placeholder="' . __( 'Email (Not Shown Publicly)', 'text-domain' ) . '"' . $aria_req . ' /></p>', ], ] ); ?>The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Checkbox not showing’ is closed to new replies.