Linux 软件免费装
Banner图

HashThemes Demo Importer

开发者 hashthemes
更新时间 2026年8月5日 01:08
PHP版本: 7.2 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

import one click import demo importer hashthemes

下载

1.0.0 1.0.6 1.2.3 1.1.2 2.0 1.1.4 1.1.0 1.1.7 1.1.6 1.0.2 1.1.8 1.2.1 1.0.1 1.0.9 1.0.3 1.2.2 1.3.1 1.1.3 1.2.0 1.2.6 1.2.7 1.3.0 1.3.3 1.3.4 1.3.5 1.3.6 1.0.4 1.3.2 1.3.7 1.1.9 1.3.8 1.0.7 1.2.8 1.3.9 1.4.0 1.0.5 1.0.8 1.1.1 1.1.5 1.2.4 1.2.5 1.2.9 1.4.1 1.4.2 1.4.3

详情介绍:

HashThemes Demo Importer imports the full demo with just one click. It is specially developed to add a demo importer functionality in the theme developed by HashThemes but it can also be used by any other themes as well. You just need to define the array that includes the location of the demo zip files and other informations. The other information includes name of the demo, preview image, theme option array, menu array, home page and blog page slug(if any), required plugins array and the tags that categorizes the theme. The demo zip should contain the XML file, customizer (.dat) file, widget (.wie) file, theme option (.json), revolutions slider zip. It is not necessary to add all these files in the demo zip. You can skip the files if your demo does not need it. Features Video Guide

安装:

The easy way to install the plugin is via WordPress.org plugin directory.
  1. Go to WordPress Dashboard > Plugins > Add New
  2. Search for "HashThemes Demo Importer" and install the plugin.
  3. Activate Plugin from "Plugins" menu in WordPress.
How to predefine demo imports? An answer to that question. array( // demo-slug should match the 'external_url' zip file name 'name' => 'Demo Import One', 'type' => 'pro', // the value should be either 'free' or 'pro' - default is 'free' 'buy_url' => 'http://www.your_domain.com/theme-name/', // optional - only if the 'type' is set to 'pro' 'external_url' => 'http://www.your_domain.com/import/demo-slug1.zip', // zip file should contain content.xml, customizer.dat, widget.wie, option_name1.json, option_name2.json, revslider.zip(exported slider content from revolution slider) - you can skip any of the files if your demo does not need it 'image' => 'http://www.your_domain.com/import/screenshot.png', 'preview_url' => 'http://www.your_domain.com/demo-slug', 'options_array' => array('option_name1','option_name2'), // option_name1.json, option_name2.json file should be included in the zip file 'menu_array' => array( // list of menus 'primary' => 'Primary Menu', 'secondary' => 'Secondary Menu' ), 'plugins' => array( // these plugins will be installed automatically before demo import 'simple-floating-menu' => array( 'name' => 'Simple Floating Menu', // name of the plugin 'source' => 'wordpress', // source is either 'wordpress' for plugins in WordPress directory or 'remote' for external stored 'file_path' => 'simple-floating-menu/simple-floating-menu.php' // path of the main file of the plugin ), 'contact-form-7' => array( 'name' => 'Contact Form 7', 'source' => 'wordpress', 'file_path' => 'contact-form-7/wp-contact-form-7.php' ) 'revslider' => array( 'name' => 'Slider Revolution', 'source' => 'remote', 'file_path' => 'revslider/revslider.php', 'location' => 'http://www.your_domain.com/import/revslider.zip' // if source is 'remote', add the location of the plugin zip ) ), 'home_slug' => 'home', 'blog_slug' => 'blog', 'tags' => array( // Optional - add filter tab on the header to sort the demo by their type 'magazine' => 'Magazine', 'business' => 'Business', 'blog' => 'Blog' ) ), 'demo-slug2' => array( 'name' => 'Demo Import Two', 'external_url' => 'http://www.your_domain.com/import/demo-slug2.zip', 'image' => 'http://www.your_domain.com/import/screenshot.png', 'preview_url' => 'http://www.your_domain.com/demo-slug2', 'menu_array' => array( 'primary' => 'Primary Menu' ), 'home_slug' => 'home', 'blog_slug' => 'blog' ) ); } add_filter( 'hdi_import_files', 'hdi_import_files_array' ); ?>

更新日志:

2.0 - 4 Aug, 2026 1.4.3 - 27 Jul, 2026 1.4.2 - 20 May, 2025 1.4.1 - 6 Dec, 2025 1.4.0 - Sep 24 2025 1.3.9 - Jun 6, 2025 1.3.8 - May 14, 2025 1.3.7 - May 13, 2025 1.3.6 - May 12, 2025 1.3.5 - Apr 24, 2025 1.3.4 - Apr 22, 2025 1.3.3 - Mar 24, 2025 1.3.2 - Mar 03, 2025 1.3.1 - Dec 10, 2024 1.3.0 - Sep 18, 2024 1.2.9 - Sep 04, 2024 1.2.8 - Jul 21, 2024 1.2.7 - Jul 12, 2024 1.2.6 - Jul 6, 2024 1.2.5 - Jul 3, 2024 1.2.4 - Jun 19, 2024 1.2.3 - Jun 13, 2024 1.2.2 - Jun 04, 2024 1.2.1 - Dec 22, 2023 1.2.0 - Sep 01, 2023 1.1.9 - May 08, 2022 1.1.8 - Dec 05, 2022 1.1.7 - Nov 24, 2022 1.1.6 - July 25, 2022 1.1.5 - Jan 28, 2022 1.1.4 - Oct 22, 2021 1.1.3 - Sep 29, 2021 1.1.1 - Jun 22, 2021 1.1.0 - May 15, 2021 1.0.9 - Mar 08, 2021 1.0.8 - Oct 12, 2020