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!
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.
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.
Page officielle : https://fr.wordpress.org/plugins/one-click-demo-import/