King Composer Theme Export

// copy the export file to your theme folder and rename it to "package.xml"
// put this code in the file functions.php

// avoid error when inactive KingComposer
if (function_exists('kc_prebuilt_template')) {
    $xml_path = get_template_directory().'/package.xml';
    kc_prebuilt_template('Twenty Templates', $xml_path);
}
andrew mosaka