FameThemes Demo Importer
如果網站採用了 FameTheme 所製作的佈景主題,FameTheme Demo Importer 這個官方外掛便能將對應的佈景主題示範資料一鍵匯入網站中。
評分
最近更新:
June 5, 2024
版本
1.1.7
活躍安裝總數
40K
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 filedummy-data.xml
andconfig.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
此外掛程式已可供下載,並可用於你的 WordPress 自助託管安裝。