Support » Fixing WordPress » change wp_loginout text

  • hi there. one easy. how to change wp_loginout text to display for example to show when login “login” or “conectarse” and when logout “cerrar seccion”. for moment i get defaults texts “iniciar sesion” &”Desconectar”.
    thanks alot

Viewing 2 replies - 1 through 2 (of 2 total)
  • i have the same problem



    Forum Moderator

    possibly in you language files;

    or with a filter added to functions.php of your theme:

    function loginout_text_change($text) {
    $login_text_before = 'Log in';
    $login_text_after = 'Sign-In';
    $logout_text_before = 'Log out';
    $logout_text_after = 'Sign-Off';
    $text = str_replace($login_text_before, $login_text_after ,$text);
    $text = str_replace($logout_text_before, $logout_text_after ,$text);
    return $text;
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘change wp_loginout text’ is closed to new replies.