• Resolved jdarby

    (@jdarby)


    if i go into template-functions-general.php and edit the following section:

    function wp_loginout() {
    if ( ! is_user_logged_in() )
    $link = '<a href="' . get_settings('siteurl') . '/wp-login.php">' . __('Login/Register') . '</a>';

    whenever i call <?php wp_loginout() shouldn’t it display as “Login/Register” or am i doing something totally wrong/editing the wrong part?

Viewing 2 replies - 1 through 2 (of 2 total)
  • if you are _not_ logged in, yes.

    Thread Starter jdarby

    (@jdarby)

    hmm, ill have to start choppin some code up then. the default for that line was if ( ! is_userLogged_in() ), i guess ill have to change that and see what it does. i also thought it seemed to be backwards, thanks for confirming! ill give it a shot today

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘edit display text wp_loginout’ is closed to new replies.