Mô tả
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
Cài đặt
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>
Hỏi đáp
- Cannot work on Twenty Ten
-
Ummm, I cannot understand the Twenty Ten’s layout…
Now, this plugin cannot work this theme.
Đánh giá
Không có đánh giá nào cho plugin này.
Người đóng góp & Lập trình viên
“WP Floating Menu Framework” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “WP Floating Menu Framework” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
1.0.2
- Fixed readme.txt and readmeJ.txt files.
1.0.1
- Fixed Bug (Cannot select JS file).
1.0.0
- First Released.