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?
The topic ‘Comment Form Required Text’ is closed to new replies.
(@katart17)
13 years, 8 months 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?