Hi
I have comments enabled on my blog www.inter-activ.co.uk/gavins-blog and I want to be able to change the default text from “Leave a comment to something a bit more engaging like “Joint the discussion” or share your opinion” but I can’t find a way to do this in Beaver Builder. Can you help?
Hey Gavin,
Can you try adding the code below to your child theme’s functions.php
file and see if it works?
// Translate the word Name on the Subscribe form module
function my_text_with_context_translations( $translated, $text, $context, $domain ) {
if ( 'fl-automator' == $domain ) {
if ( 'Leave a Comment' == $text && 'Respond form title.' == $context ) {
$translated = 'Share your opinion';
}
}
return $translated;
}
add_filter( 'gettext_with_context', 'my_text_with_context_translations', 10, 4 );
Ben