How to activate Avas theme

by Festinger in on June 17, 2020

First, ensure the Avas core plugin has been installed. Now add this to the theme functions.php file:

add_action('admin_init', 'fix_avas');
function fix_avas(){
if(get_option('enable_full_version')!= 1){
update_option( 'enable_full_version', 1);

Then in the avas-core plugin, edit the file inc/extensions/extension_tlm.php and find the function current_theme_verification which starts around line 177. A few lines lower, around line 194 change:

$output = json_decode(curl_exec($ch), true);


$output = array("result"=>"access_success", "user"=>"user");

Now use any key to register the theme.

Categories: Uncategorized