[WordPress] 外掛分享: FameTheme Demo Importer

首頁外掛目錄 › FameTheme Demo Importer
30,000+
安裝啟用
★★★★★
5/5 分(1 則評價)
28 天前
最後更新
問題解決
WordPress 4.5+ v1.1.12 上架:2016-09-20

內容簡介

FameTheme Demo Importer 外掛可讓使用者一鍵匯入 FameThemes 官方佈景主題的示範內容、小工具及佈景設定,簡化網站建置流程。

【主要功能】
• 一鍵匯入示範內容及設定
• 支援多個示範版本
• 自訂 GitHub 儲存庫
• 匯出示範 XML 檔案
• 提供免費技術支援

外掛標籤

開發者團隊

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

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

原文外掛簡介

Import your demo content, widgets and theme settings with one click for FameThemes official themes.
Get free support at https://www.famethemes.com/

Add Support for your themes.
Change Default Demo GitHub Repository.
apply_filters( 'demo_contents_github_repo', self::$git_repo );

Add theme to listing preview
apply_filters( 'demo_contents_allowed_authors', array('famethemes' => 'FameThemes','daisy themes' => 'Daisy Themes'};

Support demo for a theme.

Create new theme demo dir in GitHub repo username/repo-name/theme-name.

Support multiple demos for a theme.

Create new theme demo dir in GitHub repo username/repo-name/theme-name.
Create new json file and name it demos.json, add list demos here.
Crate new demo dir and name it demos.
Add your new demo in new dir child-demo, so we have full path like this: username/repo-name/theme-name/demos/child-demo and put file dummy-data.xml and config.json

Export Demo XML
In Admin screen go to Tools -> Export
Export config.json
In Admin if user has cap export, add ?demo_contents_export in current url.
Example: https://example.com/wp-admin/?demo_contents_export

延伸相關外掛

文章
Filter
Apply Filters
Mastodon