More
    Home Design / Dev Customize Wordpress Login Logo With Your Own Logo

    Customize WordPress Login Logo With Your Own Logo

    At login page into WordPress admin, we may see same default wordpress logo. This may be boring for some people. Using different logo can give added value and expressing the identity of certain website, while it may means nothing at all. Anyway, in order to customize wordpress login page logo into your own logo can be achieve in two ways.

    Using functions.php modification

    • Simply find and add this code below into your theme’s functions.php file.

    [sourcecode language=’php’]

    //Custom Login Logo
    function my_custom_login_logo() {
    echo ‘

    - Advertisement -

    ‘;
    }
    add_action(‘login_head’, ‘my_custom_login_logo’);

    [/sourcecode]

    • Create your own logo not exceed than 250pixels x 68pixels and upload into your theme’s images directory.
    • By default, the logo url link is linked to http://wordpress.org/. To change the url to your homepage, just add this another piece of code under the code above.
    - Advertisement -

    [sourcecode language=’php’]

    //Custom Login Url
    function change_wp_login_url() {
    echo bloginfo(‘url’);
    }
    function change_wp_login_title() {
    echo get_option(‘blogname’);
    }
    add_filter(‘login_headerurl’, ‘change_wp_login_url’);
    add_filter(‘login_headertitle’, ‘change_wp_login_title’);

    [/sourcecode]

    Using WordPress Plugins

    • You may use wordpress plugins such as Theme My Login plugin. Follow the link and see how to use it.

    The code originally found on WPRecipes and written by Rami. Great guys!

    - Advertisement -
    Avatar
    WPTidBitshttps://wptidbits.com/
    Owner of WPTidBits. Totally in love with WordPress!

    6 COMMENTS

    1. I am the first time on this site and am really enthusiastic about and so many good articles. I think it’s just very good.

    2. I am the first time on this site and am really enthusiastic about and so many good articles. I think it’s just very good.

    LEAVE A REPLY

    Please enter your comment!
    Please enter your name here

    110FansLike
    761FollowersFollow

    You May Also Like