• Resolved glennybee

    (@glennybee)


    Hi folks, I’ve just installed WP and it looks excellent…thanks.

    I have multiple users and not all are administrators.

    I would like to change the words ‘Site Admin’ to ‘Dashboard’ but can’t see where to edit this.

    All I can see it…

    <?php wp_register(); ?>

    • <?php wp_loginout(); ?>
    • Any help would be appreciated.
      Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • glennybee,

    Hi. Try placing the following code into your theme’s functions.php file. Anywhere will do.

    add_filter( 'register', 'mf_change_register_text' );
    function mf_change_register_text( $c ){
    	return str_replace('Site Admin', "Dashboard", $c);
    }

    Let me know how this works,
    -Mike

    Thread Starter glennybee

    (@glennybee)

    Hi Mike,

    Thank you for the suggestion but unfortunately that didn’t work.

    Thanks anyway.
    Glen

    glennybee,
    Hi. I just tried the code again on an install of 2.5 and it produced the outcome that you requested. The only thing that I can think of that went wrong is that the function was never uploaded to the server. Give it one more shot – I’m sure that this works with 2.5

    Thanks very much, Mike! Your code snippet has saved me from making a change to the WordPress core; it’s always nice to learn the correct way to do something (although I’m surprised that ‘Site Admin’ is hard-coded into wp_register() rather than being the default value for a display text parameter).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Changing the ‘Site Admin’ wording?’ is closed to new replies.