After I set up the site in Hebrew and the supporter helped me to make it suitable for Hebrew with the theme settings I have a problem with the login form that the email or username line appears in English and the password line appears in Hebrew [since it is not possible to edit the login form so I cannot edit these fields]
Thank you
Younes
What if you use the gettext hook to change the string in your desired language:
add_filter('gettext', 'func_change_login_text', 20, 2);
function func_change_login_text($translated_text, $domain){
if($translated_text == 'Username or Email'){
$translated_text = 'Username or Email in your language';
}
return $translated_text;
}
You can add the above code to your theme's functions.php file.
Thanks for the help, sorry, I still don't know how to add a code, to a shortcode!
I added a WordPress shortcode box in which I added a shortcode [wpv-login-form] Now how do I add the code you sent me so that the shortcode of the login form works according to the code you sent me
Much appreciation and many thanks
Younes