WordPress.org

Ready to get started?Download WordPress

Forums

changing the look of wp-login.php and the register screen (7 posts)

  1. Dgold
    Member
    Posted 7 years ago #

    I want to change what you see when you Login or Register. I want my logo, and not a big "W" (which looks like a George Bush logo, by the way -- I'm not playing politics, but my site visitors do not know or care what "W" means). What are my options?

    (1) Is there a plugin I don't know about? Yes I looked, didn't find anything to try though.

    (2) I hacked wp-login.php and wp-register.php in WP 1.5 and 2.0. I checked to see if they changed in 2.2, and they did. To my novice eye it looks like wp-login is different. Should I start with the new file and hack it again to get the same effect I've had on my 2.0 site? Also, wp-register is completely different. So where would I go to modify the appearance of the Register screen?

  2. whooami
    Member
    Posted 7 years ago #

    (which looks terribly like a George Bush logo, by the way).

    Dear God, no! I'll be the first to help!!

    That "W" image is actually placed there via wp-admin.css

    The language seen for registration, logging in/out is all within wp-login.php

  3. Dgold
    Member
    Posted 7 years ago #

    Golly, all I really needed to change was 2 graphics and 1 line of code.

    /wp-admin/images/login-bkg-tile.gif
    to fix the Login and Register and Lost Password screens with my own site's logo (which makes incredibly-more sense, where it says things like "Register For *This Site*" now it has my site's logo instead of wordpress's).

    /wp-admin/images/wordpress-logo.png
    This only appears on the admin pages, as far as I know, but I changed it anyway because I can.

    For the record, no, I'm not against advertising for WP and I have "powered by WordPress" in my footer. However I don't want my site to appear "W" branded, and I don't want to lead my authors and subscribers to click over to the WordPress site.

    Last change, in the /wp-login.php file, search for the only line that mentions "wordpress.org" (example below), and replace the URL with your homepage -- I wanted to do that with the dynamic "homepage URL" but wasn't sure how, so I just hard-coded it to my homepage.

    <div id="login"><h1><a href="<?php echo apply_filters('login_headerurl', 'http://www.wordpress.org/'); ?>" title="<?php echo apply_filters('login_headertitle', __('Powered by WordPress')); ?>"><?php bloginfo('name'); ?></a></h1>
  4. Stevie4CB
    Member
    Posted 7 years ago #

    What if you want to take the WordPress Updates and such out of the dashboard?

  5. Dgold
    Member
    Posted 7 years ago #

    Stevie, I've done that before too but I finally had to quit worrying about it because WordPress hasn't budged on this. I wish there was a plugin to cover this, if there is I don't know about it. Basically every time there's a new release it overwrites your admin, and thus replaces the Dashboard. So any hacks you do by hand, be prepared to re-hack it every time you upgrade. Too time consuming for me so I gave up and live with a Dashboard that is useless to 99% of my site's authors and subscribers.

    But if you want to do it, hack /wp-admin/index.php
    basically (make a backup first) and try getting rid of any parts of the code referring to Planet and Devnews

    replace it with whatever you think would be a more appropriate introduction to the Backend for the registered users of Your site

    good luck to you in customizing

  6. legendchew
    Member
    Posted 6 years ago #

    If anyone can done this hack /wp-admin/index.php .Please teach us here. I feel unsecure when loging admin at /wp-admin/

  7. houseofstrauss
    Member
    Posted 6 years ago #

    BTW to change the logo link to go to your main index page simply use 'index.php'

Topic Closed

This topic has been closed to new replies.

About this Topic