Zum Hauptinhalt springen
MeteorGPLby WebbingApps

Solustrid Demo Installer

Plugin
Beobachten 0 Mit Stern markieren 0
Installieren

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

  • 0 Sterne
  • 0 Beobachter
  • 0 Downloads
  • Lizenz nicht deklariert

Versionen 0

Neueste zuerst · jede Version vor der Veröffentlichung gescannt
21 noch nicht verfügbare Versionen anzeigen

Releases, die im Changelog des Anbieters oder auf WordPress.org genannt werden und die das Repository noch nicht enthält.

  1. 2.5.1 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Release Date - 25 October 2018

    Changelog-Eintrag

  2. 2.5.0 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Release Date - 8 January 2018

    Changelog-Eintrag

  3. 2.4.0 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Release Date - 23 August 2017

    Changelog-Eintrag

  4. 2.3.0 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Release Date - 28 May 2017

    Changelog-Eintrag

  5. 2.2.1 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Release Date - 3 April 2017

    Changelog-Eintrag

  6. 2.2.0 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Release Date - 5 February 2017

    Changelog-Eintrag

  7. 2.1.0 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Release Date - 8 January 2017

    Changelog-Eintrag

  8. 2.0.2 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Release Date - 13 December 2016

    Changelog-Eintrag

  9. 2.0.1 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Release Date - 12 December 2016

    Changelog-Eintrag

  10. 2.0.0 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Release Date - 10 December 2016

    Changelog-Eintrag

  11. 1.4.0 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Release Date - 29 October 2016

    Changelog-Eintrag

  12. 1.3.0 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Release Date - 1 October 2016

    Changelog-Eintrag

  13. 1.2.0 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Release Date - 9 July 2016

    Changelog-Eintrag

  14. 1.1.3 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Release Date - 17 June 2016

    Changelog-Eintrag

  15. 1.1.2 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Release Date - 12 June 2016

    Changelog-Eintrag

  16. 1.1.1 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Release Date - 22 May 2016

    Changelog-Eintrag

  17. 1.1.0 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Release Date - 14 May 2016

    Changelog-Eintrag

  18. 1.0.3 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Release Date - 27 April 2016

    Changelog-Eintrag

  19. 1.0.2 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Release Date - 15 April 2016

    Changelog-Eintrag

  20. 1.0.1 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Release Date - 2 April 2016

    Changelog-Eintrag

  21. 1.0.0 Noch nicht verfügbar Veröffentlichungsdatum nicht angegeben

    Release Date - 25 March 2016

    Changelog-Eintrag

Readme

Lizenz

Solustrid Demo Installer

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

The best feature of this plugin is, that theme authors can define import files in their themes and so all you (the user of the theme) have to do is click on the "Import Demo Data" button.

Are you a theme author?

Setup One Click Demo Imports for your theme and your users will thank you for it!

Follow this easy guide on how to setup this plugin for your themes!

Also sign up to the newsletter, so we can inform you about any updates, changes or improvements.

Are you a theme user?

Contact the author of your theme and let them know about this plugin. Theme authors can make any theme compatible with this plugin in 15 minutes and make it much more user-friendly.

"Where can I find the contact of the theme author?"

This plugin will create a submenu page under Appearance with the title Import demo data.

If the theme you are using does not have any predefined import files, then you will be presented with three file upload inputs. First one is required and you will have to upload a demo content XML file, for the actual demo import. The second one is optional and will ask you for a WIE or JSON file for widgets import. You create that file using the Widget Importer & Exporter plugin. The third one is also optional and will import the customizer settings, select the DAT file which you can generate from Customizer Export/Import plugin (the customizer settings will be imported only if the export file was created from the same theme). The final one is optional as well and will import your Redux framework settings. You can generate the export json file with the Redux framework plugin.

This plugin is using the improved WP import 2.0 that is still in development and can be found here: https://github.com/humanmade/WordPress-Importer.

All progress of this plugin's work is logged in a log file in the default WP upload directory, together with the demo import files used in the importing process.

