How to activate Kalium theme

In the file kalium/inc/classes/core/Kalium-theme-license.php find the function initLicenseVar which starts around line 283 and add this to the start of the function code:

 update_option( 'kalium_license', (object)array("domain"=> $this->convertIDNtoASCII( home_url() ), "purchase_date"=>"1517525435", "supported_until"=>"01 Feb 2048 22:50:35", "license_key"=>"any-key-here", "timestamp"=>"1517525435", "licensee"=>"Your Name Here", "save_backups"=>true) );

Feel free to put whatever license key and licensee name you want (these will be shown on the product registration page in the dashboard). Now find the function isValid and add this to the start of the function code:

return true;

And finally, find the function validateLicense which is just below around line 354 and add this to the start of the function code:

return true;

Refresh the dashboard and the theme will be activated.

Premium plugins can be installed and so can the demo content.

Please note – the premium plugins are served from an API call but currently there is no domain/license check before serving the zip files. This may well change in the future.

Leave a Reply