Sigma Importer Wordpress Plugin - Rating, Reviews, Demo & Download

Sigma Importer Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

Import your demo content, widgets and theme settings with one click. Theme authors! Enable simple demo import for your theme demo data.

How to predefine demo imports?

Theme authors can add predefined demo content for their themes. The content supports content files (.xml) – Widget files (.wie) – Redux options (.json) – Revolution slider slides (.zip). Follow the below example for more instructions

function sigma_importer_import_files( $demos ) {
   $demos = [
    array(
      'file_name'              => 'Your Demo Import Name',
      'description'            => __( 'Any extra instructions you might want to add', 'your-textdomain' ),
      'front_page'             => 'Home',
      'blog_page'              => 'Blog',
      'menus'                  => array(
        'main_menu'              =>  'Main Menu',
        'secondary_menu'   => 'Secondary Menu',
        'mobile_menu'      => 'Mobile Menu',
                'top_menu'               => 'Top Menu',
                'bottom_menu'            => 'Bottom Menu'
      ),
      'import_file'            => trailingslashit( SIGMACORE_PATH ) . 'includes/sample-demos/default/content.xml',
      'import_widget_file'     => trailingslashit( SIGMACORE_PATH ) . 'includes/sample-demos/default/widget.wie',
      'import_redux' => array(
        array(
          'import_redux_file' =>  trailingslashit( SIGMACORE_PATH ) . 'includes/sample-demos/default/redux.json',
          'opt_name'       => 'verna_options',
        ),
      ),
      'preview_thumb'   => trailingslashit( SIGMACORE_URL ) . 'includes/sample-demos/default/image/300x300.png',
      'preview_url'     => 'http://primehostingindia.com/templatemonster/wp/verna/',
    ),
  ];
  return $demos;

}
add_filter( 'ss_importer/importer_custom_demos' , 'sigma_importer_import_files' );

As for now, the importer only supports local files. If you tried to add remote URL links for your content files, the importer will just ignore them.

1.0.0

  • Initial release!

Screenshots

No screenshots provided


Reviews & Comments