[wp-hackers] admin-bar-css

Braydon ronin at braydon.com
Mon Jan 2 00:32:05 UTC 2012


|I don't understand why that matters.

This is what did the trick:
||
add_filter( ||'show_admin_bar'||, ||'__return_false'| |)|

This should be the responsibility of each theme to add the admin bar, 
every theme should have new ways to implement these same features in 
different and progressive ways.

On 01/01/2012 04:07 PM, Dion Hulse (dd32) wrote:
> 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
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
> !DSPAM:4f00f56e170531336712104!
>


-- 
Braydon Fuller
http://braydon.com/



More information about the wp-hackers mailing list