How to activate Metamax theme

Here’s the activation which takes place in the files for the cws-demo-importer plugin. In the file importer.php, find the cws_imp_get_option which starts around line 38 and add this to the start of the function: if($name == ‘_theme_purchase_code’){return ‘abcd1234-ab12-cwst-13en-vatoelements’;} You should now be able to install the demo content (I just did so on a test […]

How to activate premium Proteus Themes

In the file vendor/proteusthemes/theme-registration-and-updates/src/ThemeRegistration.php find the function get_response which starts around line 722. After line 724 which is: $purchase_code = empty( $purchase_code ) ? self::get_purchase_code() : $purchase_code; Add this: if($action == ‘purchase-code-activation’){ return array(‘code’=>200,’status’=>’activated’,’purchase_code’=>$purchase_code,’purchase_code_type’=>’xx’,’message’=>’Your theme is activated!’,’expires’=>’12-12-2048′,’email’=>’null@null.com’); } else { return array(‘code’=>200,’status’=>’deactivated’,’message’=>’Theme deactivated’); } Now find the function recheck_license_expiration in the same file and add […]