內容簡介
此外掛提供一種簡單的方法,在您的文章、頁面或使用其他自訂類型中嵌入 Mindmeister 外掛。
它很直觀,有懶惰和完整的方式可供使用。
使用方式
複製並貼上任何 [mindmeister url="MINDMAP_URL"] shortcode 的網址。
目前支援以下這些心智圖網址(上面的 MINDMAP_URL 字串):
私人網址 (http://www.mindmeister.com/ID/SLUG)
公開網址 (http://www.mindmeister.com/maps/show/ID)
嵌入網址 (http://www.mindmeister.com/maps/public_map_shell/ID, http://www.mindmeister.com/maps/public_map_shell/ID/SLUG)
或者,如果您對此語法感到足夠熟悉,也可以只使用 ID:
[mindmeister id="ID"]
[mindmeister]ID[/mindmeister]
參數
它們可以在任何時候使用:
id:Mindmeister 心智圖的 ID
url:Mindmeister 心智圖的網址
height:顯示心智圖的所需高度(數字,以像素為單位)
width:顯示心智圖的所需寬度(數字,以像素為單位)
zoom:顯示心智圖的所需縮放程度(數字,介於 0 和 10 之間)
您需要至少有 url 或 id 參數之一,才能產生有效的 shortcode。
如果啟用了 WP_DEBUG,錯誤訊息將透過 WP_Error 追蹤。
待辦事項清單
解析網址以自動偵測寬度、縮放和高度
提供管理員設定以自訂預設寬度、縮放和高度
提供管理員設定以篩選文章格式和摘要的顯示
提供屬性和輸出過濾器
外掛標籤
開發者團隊
原文外掛簡介
This plugin provides an easy way to embed Mindmeister plugins within your posts, page or whatever custom types you use.
It is pretty straightforward, with both lazy and complete way.
Usage
Copy and paste any URL for the [mindmeister url="MINDMAP_URL"] shortcode.
Currently works with these mindmap URLs (the MINDMAP_URL string above):
Private URL (http://www.mindmeister.com/ID/SLUG)
Public URL (http://www.mindmeister.com/maps/show/ID)
Embed URL (http://www.mindmeister.com/maps/public_map_shell/ID, http://www.mindmeister.com/maps/public_map_shell/ID/SLUG)
Alternatively, you can use only the ID if you feel comfortable enough with this syntax:
[mindmeister id="ID"]
[mindmeister]ID[/mindmeister]
Arguments
They work at any time:
id: ID of the Mindmeister mindmap
url: URL of the Mindmeister mindmap
height: desired height of the displayed mindmap (numeric, in pixel)
width: desired width of the displayed mindmap (numeric, in pixel)
zoom: desired zoom of the displayed mindmap (numeric, between 0 and 10)
You need at least either of url or id arguments to procude a working shortcode.
If WP_DEBUG is enabled, error message will be traced through WP_Error.
Todo-list
Parse the URL to automatically detect width, zoom and height
Provide admin settings to customize default width, zoom and height
Provide admin settings to filter the display upon post format and feeds
Provide filters for attributes and outputing
