Change the Button-Text on Blog-Articels

Hello,

im trying to change the text value (see the picture) but i can not do that. I can change the text on all other buttons on the normal pages but in the blogs which i wrote it is not possible. i dont know where can i change the text in persian language.

thanks

Hello Shahin,

Thanks for writing in!

Please add following code in child theme function.php file:

add_filter('gettext', 'translate_texts');
function translate_texts($translated) { 
	$translated = str_ireplace('Submit', 'Your text', $translated);
	return $translated; 
}

Thanks.

Thank you very much. It workd perfectly!

You’re welcome!
We’re glad @Prasant were able to help you out.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.