このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Sigma Importer

説明

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'            => YOUR_XML_FILE_PATH,
      'import_widget_file'     => YOUR_WIDGET_WIE_PATH,
      'import_redux' => array(
        array(
          'import_redux_file' =>  YOUR_REDUX_JSON_PATH,
          'opt_name'       => YOUR_THEME_OPTIONS_NAME,
        ),
      ),
      'preview_thumb'   => YOUR_PREVIEW_THUMBNAIL_URL,
      'preview_url'     => YOUR_DEMO_PREVIEW_URL,
    ),
  ];
  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.

Wanna help us make Sigma Importer better?

Get access to the Sigma Importer GitHub repository.

1.0.2

Release Date – January 13, 2021

  • Fixed a bug where menu items would import twice if the importer took a lot of time.
  • Updated the readme.txt file to include some helpful actions and filters for developers

1.0.1

Release Date – January 13, 2021

  • Updated readme.txt

1.0.0

  • Release Date – January 13, 2021*

  • Initial release!

インストール

From your WordPress dashboard

  1. Visit ‘Plugins > Add New’,
  2. Search for ‘Sigma Importer’ and install the plugin,
  3. Activate ‘Sigma Importer’ from your Plugins page.
  4. Navigate to ‘Appearance > Demo Importer’ to get started.

From WordPress.org

  1. Download ‘Sigma Importer’.
  2. Upload the ‘one-click-demo-import’ directory to your ‘/wp-content/plugins/’ directory
  3. Activate ‘Sigma Importer’ from your Plugins page.

評価

このプラグインにはレビューがありません。

貢献者と開発者

Sigma Importer はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Sigma Importer” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。