WordPress.org

Ready to get started?Download WordPress

Forums

Comment Form Required Text (1 post)

  1. katart17
    Member
    Posted 3 years ago #

    I am creating a custom Comment Form using the comment_form tag arguments. The problem I am having is that the Required Text element is not displaying.

    Here is the string I am calling:
    'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.' ) . ( $req ? $required_text : '' ) . '</p>'

    The $required_text string should be calling the default text based on the comment-template.php file.

    Does anyone know why this is not working correctly?

Topic Closed

This topic has been closed to new replies.

About this Topic