I would like to edit the statement for the reply/comment intro.
"Your email address will not be published. Required fields are marked*"
Where can I find it?
Barbara
I would like to edit the statement for the reply/comment intro.
"Your email address will not be published. Required fields are marked*"
Where can I find it?
Barbara
It depends on your theme.
Check comments.php & functions.php to start.
If you don't see it there, let us know what theme you're using and we'll take it from there.
You need to hook into the comment_form() function that is outputting the comment reply form.
Specifically, you need to pass the comment_notes_before argument to the argument array, e.g.:
<?php
$new_defaults = array (
'comment_notes_before' => '<p class="comment-notes">' . __( 'YOUR TEXT HERE.' ) . '</p>'
);
comment_form( $new_defaults );
?>
Just change YOUR TEXT HERE to whatever you want to display.
Nice solution - thanks, Chip. In case the OP isn't familiar with doing this, just to confirm, she would add this to the functions.php theme file, right?
In case the OP isn't familiar with doing this, just to confirm, she would add this to the functions.php theme file, right?
No; that code replaces the call to comments_form(), in the comments.php template file.
Ah - gotcha, thanks for clarifying.
This topic has been closed to new replies.