Import demo content in a click.
Import demo content in a click. You can import Customizer settings, widgets and contents easily. Upload zip file containing XML, WIE and DAT files and click Import button. Rest will be done by the plugin.
axle-demo-importer
Install Now
axle-demo-importer.zip
from your computeraxle-demo-importer.zip
axle-demo-importer
directory to your computeraxle-demo-importer
directory to the /wp-content/plugins/
directoryaxle-demo-importer
Install Now
axle-demo-importer.zip
from your computeraxle-demo-importer.zip
axle-demo-importer
directory to your computeraxle-demo-importer
directory to the /wp-content/plugins/
directoryGo to Appearance
-> Axle Demo Importer
.
Three files should be there in the zip: XML file (data), WIE file (widget) and DAT file (Customizer).
In your theme you can declare support for the importer with available parameters.$importer_content = array(
'zip_file' => get_template_directory() . '/demo/demo.zip', // Demo zip file full path.
'static_front_page' => true, // Whether to set static front page or not.
'static_page' => 'front-page', // Slug of front page.
'posts_page' => 'blog', // Slug of posts page.
'menu_locations' => array(
'primary' => 'main-menu', // Key value pair of location and menu slug.
),
);
add_theme_support( 'axle-demo-importer', $importer_content );