HomeWordpress FixesHow to Null/Activate Betheme any Version

How to Null/Activate Betheme any Version

There are various ways to do this 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.

Here are the demos download link: http://uploadboy.me/195kbgc9wds0/
Unzip them to a folder called ‘demos’ in the root of the theme folder (ie. wp-content/themes/betheme/demos) you will need to create the folder.
Then in the file betheme/functions/importer/class-mfn-importer-api.php change line 91 from

PHP:
$response = wp_remote_get( $url, $args );

to

PHP:
$response = '';

and line 102 from

PHP:
$body = @file_get_contents( $url );

to

PHP:
$body = @file_get_contents(get_template_directory_uri() . '/demos/' . $this->demo . '.zip');

Now you can click Install on any of the demos in the BeTheme dashboard to install them.

RELATED ARTICLES
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
- Advertisment -

Latest

0
Would love your thoughts, please comment.x
()
x