NOTE: There is no setting to "connect" authors from the demo import file to the existing users in your WP site (like there is in the original WP Importer plugin). All demo content will be imported under the current user.

Do you want to contribute?

Please refer to the official GitHub repository of this plugin.

Was es mitbringt

  • WP-CLI: ocdi import, ocdi list
  • Integration mit WooCommerce

Installation

From your WordPress dashboard

  1. Visit 'Plugins > Add New',
  2. Search for 'One Click Demo Import' and install the plugin,
  3. Activate 'One Click Demo Import' from your Plugins page.

From WordPress.org

  1. Download 'One Click Demo Import'.
  2. Upload the 'one-click-demo-import' directory to your '/wp-content/plugins/' directory, using your favorite method (ftp, sftp, scp, etc...)
  3. Activate 'One Click Demo Import' from your Plugins page.

Once the plugin is activated you will find the actual import page in: Appearance -> Import Demo Data.

Faq

I have activated the plugin. Where is the "Import Demo Data" page?

You will find the import page in wp-admin -> Appearance -> Import Demo Data.

Where are the demo import files and the log files saved?

The files used in the demo import will be saved to the default WordPress uploads directory. An example of that directory would be: ../wp-content/uploads/2016/03/.

The log file will also be registered in the wp-admin -> Media section, so you can access it easily.

How to predefine demo imports?

This question is for theme authors. To predefine demo imports, you just have to add the following code structure, with your own values to your theme (using the pt-ocdi/import_files filter):

function ocdi_import_files() { return array( array( 'import_file_name' => 'Demo Import 1', 'categories' => array( 'Category 1', 'Category 2' ), 'import_file_url' => 'http://www.your_domain.com/ocdi/demo-content.xml', 'import_widget_file_url' => 'http://www.your_domain.com/ocdi/widgets.json', 'import_customizer_file_url' => 'http://www.your_domain.com/ocdi/customizer.dat', 'import_redux' => array( array( 'file_url' => 'http://www.your_domain.com/ocdi/redux.json', 'option_name' => 'redux_option_name', ), ), 'import_preview_image_url' => 'http://www.your_domain.com/ocdi/preview_import_image1.jpg', 'import_notice' => __( 'After you import this demo, you will have to setup the slider separately.', 'your-textdomain' ), 'preview_url' => 'http://www.your_domain.com/my-demo-1', ), array( 'import_file_name' => 'Demo Import 2', 'categories' => array( 'New category', 'Old category' ), 'import_file_url' => 'http://www.your_domain.com/ocdi/demo-content2.xml', 'import_widget_file_url' => 'http://www.your_domain.com/ocdi/widgets2.json', 'import_customizer_file_url' => 'http://www.your_domain.com/ocdi/customizer2.dat', 'import_redux' => array( array( 'file_url' => 'http://www.your_domain.com/ocdi/redux.json', 'option_name' => 'redux_option_name', ), array( 'file_url' => 'http://www.your_domain.com/ocdi/redux2.json', 'option_name' => 'redux_option_name_2', ), ), 'import_preview_image_url' => 'http://www.your_domain.com/ocdi/preview_import_image2.jpg', 'import_notice' => __( 'A special note for this import.', 'your-textdomain' ), 'preview_url' => 'http://www.your_domain.com/my-demo-2', ), ); } add_filter( 'pt-ocdi/import_files', 'ocdi_import_files' );

You can set content import, widgets, customizer and Redux framework import files. You can also define a preview image, which will be used only when multiple demo imports are defined, so that the user will see the difference between imports. Categories can be assigned to each demo import, so that they can be filtered easily. The preview URL will display the "Preview" button in the predefined demo item, which will open this URL in a new tab and user can view how the demo site looks like.

How to automatically assign "Front page", "Posts page" and menu locations after the importer is done?

You can do that, with the pt-ocdi/after_import action hook. The code would look something like this:

