[WordPress] 外掛分享: MaxiCharts Timeline

首頁外掛目錄 › MaxiCharts Timeline
WordPress 外掛 MaxiCharts Timeline 的封面圖片
10+
安裝啟用
尚無評分
1900 天前
最後更新
問題解決
WordPress 4.0+ v1.2.0 上架:2019-02-02

內容簡介

可以基於文章、頁面或自由 CSV 資料表格創建美麗的時間軸。使用了驚人的 js 函式庫vis.js.
與Gravity Flow整合。

Shortcodes

為部落格的文章或其他文章類型(甚至自訂文章類型)創建時間軸:

[maxicharts_timeline_post type="[post|page|cpt1|cpt2|...]" groups="[draft|pending|publish...]"]

從 CSV 創建時間軸:

[maxicharts_timeline_csv data_path="[url_of_your_file.csv]" separator="[,|;]"]

其中:

type: 您要創建時間軸的文章類型
data_path: 是您的 .csv 檔案的 URL
separator: 指定 csv 分隔符號,通常是 , 或 ;
groups:僅顯示具有這些狀態之的文章

在您的 CSV 檔案中(url 設置在 data_path 中),您需要使用visjs 時間軸文檔定義的字段。必填字段為content和start,其他字段是可選的。

為< a href="https://gravityflow.io/" title="Gravity Flow" rel="nofollow ugc">Gravity Flow 創建時間軸:

[maxicharts_timeline_gravity_flow form_id=[form_id] entry_id=[entry_id] groups=[step|assignee|workflow]]

其中:

form_id:是您要為之創建時間軸的 Gravity Forms 表單 ID
entry_id:您要為之創建時間軸的 GF entry ID
groups:在時間軸上顯示的狀態類型的逗號分隔列表

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「MaxiCharts Timeline」→ 直接安裝(推薦)

原文外掛簡介

Create beautiful timelines based on posts, pages or free csv datasheets. Uses the wonderfull js library vis.js.
Integrates with Gravity Flow
Shortcodes
Create a timeline for blog’s posts or other post type (even CPT):
[maxicharts_timeline_post type="[post|page|cpt1|cpt2|...] groups="[draft|pending|publish...]"]"

Create a timeline from a csv:
[maxicharts_timeline_csv data_path="[url_of_your_file.csv]" separator="[,|;]"]

where:

type : is the post type you want to create timeline for
data_path : is the URL of your .csv file
separator : specifies the csv separator, usually , or ;
groups : only show post with these statuses

Inside your CSV file (url set in data_path), you need to use field defined by the visjs timeline documentation.
Required fields are content and start, all others are optional.
Create a timeline for Gravity Flow:
[maxicharts_timeline_gravity_flow form_id=[form_id] entry_id=[entry_id] groups=[step|assignee|workflow]]

where:

form_id : is the gravity forms form ID you want to create timeline for
entry_id : is the GF entry ID you want to create timeline for
groups : coma separated list of status types you want to make appear on the timeline

延伸相關外掛

文章
Filter
Apply Filters
Mastodon