I’ve been seeing a feature of one click demo content installation option on some powerful WordPress themes now a days. Mostly on Themeforest themes.
I’d like to know if anyone have any idea about the best way to implement this. Or any other resources to do this. Some hints, idea or keyword would be suffice. I’m not asking you to write me the codes or something.
I’m wondering if you know the right way to do this.
I have seen several threads regarding the issue on the forum.
I’m looking for any updates on that as well.
If you just include a demo XML, then you should be good to go. There’s really no need for a full on custom importer when there’s already the standard one. Just my take
I’m currently looking into this, and thinking of using a plugin like https://wordpress.org/plugins/wp-migrate-db/ to clone the demo into a customers site. When they install the theme it would activate the plugin, then there would be a message to “One Click” import the demo content (excluding images)
We’d customize how wp-migrate-db works. Just an idea right now.
And that would be an easy task to replace the images with autogenerated placeholders. It can be done on export, but also on import. The question is which one is better and why. :)