Consulting - Best #1 Business, Finance WordPress Theme

Consulting - Best #1 Business, Finance WordPress Theme v6.6.6

No permission to download

666

Active member
Nov 10, 2018
145
30
28
@jameshertog @TRantula
In the file consulting/admin/includes/theme.php
After line 43 which is function stm_check_auth() {
add

PHP:
set_site_transient('stm_auth_notice', '');
return true;
Now you can use any key to activate the theme.
However, you are correct - STM Post Type and STM Importer can only be got with a legit key.

Anyone posting a theme by Stylemix Themes MUST include the latest versions of any STM plugins when they update the post as they are essential to the operation of the themes and cannot be got with a null.
This includes Pearl, Splash, Smarty, Transcargo, Dent-All... etc.

To install demo data would normally need a key as the files are returned from an api call to their server.
However, we can bypass that and use local files to install demos.
Here are the demo zips
https://mega.nz/#!v8VhUQBb!1TNgk9FzpXKdnpjaNa7Vr6S56EE7kGUXgYYt86M07cw
Create a folder in your consulting theme directory daled 'demos' and unzip the files into it.

In the file consulting/admin/includes/theme.php
Find the line function prepare_demo( $layout ){ which is around line 104
Change line 108 from

PHP:
$fxml = $tempDir . $layout .'.xml';
to
PHP:
$fxml = $tempDir 'demo_content.xml';
Now comment out lines 120-139 as shown here:

PHP:
//   $response = wp_remote_get( get_package($layout, 'zip'), array('timeout' => 30) );
//   if ( is_wp_error( $response ) ) {
//     return false;
//   }
//   $body = wp_remote_retrieve_body( $response );
//
//   // file_get_contents if body is empty.
//   if ( empty( $body ) ) {
//     if ( function_exists( 'ini_get' ) && ini_get( 'allow_url_fopen' ) ) {
//       $body = @file_get_contents( get_package($layout, 'zip') );
//     }
//   }
//
//   if ( ! $wp_filesystem->put_contents( $fzip , $body ) ) {
//     @unlink( $fzip );
//     $fp = @fopen( $fzip, 'w' );
//
//     @fwrite( $fp, $body );
//     @fclose( $fp );
//   }
On line 140 (so just below all that) add:

PHP:
$fzip = get_template_directory_uri() . "/demos/" . $layout . ".zip";
Now you can install demos from those local files (I tested - it's working 100%).
One more step...
Finally, in the stm-importer plugin main stm-importer.php file comment out lines 235-250 as shown here:

PHP:
  /*Analytics*/
//jQuery.ajax({
//url: 'https://panel.stylemixthemes.com/api/active/',
//type: 'post',
//dataType: 'json',
//data: {
//theme: 'consulting',
//layout: $site_name,
//website: "<?php echo esc_url(get_site_url()); ?>",
//
//<?php
//$envato = get_option('envato_market', array());
//$token = (!empty($envato['token'])) ? $envato['token'] : ''; ?>
//token: "<?php echo esc_js($token); ?>"
//}
//});
This code tracks your site when you import stuff!
Is there a way to avoid its tracking?
 

X--MEN

Well-known member
Staff member
Jul 10, 2018
616
456
70
UK | TH
Last edited:

tanierlyons

Well-known member
Staff member
Administrative
Moderator
May 24, 2018
75,065
111,715
120

tanierlyons

Well-known member
Staff member
Administrative
Moderator
May 24, 2018
75,065
111,715
120
stm plugin update in latest version
you cant active older version
 

X--MEN

Well-known member
Staff member
Jul 10, 2018
616
456
70
UK | TH
As stated above in this thread, it's hard to get hold of the STM plugins what is causing the functionality of this theme to be non-existent.
 

Forum statistics

Threads
69,229
Messages
908,458
Members
237,097
Latest member
ahhshd

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu