內容簡介
這個外掛很簡單,但在開發新佈景主題時可以節省不少時間。基本上,這個外掛會將您佈景主題中的欄位等長化,以確保它們的長度相等。
注意:您的佈景主題必須使用以下欄位名稱:“rightnav”,”bodycontent”,”leftnav”,”sidebar”,”sidebar1?,”sidebar2?,”content”。
您可以修改 equalcolumns.js 檔案中的第 2 行,以包含您的佈景主題可能有的任何欄位定義。
您可以在這裡找到關於這個外掛的所有資訊(一般資訊、更改日誌、安裝、升級、使用): WP-Equal-columns Readme。
注意:這個 js 腳本不是我編寫的,我將會給編寫此腳本的人一個榮譽,但沒有包含任何作者資訊。如果您編寫了這個 js,請聯繫我,我將在此添加您的榮譽資訊。
開發博客
Kennedy Media 的 WordPress 插件開發博客
Kennedy Media 的實用網頁設計技巧博客
外掛標籤
開發者團隊
原文外掛簡介
Its very simple, but its saved me quite a bit of time when developing new themes. Basically this plugin will equalize the columns in your theme to ensure that they are of equal lengths.
NOTE: Your theme must use the following column names: “rightnav”,”bodycontent”,”leftnav”,”sidebar”,”sidebar1?,”sidebar2?,”content”.
You can modify the equalcolumns.js Line 2 to contain any column definitions you may have for your theme
All the information (general, changelog, installation, upgrade, usage) you need about this plugin can be found here: WP-Equal-columns Readme.
NOTE: I did not write the js script. I would give credit to whoever wrote it, but it doesn’t contain any author information. If you wrote this js, then contact me, I will add your credits here.
Development Blog
Kennedy Media’s WordPress Plugins Development Blog
Kennedy Media’s Practical web design tips Blog
