该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Hide Show Admin Bar

描述

A very simple and minimal plugin to hide the admin bar and only show it on pages with keyboard shortcut ctrl+alt+s. That’s all you need to do.

You can use this plugin to resolve the problem when CDN is caching your admin bar for non logged in users.

In other words if you are using CDN to cache your pages and non logged in users see wordpress admin bar you should give this plugin a try. It will resolve your problem to only show admin bar when you need it.

Plese leave your comment for up coming feature suggestions for this plugin.

Arbitrary section

Let me know in the comment section about any feature you would like to see next in this plugin.

A brief Markdown Example

  • Hide Admin Bar by default on all pages and for all user types.
  • To view Admin Bar on any page just press ctrl+alt+s or cmd+alt+s for Mac users. Or write ?show=true after the url.

屏幕截图

  • This is first screenshot
  • This is second screenshot

安装

1: Install this plugin by either uploading this folder to your /wp-content/plugins/ directory or installing from wordpress plugin search and install.
2: You are all set to go, your admin bar is now hidden.
3: To view the admin bar on specific pages just use this keyboard shortcut ctrl+alt+s or cmd+alt+s for Mac users.

常见问题

Is there any configuration for this plugin?

No, this is a very simple plugin and you do not need any configuration for it. Just install it and you are ready to go.

评价

2021 年 8 月 9 日 1 回复
Great plugin Doesn't interfere with the menu Activated only when needed
阅读所有2条评价

贡献者及开发者

“Hide Show Admin Bar” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Hide Show Admin Bar”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.1

*Minor Fixes to plugin functionality

1.0

  • A change since the previous version.
  • Another change.

0.5

  • List versions from most recent at top to oldest at bottom.