Answers for "King Composer Theme Export"

0

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);
}
Posted by: Guest on May-04-2022

Browse Popular Code Answers by Language