[WordPress] 外掛分享: WordPress MooTools Tree Creator

首頁外掛目錄 › WordPress MooTools Tree Creator
WordPress 外掛 WordPress MooTools Tree Creator 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
10+
安裝啟用
尚無評分
3038 天前
最後更新
問題解決
WordPress 3.0.1+ v1.1.0 上架:2012-09-18

內容簡介

此外掛利用了 mootools、mootree 與 milkbox JavaScript 函式庫,將自定義階層式文章型別轉換為樹狀架構。整個樹狀圖可以整體或按照子項目切換。以下是一些可配置的選項:

最初以開放狀態顯示樹狀圖。
最初顯示任何元素為開放狀態。
選擇是否顯示連接線。
選擇是否顯示具有無子項目的獨特圖示。
選擇是否顯示展開/收合按鈕的頂部、底部、兩者或不顯示。
更改圖示的 "佈景主題"。有兩個預設主題,您可以創建自己的主題。
通過編輯 JavaScript(預設腳本位於文章分類頁面上進入文字編輯器)更改樹狀圖的行為。默認行為是如果存在則顯示特色圖像lightbox。
通過簡單的分類分配,創建任意多個不同的樹狀圖。
如果您希望分支鏈接到 URL,則可以使用相應的欄位(請注意:需要更改 JavaScript)。
為每個特定元素創建 CSS ID。然後可以在任何包含的 .css 文件中對其進行樣式設置。
定義任何特定元素的文字顏色。
為任何特定元素定義唯一的圖示(包括分支關閉和分支開啟狀態)。
為每個特定元素分配雜項文字。這可以用於任何您選擇的目的,但是放置為一個選項是為了讓用戶為每個元素定義一個可透過文字編輯器中的可用 JavaScript 方法訪問的 JSON、URL 或類似的風格名稱/值對字符串。
為每個單獨元素設置特色圖像。默認行為是點擊元素時以輕箱形式顯示此圖像。

插件網站:Aryan Duntley
使用示例:CGJJAcademy

使用的工具:

MooTools(開源 JavaScript 函式庫)由此處查看開發人員。
由 Rasmus Schultz 與 Ian Ring 貢獻的MooTree(Mootools 插件)。
由 Luca Reghellin 製作的MilkBox(Mootools 插件)。

歡迎捐贈。如果您覺得此插件有用,可能想要請求更多功能或希望將來更新和優化,請幫助我養活自己!我發現編碼需要很多比薩,這其中肯定有思考和熱量的因素......

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WordPress MooTools Tree Creator」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin utilizes mootools, mootree and milkbox javascript libraries to transform a cutom hierarchical post type into a branched tree. The tree is toggleable as a whole or by element considering the element has children.
The following are some of the configurable options:

Initially display the tree as open.
Initially display any elements as open.
Choose whether to display connecting lines.
Choose to display a unique icon for elements with no children.
Choose whether to display expand/contract buttons top, bottom, both, none.
Change the “theme” of you icons. There are two default themes, you can create your own.
Change the behavior of the tree by editing the javascript (text editor with default script located in post category page). The default behavior is to display a lightbox containing the featured image if it exists.
Create as many different trees as you want by simply assinging them to a new category.
If you would like the branch to link to a url, you have a field for that (note: the javascript would need to be changed).
Create a css id for each specific element. This can then be styled in any included .css file.
Define the color of text for any specific element.
Define a unique icon (both for the branch closed and branch open states) for any specific element.
Assign miscellaneous text for each specific element. This can be used for whatever purpose you choose, but was placed as an option in order for a user to define for each element a json, url or similar style name/value pair string to be accessed via the javascript methods available in the editor.
Set a featured image for each individual element. The default behavior is to display this image in a lightbox when the element is clicked.

Plugin site: Aryan Duntley
Example in use: CGJJAcademy
Tools used:

MooTools by see them here.
MooTree by Rasmus Schultz with contributions by Ian Ring.
MilkBox by Luca Reghellin.

Donations welcome. If you find this plugin useful and would maybe like to request more features or hope for future updates and optimizations, please help me eat! I find it takes a lot of pizza to code, something about thinking and calories…

延伸相關外掛

文章
Filter
Mastodon