Hi there,
In that case, please try this https://developer.wordpress.org/reference/hooks/comment_form_defaults/
Sample is this, you can add this to your functions.php too
function change_comment_text( $texts ) {
$texts['comment_notes_before'] = 'Your email address will not be published. Required fields are marked *';
return $texts;
}
add_filter('comment_form_defaults','change_comment_text');
Then just change the text Your email address will not be published. Required fields are marked *
.
The comment and the content has the same width, it’s just the content has white spaces (padding). If you wish same padding on comment section then please add this CSS to your global custom CSS.
[lang="ar"] .x-comments-area {
padding: 0px 60px;
}
As for comments meta translation, please translate these through theme’s language files (your first translation).
Leave a comment on: “%s” Leave a Comment %s Comment %s Comments
Please note that %s
is important, it’s placeholder where numbers are added. That’s why translating just comment or comments will not work. The %s
is part of the string.
Thanks!