` function ocdi_after_import_setup() { // Assign menus to their locations. $main_menu = get_term_by( 'name', 'Main Menu', 'nav_menu' );

set_theme_mod( 'nav_menu_locations', array(
		'main-menu' => $main_menu->term_id,
	)
);

// Assign front page and posts page (blog page).
$front_page_id = get_page_by_title( 'Home' );
$blog_page_id  = get_page_by_title( 'Blog' );

update_option( 'show_on_front', 'page' );
update_option( 'page_on_front', $front_page_id->ID );
update_option( 'page_for_posts', $blog_page_id->ID );

} add_action( 'pt-ocdi/after_import', 'ocdi_after_import_setup' ); `

What about using local import files (from theme folder)?

You have to use the same filter as in above example, but with a slightly different array keys: local_*. The values have to be absolute paths (not URLs) to your import files. To use local import files, that reside in your theme folder, please use the below code. Note: make sure your import files are readable!

function ocdi_import_files() { return array( array( 'import_file_name' => 'Demo Import 1', 'categories' => array( 'Category 1', 'Category 2' ), 'local_import_file' => trailingslashit( get_template_directory() ) . 'ocdi/demo-content.xml', 'local_import_widget_file' => trailingslashit( get_template_directory() ) . 'ocdi/widgets.json', 'local_import_customizer_file' => trailingslashit( get_template_directory() ) . 'ocdi/customizer.dat', 'local_import_redux' => array( array( 'file_path' => trailingslashit( get_template_directory() ) . 'ocdi/redux.json', 'option_name' => 'redux_option_name', ), ), 'import_preview_image_url' => 'http://www.your_domain.com/ocdi/preview_import_image1.jpg', 'import_notice' => __( 'After you import this demo, you will have to setup the slider separately.', 'your-textdomain' ), 'preview_url' => 'http://www.your_domain.com/my-demo-1', ), array( 'import_file_name' => 'Demo Import 2', 'categories' => array( 'New category', 'Old category' ), 'local_import_file' => trailingslashit( get_template_directory() ) . 'ocdi/demo-content2.xml', 'local_import_widget_file' => trailingslashit( get_template_directory() ) . 'ocdi/widgets2.json', 'local_import_customizer_file' => trailingslashit( get_template_directory() ) . 'ocdi/customizer2.dat', 'local_import_redux' => array( array( 'file_path' => trailingslashit( get_template_directory() ) . 'ocdi/redux.json', 'option_name' => 'redux_option_name', ), array( 'file_path' => trailingslashit( get_template_directory() ) . 'ocdi/redux2.json', 'option_name' => 'redux_option_name_2', ), ), 'import_preview_image_url' => 'http://www.your_domain.com/ocdi/preview_import_image2.jpg', 'import_notice' => __( 'A special note for this import.', 'your-textdomain' ), 'preview_url' => 'http://www.your_domain.com/my-demo-2', ), ); } add_filter( 'pt-ocdi/import_files', 'ocdi_import_files' );

How to handle different "after import setups" depending on which predefined import was selected?

This question might be asked by a theme author wanting to implement different after import setups for multiple predefined demo imports. Lets say we have predefined two demo imports with the following names: 'Demo Import 1' and 'Demo Import 2', the code for after import setup would be (using the pt-ocdi/after_import filter):

` function ocdi_after_import( $selected_import ) { echo "This will be displayed on all after imports!";

if ( 'Demo Import 1' === $selected_import['import_file_name'] ) {
	echo "This will be displayed only on after import if user selects Demo Import 1";

	// Set logo in customizer
	set_theme_mod( 'logo_img', get_template_directory_uri() . '/assets/images/logo1.png' );
}
elseif ( 'Demo Import 2' === $selected_import['import_file_name'] ) {
	echo "This will be displayed only on after import if user selects Demo Import 2";

	// Set logo in customizer
	set_theme_mod( 'logo_img', get_template_directory_uri() . '/assets/images/logo2.png' );
}

} add_action( 'pt-ocdi/after_import', 'ocdi_after_import' ); `

Can I add some code before the widgets get imported?

