New User Approve
[resolved] replace wordpress logo with custom logo (3 posts)

  1. marisqa
    Posted 1 year ago #

    Hi - I need to replace the wordpress logo with a custom logo, such as my theme already does in the login page, or the plugin theme my login does.

    But this plugin seems to override all those settings.

    It's really important that the register/approve message doesn't say WordPress, but shows the company logo instead.



  2. marisqa
    Posted 1 year ago #

    Hi place this code in your functions file if you're having this issue:

    function change_login_page_url( $url ) {
        return $link_url;
    add_filter( 'login_headerurl', 'change_login_page_url' );
    function my_custom_login_logo() {
        echo '<style type="text/css">
            h1 a { background-image:url('.get_bloginfo('template_url').'/images/dfpa_logo_color_transparent_fordemo1.png) !important; background-size: 150px auto !important; }
    add_action('login_head', 'my_custom_login_logo');

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

  3. marisqa
    Posted 1 year ago #

    Replace my image file and my website with yours.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic