• Resolved forbc

    (@forbc)


    Thank you for this theme. I have several instructors using it with their students. I’ve found one small bug for users who leave a comment while not logged in.

    In discussion settings, unchecking “Comment author must fill out name and e-mail” removes the “Your Name” and “Your Email” labels from the comment form. This leaves the name and email fields side-by-side and it’s not clear where visitors should type their name (although it isn’t required, we do want them to leave a name).

    I don’t have an example URL as the sites are unlisted, but I’ve tested it on several sites and using multiple browsers.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author ThemeAWESOME

    (@tsquez)

    Hi there,

    Sorry for the delay in responding.

    Thanks for bringing this to my attention. Seems there is something going on as the comment fields seem out of whack. The Comment field is on top of the other input fields, whereas before the input fields were on top. This is really strange. And its not just my theme its other themes as well. Heres Twenty Twelve on on of my demo servers http://yourthemedemo.com/sticky/ see the comment form?

    I opened an issue in the forums here: https://wordpress.org/support/topic/comment-form-is-backwards?replies=1#post-7867159

    In regards to my theme, the name and email fields have always been side by side, so even if the labels get removed, the fields have not changed. The name is on the left and the email is on the right and of course the web site field is underneath these two.

    I wonder what this is.

    Theme Author ThemeAWESOME

    (@tsquez)

    I have found the answer to the mystery of the missing “Your Name” and “Your Email” labels from the comment form.

    If you open up comments.php and scroll down to line line 83 you will see the following:

    <label for="author">' . ( $req ? $required_name : '' ) . '</label>

    you need to add the following:

    <label for="author">' . ( $req ? $required_name : 'Your Name' ) . '</label>

    now go to line 87 and you will see this:
    <p class="comment-form-email medium-6 large-6 columns"><label for="email">' . ( $req ? $required_email : '' ) . '</label>

    you need to make it look like this:

    <p class="comment-form-email medium-6 large-6 columns"><label for="email">' . ( $req ? $required_email : 'Your Email' ) . '</label>

    once that is in place you should see the labels where they need to be. I am adding this fix to the upcoming WP-Forge 6.1.1 update.

    Hope this helps and I do apologize for any inconvenience this may have caused.

    Please let me know if you have any other questions or concerns and I will do my best to provide an answer.

    As always, enjoy!

    Thread Starter forbc

    (@forbc)

    Thanks very much! I’ve edited comments.php and it’s all good now. I look forward to the upcoming update. Thanks again for the great theme.

    Theme Author ThemeAWESOME

    (@tsquez)

    You are very welcome. It seems that with 4.4 the comments form was redone with the text area situated above the name, email and web site fields for better accessibility.

    I will be applying a fix to set the comment forms back to where they were before. This is my preference (I basically code for myself and hope people like what I have done…lol) This will also be available in the upcoming update.

    If at all possible, please leave a rating and review and let everyone know what you think of the theme.

    As always, enjoy!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Comment form labels not visible on discussion setting change’ is closed to new replies.