Of course you can, use the pt-ocdi/before_widgets_import action. You can also target different predefined demo imports like in the example above. Here is a simple example code of the pt-ocdi/before_widgets_import action:

function ocdi_before_widgets_import( $selected_import ) { echo "Add your code here that will be executed before the widgets get imported!"; } add_action( 'pt-ocdi/before_widgets_import', 'ocdi_before_widgets_import' );

How can I import via the WP-CLI?

In the 2.4.0 version of this pugin we added two WP-CLI commands:

  • wp ocdi list - Which will list any predefined demo imports currently active theme might have,
  • wp ocdi import - which has a few options that you can use to import the things you want (content/widgets/customizer/predefined demos). Let's look at these options below.

wp ocdi import options:

wp ocdi import [--content=<file>] [--widgets=<file>] [--customizer=<file>] [--predefined=<index>]

  • --content=<file> - will run the content import with the WP import file specified in the <file> parameter,
  • --widgets=<file> - will run the widgets import with the widgets import file specified in the <file> parameter,
  • --customizer=<file> - will run the customizer settings import with the customizer import file specified in the <file> parameter,
  • --predefined=<index> - will run the theme predefined import with the index of the predefined import in the <index> parameter (you can use the wp ocdi list command to check which index is used for each predefined demo import)

The content, widgets and customizer options can be mixed and used at the same time. If the predefined option is set, then it will ignore all other options and import the predefined demo data.

I'm a theme author and I want to change the plugin intro text, how can I do that?

You can change the plugin intro text by using the pt-ocdi/plugin_intro_text filter:

` function ocdi_plugin_intro_text( $default_text ) { $default_text .= 'This is a custom text added to this plugin intro text.';

return $default_text;

} add_filter( 'pt-ocdi/plugin_intro_text', 'ocdi_plugin_intro_text' ); `

To add some text in a separate "box", you should wrap your text in a div with a class of 'ocdi__intro-text', like in the code example above.

How to disable generation of smaller images (thumbnails) during the content import

This will greatly improve the time needed to import the content (images), but only the original sized images will be imported. You can disable it with a filter, so just add this code to your theme function.php file:

add_filter( 'pt-ocdi/regenerate_thumbnails_in_content_import', '__return_false' );

How to change the location, title and other parameters of the plugin page?

As a theme author you do not like the location of the "Import Demo Data" plugin page in Appearance -> Import Demo Data? You can change that with the filter below. Apart from the location, you can also change the title or the page/menu and some other parameters as well.

` function ocdi_plugin_page_setup( $default_settings ) { $default_settings['parent_slug'] = 'themes.php'; $default_settings['page_title'] = esc_html__( 'One Click Demo Import' , 'pt-ocdi' ); $default_settings['menu_title'] = esc_html__( 'Import Demo Data' , 'pt-ocdi' ); $default_settings['capability'] = 'import'; $default_settings['menu_slug'] = 'pt-one-click-demo-import';

return $default_settings;

} add_filter( 'pt-ocdi/plugin_page_setup', 'ocdi_plugin_page_setup' ); `

How to do something before the content import executes?

In version 2.0.0 there is a new action hook: pt-ocdi/before_content_import, which will let you hook before the content import starts. An example of the code would look like this:

