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

WP Floating Menu Framework

描述

The plugin is the framework for setting up the floating menu in WordPress.

I tested up the following themes, but I don’t engage the perfect work because I’m not designer.
Please fixing the codes in each JavaScript file or the theme for your environment.

  • Twenty Eleven
  • Twenty Twelve
  • Twenty Thirteen

安裝

First of all, please install this plugin and activate it.

Then, please select JavaScript(JS) file from the setting menu “Floating Setting Menu” in the setting.

If you want to customize the JS file, please copy the template file in [plugin folder]/js/templates folder or [theme folder]/js/[plugin name]/ folder to js folder and rename it.

Then, please select JS file from the setting menu “Floating Setting Menu” in the setting.

Then, fixed the JS file for your WordPress environment (name, page, adminbar values).

!!!!!!!!!!!!!!!!!!!!!!!!!!!!
PLEASE backup the customizing files!!!
Now, when the plugin is updated, the customizing files will be deleted.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!

You can put a JS file for the floating menu.
Plugin folder/js

Theme folder/js/wp-floating-menu-framework/

Usage

Basically, please find out or set up “id” for the page and the floating menu.

ex. If you would like to apply the floating menu to the global navigation bar in Twenty Thirteen theme,
Please set up the following values in floating-menu.js.

  • var name = “#navbar”;
  • var page = “#page”;
  • var adminbar = “#wpadminbar”;

  • “name” value is used for setting up “position: absolute” and controlling floating area.

  • “page” value is used for adjusting the margin-top of the web page.

  • “adminbar” value is used for adjusting in case of enabling the admin bar (the logged in user).

So, when you use this plugin, you need to set up three id.

For example,

In case of setting up the following value,

  • “name” = “navigation-bar”
  • “page” = “page”

the HTML should be the following composition.

<body>

<div id=”page”>

<div id=”navigation-bar”>

.....
.....

</div>

</div>

</body>

常見問題

Cannot work on Twenty Ten

Ummm, I cannot understand the Twenty Ten’s layout…
Now, this plugin cannot work this theme.

評價

There are no reviews for this plugin.

貢獻者及開發者

“WP Floating Menu Framework” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 WP Floating Menu Framework 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0.2

  • Fixed readme.txt and readmeJ.txt files.

1.0.1

  • Fixed Bug (Cannot select JS file).

1.0.0

  • First Released.