Viewing 8 replies - 1 through 8 (of 8 total)
  • Where does it appear ?
    If it’s in the ‘Posted by Site Admin @’ part, then just change your username ?

    hi

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

    Thread Starter Bhoney

    (@bhoney)

    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.

    ??

    Thread Starter Bhoney

    (@bhoney)

    Hi… no one has an answer for this?

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

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

    Thanks ??

    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 */

    Thread Starter Bhoney

    (@bhoney)

    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

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

    Happy holidays!

    Thread Starter Bhoney

    (@bhoney)

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Changing “Site Admin” Text’ is closed to new replies.