function ocdi_before_content_import( $selected_import ) { if ( 'Demo Import 1' === $selected_import['import_file_name'] ) { // Here you can do stuff for the "Demo Import 1" before the content import starts. echo "before import 1"; } else { // Here you can do stuff for all other imports before the content import starts. echo "before import 2"; } } add_action( 'pt-ocdi/before_content_import', 'ocdi_before_content_import' );

How can I enable the customize_save* wp action hooks in the customizer import?

It's easy, just add this to your theme:

add_action( 'pt-ocdi/enable_wp_customize_save_hooks', '__return_true' );

This will enable the following WP hooks when importing the customizer data: customize_save, customize_save_*, customize_save_after.

How to configure the multi grid layout import popup confirmation?

If you want to disable the popup confirmation modal window, use this filter:

add_filter( 'pt-ocdi/enable_grid_layout_import_popup_confirmation', '__return_false' );

If you want to just change some options for the jQuery modal window we use for the popup confirmation, then use this filter:

function my_theme_ocdi_confirmation_dialog_options ( $options ) { return array_merge( $options, array( 'width' => 300, 'dialogClass' => 'wp-dialog', 'resizable' => false, 'height' => 'auto', 'modal' => true, ) ); } add_filter( 'pt-ocdi/confirmation_dialog_options', 'my_theme_ocdi_confirmation_dialog_options', 10, 1 );

How can I disable the ProteusThemes branding notice after successful demo import?

You can disable the branding notice with a WP filter. All you need to do is add this bit of code to your theme:

add_filter( 'pt-ocdi/disable_pt_branding', '__return_true' );

and the notice will not be displayed.

I can't activate the plugin, because of a fatal error, what can I do?

Update: since version 1.2.0, there is now a admin error notice, stating that the minimal PHP version required for this plugin is 5.3.2.

You want to activate the plugin, but this error shows up:

Plugin could not be activated because it triggered a fatal error

This happens, because your hosting server is using a very old version of PHP. This plugin requires PHP version of at least 5.3.x, but we recommend version 5.6.x or better yet 7.x. Please contact your hosting company and ask them to update the PHP version for your site.

Issues with the import, that we can't fix in the plugin

Please visit this docs page, for more answers to issues with importing data.

Screenshots

  1. Example of multiple predefined demo imports, that a user can choose from.
  2. How the import page looks like, when only one demo import is predefined.
  3. Example of how the import page looks like, when no demo imports are predefined a.k.a manual import.

Installieren

composer require meteorgpl-plugin/solustrid-demo-installer

Die Lizenzprüfungen des Anbieters sind unverändert: Aktivieren Sie das Plugin in WordPress mit einem beim Anbieter gekauften Lizenzschlüssel.

Lizenz

Das Plugin deklariert keine Lizenz. Der Code wird unter der Lizenz weiterverbreitet, die der Anbieter in den eigenen Headern des Plugins deklariert hat.

Grafiken, Schriften, Medien und Dokumente, die möglicherweise separat lizenziert sind, werden nicht weiterverbreitet; die Lizenzseite erklärt, was ersetzt oder entfernt wird, und der Sicherheits-Tab listet es pro Version auf. Der Anspruch auf Support und Updates ergibt sich aus der Lizenz, die Sie beim Anbieter kaufen.

ProteusThemes BuildPress WP Theme

meteorgpl-theme/buildpress

Eltern-Theme · 1 Child-Theme

BuildPress WordPress Theme.

Theme 5.9.0 GPL-2.0-only

ProteusThemes Auto Child Theme

meteorgpl-theme/auto-pt-child

Child-Theme von Auto PT

Child theme for the Auto

Theme 1.0.0-p2.2.0

ProteusThemes Auto PT

meteorgpl-theme/auto-pt

Eltern-Theme · 1 Child-Theme

Premium WordPress theme by [ProteusThemes](http://www.proteusthemes.com/). For support please visit [our support platform](http://support.proteustheme...

Theme 2.2.0 GPL-2.0-only

Feedback senden

Was funktioniert, was nicht, was fehlt: Ein paar Worte helfen.

Nur wenn Sie eine Antwort möchten.

Wird in Ihrem Browser aufgenommen, ohne dieses Fenster. Passwörter, Ihre Eingaben in Formularen, Schlüssel und Tokens werden als graue Blöcke ausgelassen; vor dem Senden können Sie weitere Bereiche verbergen. Screenshots bewahren wir 90 Tage auf.

Wir speichern es mit der Seitenadresse, Ihrer Sprache, der Fenstergröße, dem Browser und der IP-Adresse, und Ihrer E-Mail-Adresse, wenn Sie eine angeben. IP-Adresse und Browser werden nach 90 Tagen gelöscht. Datenschutzerklärung.

Alle Sprachen