最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

admin - Getting Rid of the WordPress.com Toolbar on Other Sites?

programmeradmin1浏览0评论

I recently started a WordPress blog, and now I get an ajax-loaded toolbar showing up at the top of tonnes of pages. It's all links to my WordPress accounts and blogs and stuff. It's fine that it shows up when I'm on WordPress or working with my blog, but I see it now on all sites that (I'm presuming) are built on WordPress). i.e. failblog.

Is there any way to turn off this toolbar?

I recently started a WordPress blog, and now I get an ajax-loaded toolbar showing up at the top of tonnes of pages. It's all links to my WordPress accounts and blogs and stuff. It's fine that it shows up when I'm on WordPress or working with my blog, but I see it now on all sites that (I'm presuming) are built on WordPress). i.e. failblog.

Is there any way to turn off this toolbar?

Share Improve this question edited Oct 24, 2010 at 3:04 MikeSchinkel 37.6k14 gold badges117 silver badges132 bronze badges asked Oct 23, 2010 at 18:56 SoftwareGravySoftwareGravy 1211 bronze badge
Add a comment  | 

3 Answers 3

Reset to default 2

Add the following code to your user stylesheet:

#wpcombar
{
    height:         2px     !important;
    overflow:       hidden  !important;
}
#wpcombar:hover,
#wpcombar:focus
{
    height:         28px    !important;
}

This will shrink down the toolbar to a 2px line. You may use display:none to remove it completely, but then it will not be accessible when you need it.

There is no way to turn off that admin bar.

Sites like "failblog" are actually wordpress blogs, so the bar will show up everytime you are logged in to your wordpress blog.

There are two (2) ways to get rid of the toolbar that I can think of:

  1. Logout of WordPress when you are on one of these sites:


    (source: mikeschinkel)


  2. If you find logging out of your WordPress blog is inconvenient you can get yourself a self-hosted WordPress blog and then, once you logout from your WordPress account this problem will go away. (I like to recommend A Small Orange for users moving from WordPress to self-hosted because at $25/year they've got the least expensive hosting on a quality webhost I know of, and they are also my current webhost. And just to be explicit, no it is not an affiliate link. :)
发布评论

评论列表(0)

  1. 暂无评论