Titan-Framework
Titan-Framework copied to clipboard
Radium like One Click Demo Importer
For more theme authors to adopt Titan Framework you must provide Radium like One Click Demo Importer
Ref https://github.com/FrankM1/radium-one-click-demo-install
Idea 1:
- When
WP_DEBUGis turned on during development (which people should do), add an export admin option that has fields for stuff like the preview image. Clicking on export should give out a zip file containing all the necessary stuff. - Add an import option for uploading a zip file
Idea 2:
- When
WP_DEBUGis turned on during development, add an export admin option that has fields for stuff like the preview image. Clicking on export should give out a json file containing all the exported stuff (including a base64 encoded image of the preview) - Add a new function
$titan->createImportAdminPanelthat accepts paths to to json files as arguments
WP_DEBUG has no business here. People import demo data on production sites. Radium is pretty clean, I'd recommend you to implement it, only then will you be able to get most out of it. It's really just a class file with a folder and JSON + XML exported files.
I'll check out Radium :)
Is there any update about adding support for such demo importer like Radium for Titan?