HomePage Forums Themes Support Freshio – Organic & Food Store WordPress Theme Dont working add to card, cant copy text and etc. Reply To: Dont working add to card, cant copy text and etc.

#1208
Avatarsiknoidas
Supported

Looks like i can vote 4-5 around. I like template, but still a lot small bugs… With colors and translating… Can you help with login problems some of logins error not translated… Example
Error: The password field is empty.
Unknown email address. Check again or try your username.
Wrong information
Good email, wrong password not working.
fixed by this in your function.

add_filter('login_errors','login_error_message');

function login_error_message($error){
    //check if that's the error you are looking for
    $pos = strpos($error, 'incorrect');
    if (is_int($pos)) {
        //its the right error so you can overwrite it
        $error = "Neteisingas slaptaĹžodis";
    }
    return $error;
}

Error: Insert username (this is working). Or its not template problem, but wordpress?