• Hi to everyone,

    i’d like to know if there’s a way to add an administrator that is hidden to other users (without plugins, of course).

    actually i’ve made an hard hack to the core (since i’ll don’t upgrade wordpress anymore) by replacing these lines:

    if ($user_login != 'admin'):
        if ($userid != '1')://
            $style = ( ' class="alternate"' == $style ) ? '' : ' class="alternate"';
            echo "\n\t", user_row( $user_object, $style, $role, $post_counts[ $userid ] );
        endif;//
    else:
        $style = ( ' class="alternate"' == $style ) ? '' : ' class="alternate"';
        echo "\n\t", user_row( $user_object, $style, $role, $post_counts[ $userid ] );
    endif;

    in the users.php code (starting from line 490).

    if someone has something better to propose please reply me.

    thank you!

  • The topic ‘Super admin for single site’ is closed to new replies.