[wp-hackers] admin-bar-css

Dion Hulse (dd32) wordpress at dd32.id.au
Mon Jan 2 00:07:46 UTC 2012


What are you trying to do exactly? Disable the admin bar on the front
end, or simply add your own styling for it?

On 2 January 2012 10:59, Braydon <ronin at braydon.com> wrote:
> How do you remove the style admin-bar-css from being added at wp_head() ?
>
> This is not working:
>
> add_action( 'wp_print_styles', 'my_remove_admin_bar_css', 100 );
>
> function my_remove_admin_bar_css(){
>    wp_deregister_style( 'admin-bar-css' );
> }
>
> Or is this featured required for all front-end development?
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list