Linux 软件免费装
Banner图

Hide WP Toolbar

开发者 jr00ck
更新时间 2024年8月17日 10:14
PHP版本: 3.8 及以上
WordPress版本: 6.5
版权: GPLv3

标签

toggle toolbar hide adminbar minimize

下载

2.5.3 2.1 2.0 2.2 2.3 2.4 2.4.1 2.4.2 2.5.4 1.3 2.5.6 2.6 2.6.1 2.5.5

详情介绍:

Easily hide or show the front-end WordPress Admin Toolbar with a click of a button. The plugin adds a special button to the right side of the WordPress Admin Toolbar that only displays when you are outside the admin area of WordPress on the front-end. Clicking it will make the admin bar slide off the page to the top left corner, leaving only the hide/show button visible. Clicking the button again will restore the Toolbar to its original position. The shown/hidden position is remembered between page visits so that it can be kept hidden away until you are ready to bring it back. There are no options or configuration. Just install and activate the plugin. When you exit the admin area, you will see the button to the far right of the Toolbar. I actually like the WordPress Toolbar. It's a convenient way to go back and forth from the admin area to the public website. However, when I'm doing design modifications for a theme, the Toolbar can be visually distracting. I wanted a quick way to hide the WordPress Toolbar when needed, but otherwise keep it around. I tried several plugins but they didn't work as I wanted or didn't even work at all in some cases. So I decided to build my own. Contributions Welcome This plugin is on Github. Submit a pull request if you'd like to contribute.

安装:

  1. Upload entire hide-wp-toolbar directory to the /wp-content/plugins/ directory
  2. 通过 WordPress 的的“Plugins”菜单激活插件
  3. Navigate to the public area of the site and click the right side button to hide/show the WP Toolbar

屏幕截图:

  • The WordPress Toolbar hidden with only the hide/show button visible.

常见问题:

Are there any settings for this plugin?

Nope. No settings page is created. Just activate and start using. No configuration required.

Why does the toolbar flash briefly between page loads when in a hidden state?

The toolbar uses CSS to hide and since the toolbar always shows by default, there may be a brief moment where it appears before the CSS is fully loaded to hide it. This is standard behavior for CSS and applies to everything on the page.

更新日志:

2.6.1 2.6 2.5.6 2.5.5 2.5.4 2.4.2 2.4.1 2.4 2.3 2.2.1 2.2 2.1 2.0 1.3