New Landing How can we help? Themeforest Theme Support Neighborhood How to disable wp-admin your logo (i use my funcion)

Viewing 15 posts - 1 through 15 (of 27 total)
  • #254205
    muscle
    Member
    Post count: 37

    Hi, how to disable your php funcions to showing admin wp logo ?

    I use my custom funcions to showing wp admin logo, and your funcions is replaces my funcions 🙁

    #254269
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please go to Admin > Theme Options > General Options > Custom admin login logo > Place your logo.
    Thanks
    Mohammad

    #254560
    muscle
    Member
    Post count: 37

    I know but can not be completely shut down your function? use your PHP code …

    #254572
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please paste this code at functions.php of child theme.
    remove_action('login_head', 'sf_custom_login_logo',100);
    Thanks
    Mohammad

    #254764
    muscle
    Member
    Post count: 37

    This function does not work. I added into child theme php functions

    #254858
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Just paste this code:-
    remove_action('login_head', 'sf_custom_login_logo',1);
    Thanks
    Mohammad

    #254859
    muscle
    Member
    Post count: 37

    Yes unfortunately that your code does not work.

    I use this code:

    /**
     * Custom admin login header logo
     */
    function custom_login_logo() {
    echo '<style type="text/css">
    h1 a { background-image: url(/wp-content/uploads/2015/10/logo.png) !important; 
           background-size: 100% 100% !important;
           background-position: center center !important;
           height: 45px !important;
           width: 300px !important;
           margin-left: 10px !important;
         }
    </style>';
    }
    add_action('login_head', 'custom_login_logo');

    you know me, then help me to turn off the logo its function?

    #254861
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Why do you need custom code to use your admin logo ? Its easy way , go to Admin > Theme Options > General Options > Custom admin login logo > Place your logo.
    Thanks
    Mohammad

    #255024
    muscle
    Member
    Post count: 37

    adding unnecessary features to the theme and then it turns out you do not know for who it does not want. It’s a fail. I do not like it. I want to use my function.

    #255155
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Why do you want to use your function? Theme and your functions work same and have same action hook. Your code and theme code will change the logo of admin login screen.
    Thanks
    Mohammad

    #255462
    muscle
    Member
    Post count: 37
    This reply has been marked as private.
    #255481
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I cant edit the files through wordpress editor. Please give me permission to edit files. I need WPIDE plugin installed there.
    Thanks
    Mohammad

    #255745
    muscle
    Member
    Post count: 37
    This reply has been marked as private.
    #255746
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I will make changes through child theme only.
    Thanks
    Mohammad

    #255747
    muscle
    Member
    Post count: 37

    ok where I will send you approach? that it did not see other users’ forum

Viewing 15 posts - 1 through 15 (of 27 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register