wordpress插件之FameTheme Demo Importer

FameTheme Demo Importer的作者是FameThemes,目前有60,000+个有效安装。已经Tested with 4.8.13版本的wordpress。
Description
Import your demo content, widgets and theme settings with one click for FameThemes official themes.
Get free support at http://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: http://example.com/wp-admin/?demo_contents_export

微慕商城——精选wordpress插件及wordpress主题,帮助站长快速生成wordpress小程序。
微慕WordPress小程序商城 » wordpress插件之FameTheme Demo Importer

提供最优质的资源集合

立即查看 了解详情