前言介紹
- 這款 WordPress 外掛「WP-TopBar」是 2011-09-24 上架。 目前已經下架不再更新,不建議安裝使用。
- 目前有 1000 個安裝啟用數。
- 上一次更新是 2017-01-07,距離現在已有 3039 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.6 以上版本才可以安裝。
- 有 39 人給過評分。
- 論壇上目前有 1 個提問,問題解答率 0%
外掛協作開發者
rfgoetz |
外掛標籤
topbar | heads up | fixed bar | beforesite | Header Bar |
內容簡介
什麼是 TopBar?它是一個特殊的訊息/圖像,您可以在網站的頂部(或底部)顯示。WP-TopBar 允許您創建無限數量的 TopBar。它們是可快取的,並根據您選擇的標準隨機選擇,包括開始時間、停止時間等。您可以提供權重以更經常地顯示所選的 TopBar。它非常可定制,甚至可以輕鬆添加自己的 PHP 和 CSS。
第 5.28 版重構了 TopBar 如何處理 cookie,以便更兼容快取插件。
第 5.25 版增加了更多選項,以控制顯示哪些 TopBar。現在您可以排除置頂文章、頁面、歸檔等中的 TopBar。還有一個新的 PHP 選項,可讓您更精確地控制選擇要顯示的 TopBar,當然,使用需自擔風險。
第 5.24 版有一些小修復,而 5.23 版增加了新選項,可在滾動時將 TopBar 強制固定在頁面頂部。對於不可滾動的 TopBar,它將推動頁面向下,不會覆蓋網頁的頂部。
第 5.21 版更改了 HTML 的生成方式,使其更快啟動,並更容易使用更複雜的自定義 PHP... 在幕後。現在,您可以輸入自定義 PHP,例如 echo do_shortcode('');,它能夠運作!(當然,您需要使用 CSS 樣式讓它變得漂亮!)
第 5.17 版+現在支援國際化,現在我只需要您的幫助添加新的翻譯。(我只包含了法語翻譯,但是實際上只翻譯了約 10%。)您還可以將自己的自定義 TopBar 添加到「範例」選項卡中(詳見 FAQ)。
第 5.14 版為您提供更多的輪換選項,使啟用/禁用 TopBar 更加容易,並提供了更多在網路安裝方面的控制。
第 5.13 版新增了新的全局設定頁面。您現在可以選擇在每個頁面檢視中輪流顯示所有有效的 TopBar。
您可以創建無限數量的 TopBars:
- 有自己的顏色、CSS樣式和按鈕(用於 Facebook、LinkedIn、Google+等)
- 有背景圖像
- 有關閉按鈕
- 在 TopBar 關閉後會顯示重新開啟按鈕
- 有每個 TopBar 執行的自定義 CSS 或 PHP。當然,如果輸入無效的 PHP 代碼,那就非常危險,可能會損壞您的網站。此選項僅供高級用戶使用。
插件可以只顯示一個 TopBar,或者顯示您創建的每個有效的 TopBar(它們會輪換進出)。
TopBar 可以:
- 基於時間表
- 僅顯示給移動設備、非移動設備或所有用戶
- 僅在首頁顯示 - 或不在首頁顯示
- 僅顯示在某些分類中,或排除在某些分類中
- 僅在某些頁面上顯示 - 或在某些頁面上排除
- 只在用戶滾動頁面時顯示
- 給予優先級,以確保更重要的訊息更頻繁地顯示
有關選擇邏輯的更多詳細信息可在此處找到。TopBars 始終是靜態創建的,以利用快取插件的優勢。
想要創建大量的 TopBars - 您可以複製現有的 TopBar,只需點擊幾下即可。懂 SQL 嗎?您甚至可以將 TopBars 導出為三種不同的格式(JSON、CSV 或 SQL)。對於直接導入數據庫的部分,抱歉,不提供支援。
由於有這麼多選項頁面,我只包含了一些螢幕影像。更多影像可以在此處找到。
原文外掛簡介
What is a TopBar? It is a special message/image that you can show at the top (or bottom) of your website. WP-TopBar allows you to create an unlimited number of TopBars. They are cacheable and randomly selected based on the criteria you select, including start time, stop time and more. You can provide a weighting to skew selected TopBars to show up more often. It is super-duper customizable, even easy to add your own PHP and CSS.
Version 5.28 refactored how the TopBar handles cookies to be more compatible with caching plugins.
Version 5.25 adds more options to control which TopBars are shown. You can now have the TopBar excluded from sticky posts, pages, archives, and more. There is also a new PHP option to give you more granular control around which TopBars are selected to show — of course, use at your own risk.
Version 5.24 has some minor fixes. While 5.23 adds a new option to force to the TopBar to stay fixed on the top of the page when it is scrolled. For non-scrollable TopBars, it will push the page down and not overlay the top of your webpage.
Version 5.21 changed how the HTML is generated to make it quicker to startup and also easier to use more complicated custom PHP… all behind the scenes. Now you can enter in custom PHP like this and it works! (of course, You’ll need to style it with CSS to make it pretty!): echo do_shortcode(‘
Version 5.17+ is now i18n compatible — now I just need your help adding new translations. (I did include a French translation — but only about ~10% is actually translated.) You can also now have your own custom TopBars added to the Samples tab (see FAQ for details).
Version 5.14 gives you more Rotation options, makes it easier to enable/disable a TopBar and gives you more control with Network installs.
Version 5.13 adds a new Global Settings page. You can now select to rotate through all valid TopBars on each pageview.
You can create an unlimited number of TopBars that:
Have their own color, CSS styling, and buttons (for Facebook, LinkedIn, Google+, etc.)
Have a background image
Have a close button
Have a re-open button that shows after a TopBar is closed
Have custom CSS or PHP that is executed with each TopBar. Of course, that can be super dangerous if you enter PHP code that is invalid — you could break your website. That option should only be used by Advanced Swimmers only.
You can have the Plugin show only oneTopBar or display every valid TopBar that you’ve create (they are rotated in and out).
TopBars can be:
Scheduled based on time
Shown only for mobile, non-mobile or all users
Shown only on the home page — or not shown on the home page
Shown only for certain categories — or excluded from certain categories
Shown only on certain Pages — or excluded from certain Pages
Shown only when the user scrolls the page down
Given a Priority — to ensure that more important messages are shown more frequently
More details on the selection logic can be found on here.
The TopBars are always statically created to take advantage of caching plugins.
Want to create a lot of TopBars — you can copy the existing ones with just a few clicks. Know SQL? You can even export the TopBars in three different formats (JSON, CSV or SQL). Sorry, no support is given if you import directly to the database.
With so many option pages, I only included a few screen images. More images can be found on zWebify.com
Here is a crazy-long list of options you have for each TopBar — and this is not even complete!
Enable/disable the TopBar without disabling the plugin.
Place the TopBar Above the Header or Below the Footer
Amount of time (in milliseconds) for the TopBar to appear. Enter 0 for no delay.
Amount of time (in milliseconds) for the TopBar to take to slide down on the page. Enter 0 for no delay.
Amount of time (in milliseconds) for the TopBar to stay on the page. Enter 0 for the TopBar to not disappear.
Pick the date/time for the TopBar to start showing.
Pick the date/time for the TopBar to stop showing. Of course, it must be after the start time. Select 0 for the TopBar to never disappear.
Whether to show the TopBar for logged in users, not logged in users or all users.
A lot of CSS options — and even a way to enter your own CSS in
Retrict the Topbar to show on only certain pages (or to not show on those pages)
Retrict the Topbar to show on only certain categories (or to not show on those categories)
Add social buttons to the TopBar
Add a Close Button
Option to execute your own PHP or CSS code before (or after) the TopBar is created
Has explicit support for qTranslate — translates the top bar text fields and link field.
You can have unlimited number of TopBars — the plugin randomly selects one (based on individual weightings) to show
The TopBars are generated in such a way to support cacheing (e.g. W3 Total Cache, WP Super Cache)
Translations provided by:
Spanish (Latin American) – Andrew Kurtis – http://www.webhostinghub.com/
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP-TopBar」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0 | 1.1 | 1.3 | 1.4 | 1.5 | 2.0 | 2.1 | 5.0 | 3.01 | 3.02 | 3.03 | 3.04 | 3.05 | 3.06 | 3.07 | 3.08 | 3.09 | 3.10 | 4.00 | 4.01 | 4.02 | 4.03 | 4.10 | 4.11 | 4.12 | 4.13 | 4.14 | 4.15 | 4.16 | 4.17 | 5.01 | 5.02 | 5.03 | 5.04 | 5.05 | 5.06 | 5.10 | 5.11 | 5.12 | 5.13 | 5.14 | 5.15 | 5.16 | 5.17 | 5.18 | 5.19 | 5.20 | 5.21 | 5.22 | 5.23 | 5.24 | 5.25 | 5.26 | 5.27 | 5.28 | 5.29 | 5.30 | 5.31 | 5.32 | 5.33 | 5.34 | 5.35 | 5.36 | 1.2.1 | trunk |
延伸相關外掛(你可能也想知道)
UCF Header Bar 》UCF Header Bar 外掛能夠讓您透過 enqueue_script,將 UCF 首頁導覽列 加入到您的 UCF WordPress 網站中。UCF 首頁導覽列是整個大學具有一致性的市場行銷和品...。
WP Branding Bar 》WP Branding Bar 可建立一個可調整大小的頁首橫幅,位於您網站的頂部,提供兩個使用者定義的圖像與兩個使用者定義的連結。同時提供預設圖像與品牌設定,供 ut...。