• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Consulting - Best #1 Business, Finance WordPress Theme

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

No permission to download
@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?
 
Last edited:
  • Like
Reactions: softserv and Babak
stm plugin update in latest version
you cant active older version
 
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
78,865
Messages
1,127,981
Members
246,584
Latest member
anin
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock