@Gatsu @youcefaz
First off, the theme needs to be activated else you won't be able to install demos.
There are various ways to do this (and I don't know if this release has been nulled for activation, or a method given) but here is one...
Edit the file
betheme/functions/admin/class-mfn-dashboard.php and change line 235 from
PHP:
$response = $this->remote_post( 'register', $args );
to
PHP:
$response['success'] = 'success';
And change line 274 from
PHP:
$response = $this->remote_post( 'register', $args );
to
PHP:
$response['success'] = 'success';
Now use any code to activate the theme.
Now to allow demo import...
Berikut ini tautan unduhan demo:
http://uploadboy.me/195kbgc9wds0/
Buka zipnya ke folder yang disebut 'demo' di root folder tema (mis. Wp-content / themes / betheme / demo)
Anda harus membuat folder .
Kemudian pada file
betheme / functions / importir / class-mfn-importer-api.php ganti baris 91 dari
[CODE = php] $ response = wp_remote_get ($ url, $ args);
[/KODE]
untuk
[CODE = php] $ response = '';
[/KODE]
dan jalur 102 dari
[CODE = php] $ body = @file_get_contents ($ url);
[/KODE]
untuk
[CODE = php] $ body = @file_get_contents (get_template_directory_uri (). '/ Demos /'. $ This-> demo. '.Zip'); [/ CODE]
Sekarang Anda dapat mengklik Instal pada salah satu demo di dasbor BeTheme untuk menginstalnya.
NB Ini tidak akan memengaruhi plugin premium - Anda masih harus menginstalnya secara manual.
https://babiato.tech/resources/wpbakery-page-builder-for-wordpress-formerly-visual-composer.95/
https://babiato.tech/resources/slider-revolution-responsive-wordpress-plugin.527/