Hi @snowme
The easiest way to change a message is to use a translation text filter.
Please add the following PHP code to the functions.php of the theme.
<?php
add_filter( 'gettext', 'raindrops_change_translate', 10, 3 );
function raindrops_change_translate( $translation, $text, $domain ) {
$names = array(
'Required Your Message' => 'Your Custom Message',
);
if ( $domain == 'raindrops' ) {
$translation = str_replace( array_keys( $names ), array_values( $names ), $translation );
}
return $translation;
}
?>
Please replace from ‘Your Custom Message’ to your message
Thank you
Thread Starter
snowme
(@snowme)
Thanks for the quick reply. Your solution worked great. Thanks for the great support!
(@snowme)
7 years, 6 months ago
Hi,
How do you change the tooltip title “Required Your Message” in the comment textarea?