Support » Themes and Templates » MU Theme Login Display

Viewing 4 replies - 1 through 4 (of 4 total)
  • By default wp_register() function have only 2 parameters. You can’t do it by using function.

    To solve this issue just replace wp_register(”,”) with wp_register() function code given below, and then you can change Site Admin text and link:

    if ( ! is_user_logged_in() ) {
    if ( get_settings('users_can_register') )
    $link = $before . '<a href="' . get_settings('siteurl') . '/wp-register.php">' . __('Register') . '</a>' . $after;
    else
    $link = '';
    } else {
    $link = $before . '<a href="' . get_settings('siteurl') . '/wp-admin/">' . __('Site Admin') . '</a>' . $after;
    }
    echo apply_filters('register', $link);

    Reference: http://mu.wordpress.org/forums/topic.php?id=1396

    Might be easier to just use the wp_loginout(); function… *IGNORE*

    Ref: http://codex.wordpress.org/Template_Tags/wp_loginout *IGNORE*

    Sorry read the thread a little to quick, the above is correct…

    The function returns the admin link…

    Replace the function with what is suggested.

    Cool, thx peeps!

    @ajtwist

    If worked fine, request you to please close this issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘MU Theme Login Display’ is closed to new replies.