Avada › Forums › Community Forum › Change Project Description to Product Description › Reply To: Change Project Description to Product Description
First, I added this to the functions.php in the child theme. So theoretically, this should work,
add_filter('gettext', 'translate_text');
add_filter('ngettext', 'translate_text');
function translate_text($translated) {
$translated = str_ireplace( 'Project Details', 'Product Details', $translated );
$translated = str_ireplace( 'Project Description', 'Product Description', $translated );
$translated = str_ireplace( 'Project URL', 'Size', $translated );
$translated = str_ireplace( 'Copyright', 'Material', $translated );
return $translated;
}
I added these two lines,
$translated = str_ireplace( 'Project URL', 'Size', $translated );
$translated = str_ireplace( 'Copyright', 'Material', $translated );
PM, if you need more help,