[wp-hackers] admin-bar-css

Braydon ronin at braydon.com
Mon Jan 2 00:36:33 UTC 2012


It shouldn't a problem of digging out how to remove the styling. It 
shouldn't be there to begin with! Starting at zero, a blank canvas, is 
important.

On 01/01/2012 04:34 PM, Dion Hulse (dd32) wrote:
> See, thats why I was asking.. If you wanted to simply forcably hide
> the admin bar on the front end, then it'd have been stupid for me to
> dig out the way to remove the styling...
>
>
> On 2 January 2012 11:32, Braydon<ronin at braydon.com>  wrote:
>> |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
>>>
>>>
>>>
>>
>> --
>> Braydon Fuller
>> http://braydon.com/
>>
>> _______________________________________________
>> 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:4f00fb9c171561746914684!
>


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



More information about the wp-hackers mailing list