Forums

[resolved] Login page displays WordPress logo (5 posts)

  1. alauck12
    Member
    Posted 2 years ago #

    My login page at http://www.caltrainers.org/blog/wp-login.php displays the WordPress logo above the login form. I am using the default theme. I have looked at wp-login.php for the default theme and see that it refers to:
    <div id="login"><h1><a href="<?php echo apply_filters('login_headerurl', 'http://wordpress.org/'); ?>" title="<?php echo apply_filters('login_headertitle', __('Powered by WordPress')); ?>"><?php bloginfo('name'); ?></a></h1>

    I assume this is the section that is calling for the WordPress logo. I want to display my logo/company name instead of the WordPress logo/company name.

    Any ideas how to correct this problem?

  2. Micah Cooksey
    Moderator
    Posted 2 years ago #

  3. alauck12
    Member
    Posted 2 years ago #

    Thank you for the quick reply. I found the call for the logo in the /wp-admin/css/login.css. I replaced it with my logo and all is well.

    micahcooksey's recommendation may be useful as well. The login page is kinda bare bones, which for now is OK.

  4. alism
    Member
    Posted 2 years ago #

    Just be aware that /wp-admin/css/login.css is a core file, so next to you upgrade WordPress, changes you make to that file will be overwritten...

  5. Micah Cooksey
    Moderator
    Posted 2 years ago #

    Yeah, it's usually best to ether create a new plugin or use an existing one so you don't have to change the core files every time you upgrade. It's also a bad idea to not upgrade because you run a significantly higher risk of getting hacked.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags