WordPress.org

Ready to get started?Download WordPress

Forums

Changing "Site Admin" Text (9 posts)

  1. Bhoney
    Member
    Posted 8 years ago #

    Can anyone tell me which file to edit in order to change the words "Site Admin."

    Thanks :)

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    Where does it appear ?
    If it's in the 'Posted by Site Admin @' part, then just change your username ?

  3. ایه لیک To Have داشتن
    Member
    Posted 8 years ago #

    hi

    go to the CP >> Users >> Your Profile >> Nickname:
    This is what appers as author.

  4. Bhoney
    Member
    Posted 8 years ago #

    I mean the words "Site Admin" that when clicked on leads to the Admin panel.Mine is located in the sidebar of all my themes but the sidebar.php doesn't contain those words.

    :)

  5. Bhoney
    Member
    Posted 8 years ago #

    Hi... no one has an answer for this?

    This seems standard in every WordPress... have attached a screenshot.

    http://img490.imageshack.us/img490/905/meta0eo.gif

    Thanks :)

  6. vkaryl
    Member
    Posted 8 years ago #

    I found it on line 50 in template-functions-general.php in /wp-includes/. You can just change those words, keeping what you insert between the single quotes and inside the parentheses.

    Keep in mind, this is known as "hacking core code". You'll have to redo this tweak every time you upgrade. A lot of folks make evil-eye wardsigns at people who hack core files. I'm not one of them.... I hack core when I need to.

    What you REALLY need to do is leave a couple of blank lines before and after, and include a comment about what you did, so you'll be able to find it; also, I usually keep a text file with a list of files I've hacked, the line number, what was in it originally, and what I replace the original with. It's safest.

    So here's how you could do this - replace line 50 in the template-functions-general.php file with the following (making the words say what you want them to):

    /* Mod on 12/23/05 to change Site Admin to Bhoney's Admin - begin */

    $link = $before . '<a href="' . get_settings('siteurl') . '/wp-admin/">' . __('Bhoney's Admin') . '</a>' . $after;

    /* Mod to change Site Admin to Bhoney's Admin - end */

  7. Bhoney
    Member
    Posted 8 years ago #

    Thanks vkaryl... I don't want to upset the laws of nature, but "Site Admin" has always annoyed me and I must change it... lol

  8. vkaryl
    Member
    Posted 8 years ago #

    The laws of nature will survive. Just be sure you keep decent notes!

    Happy holidays!

  9. Bhoney
    Member
    Posted 8 years ago #

    Thanks V ( I think we are on a first letter basis now... lol)... Happy Holidays to you and you Family as well :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.