這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Remove Admin Bar from Previews

外掛說明

If you find yourself previewing a post, clicking the “edit” link at the top, previewing that post, and eventually realizing you have 3 or 4 tabs open with different versions of the same post? Then you’ve felt the pain of editing in WordPress.

But now there’s hope! Simply remove the entire admin bar from your post previews and remove the temptation to edit a preview! Still need a reminder that you’re on a preview and you need to go back and save your changes? No problem, we’ve thrown that feature in for free! Don’t like it? No worries, simply check a box and preview your posts in all their life-like glory!

Features

  • Remove the admin bar from post and page previews.
  • Optionally add a reminder notification at the top of a previewed post.

Roadmap

These features are planned for future releases:

  • [x] Customizable notification bar (styles and text).
  • [ ] Multisite-enabled.
  • [ ] Translation-capable.

螢幕擷圖

  • Plugin options in the Writing options page.
  • Preview with the notice bar reminder.

安裝方式

  1. Download the ZIP file from the plugins repository.
  2. Install using the Plugin Installer in your site’s admin pages.
  3. Update options under SettingsWriting admin page.

常見問題集

How do I change the notice bar?

If you have a stylesheet named abp-preview-notice.css in your theme directory, the plugin will automatically use that stylesheet for the notice bar.

You can also change the HTML of the notice bar by including it in your theme inside a file named abp-notice-bar-template.php.

Each of these files need to be in your theme root directory to work.

I checked the “show notice bar” option but it’s not there.

You must also check the option to hide the admin bar. The notice bar will only show if it’s enabled and the admin bar is turned off.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Remove Admin Bar from Previews〉的開發相關工作。

參與者

將〈Remove Admin Bar from Previews〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.2.0

  • Added ability to override the notice bar HTML and CSS inside a theme.

0.1.0

  • Initial release.