Viewing 1 replies (of 1 total)
  • function is_login_page() {
        return in_array($GLOBALS['pagenow'], array('wp-login.php', 'wp-register.php'));
    }
    add_filter('wsl_render_auth_widget_alter_widget_css','wsl_remove_all_but_comments',10);
    
    //$widget_css = apply_filters( 'wsl_render_auth_widget_alter_widget_css', $widget_css, $current_page_url );
    
    function wsl_remove_all_but_comments( ){
    
    if(is_login_page()){
    	echo '<style> .wp-social-login-widget{ display:none;} </style>';
    }else{
      //not the page you are looking for
    }

    Quick and dirty should work tho in functions.php

Viewing 1 replies (of 1 total)
  • The topic ‘how to hide wp-admin page icons’ is closed to new replies.