Linux 软件免费装
Banner图

Admin Bar Button

开发者 duck__boy
更新时间 2016年6月15日 17:12
捐献地址: 去捐款
PHP版本: 3.8 及以上
WordPress版本: 4.5.1
版权: GPLv2 or later
版权网址: 版权信息

标签

widget plugin admin button toggle jquery jquery ui bar admin bar ui widget factory factory duck__boy

下载

1.1 2.0 2.1 2.1.1 3.0 3.1 3.1.1 3.2.1 4.0 4.0.1 1.0 2.2 2.3 3.2.2

详情介绍:

Admin Bar Button is a plugin that will create a simple button to replace the WordPress admin bar on the front end. Clicking the button (or hovering over it) will then show the WordPress admin bar. When using this plugin, the full height of the page is used by your site, which is particularly handy if you have fixed headers. Please see the Screenshots tab to see how the Admin Bar Button looks. After activating the plugin, you can change how the Admin Bar Button looks and works by visiting the Settings page (Settings » Admin Bar Button). However, no user interaction is required by the plugin; if you wish, you can simply install and activate Admin Bar Button and it'll work right away. This plugin has been tested with the Twenty Sixteen, Twenty Fifteen, and Twenty Fourteen themes that are shipped with WordPress 4.5 Should you find a theme with which it does not work, please open a new topic on the Support tab.

安装:

If you install the plugin via your WordPress blog
  1. Click 'Install Now' underneath the plugin name
  2. 通过WordPress的的“Plugins”菜单激活插件
  3. Job done!
If you download from http://wordpress.org/plugins/
  1. Upload the folder admin-bar-button to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. That's it!

屏幕截图:

  • The minimised Admin Bar Button, shown when the WordPress admin bar is hidden.
  • The WordPress admin bar, as shown here, is still available when the Admin Bar Button is activated (by clicking on or hovering over it, depending on your settings).
  • The 'Admin Bar Buttons' options from the plugin settings page.
  • The 'WordPress Admin Bar' options from the plugin settings page.
  • The 'Colours' options from the plugin settings page.
  • The 'Animation' options from the plugin settings page.

升级注意事项:

The plugin Settings page now includes an "Animation" tab for managing animations from one place, and you are returned to the tab that you were last viewing when you save your settings. On the front end, the "Hide" button has been moved and is now responsive. Upgrade and checkout the readme file for full details.

常见问题:

What options are available?

Admin Bar Button

  • Button text: > The text to display in the Admin Bar Button. You can set this to anything you want, the button will resize appropriately.
  • Position on the screen: > Where on the screen to position the Admin Bar Button. You can place the button in any of the four corners. If you choose 'Bottom left' or 'Bottom right' then the WordPress admin bar will also be shown on the bottom of the screen.
  • Button activated on: > The actions that will activate the WordPress admin bar. Currently you can choose between when the user clicks the button, when they hover over it, or both.
WordPress Admin Bar
  • Reserve space: > Whether or not to reserve space at the top of the page for the WordPress admin bar.
  • Auto-hide the admin bar: > Whether or not to automatically hide the WordPress admin bar.
  • Admin bar show time (milliseconds): > The time (in milliseconds) that the WordPress admin bar will be shown for. The minimum time is 5000 (5 seconds), and setting this option to less than that will result in the default being used. This option is irrelevant and so ignored if Auto-hide the admin bar is not checked.
  • Show the hide button: > Whether or not to include a 'Hide' button on the WordPress admin bar. This is recommended if you've not checked Auto-hide the admin bar
  • Show the WordPress menu: > Whether or not to include the WordPress menu on the WordPress admin bar, when it's shown. Beware that you'll lose access to all of the links in the WordPress menu if it's not shown.
Colours
  • Background colour: > The background colour of the Admin Bar Button and the WordPress admin bar
  • Background colour (hover): > The background hover colour of the Admin Bar Button and the WordPress admin bar. Also changes the WordPress admin bar sub-menus background colour. Note that only the colour of buttons which are hovered will change, not the entire WordPress admin bar.
  • Text colour: > The colour of the text for the Admin Bar Button and the WordPress admin bar.
  • Text colour (hover): > The hover colour of the text for the Admin Bar Button and the WordPress admin bar.
Animation
  • Animate actions: > Whether or not to animate the showing/hiding of the WordPress admin bar.
  • Animation duration (milliseconds): > The time (in milliseconds) that it takes for the Admin Bar Button to slide off of the screen and be replaced by the WordPress admin bar (and vice versa). Any positive value is acceptable, and setting '0' will disable the animation.
  • Animation direction: > The direction in which the WordPress admin bar will enter/exit the screen.

What are the option defaults?

Admin Bar Button

  • Button text: > Show Admin Bar
  • Position on the screen: > Top left
  • Button activated on: > Click and hover
WordPress Admin Bar
  • Reserve space: > No
  • Auto-hide the admin bar: > Yes
  • Admin bar show time (milliseconds): > 5000
  • Show the hide button: > Yes
  • Show the WordPress menu: > Yes
Colours
  • Background colour: > #23282D
  • Background colour (hover): > #32373C
  • Text colour: > #9EA3A8
  • Text colour (hover): > #00B9EB
Animation
  • Animate actions: > Yes
  • Animation duration (milliseconds): > 1000
  • Animation direction: > Slide left/right

Can I prevent the WordPress admin bar show/hide action from being animated?

Yes, simply click on the Animate tab and uncheck the Animate action option.

Can I restore the default settings?

You certainly can. Simply visit the plugin Settings page (Settings � Admin Bar Button) scroll to the bottom and click Restore Defaults. You'll be asked to confirm that you wish to do this, and then all of the defaults will be restored.

更新日志:

4.0.1 4.0 3.2.2 3.2.1 3.1.1 3.1 3.0 2.2.1 2.2 2.1.1 2.1 2.0 1.1 1.0