• 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"

Hostiko - WordPress WHMCS Hosting Theme

Hostiko - WordPress WHMCS Hosting Theme 83.0.0

No permission to download
yea, i cant get this to work. still asking for license. and the explenation on the code to change was confusing to put it mild.
There isnt anyplace in the functions.php file i got in the main directory that contains any

display_construction_page

So if someone could please update what to change.

THanks



open functions.php in main folder
find the code around line 730 to 757

PHP:
function check_theme_xyz()
    {
        if ( is_admin() ) {
            return;
        }
        $plugins_url = plugins_url();
        $val = get_option('enable_full_version');
        if(isset($val) && $val==0){
            wp_enqueue_style( 'popuptlm-remodal', $plugins_url."/AKD-Framework/frameworks/ReduxCore/inc/extensions/tlm/tlm/remodal-default-theme.css",false,'1','all');
            wp_enqueue_style( 'popuptlm', $plugins_url."/AKD-Framework/frameworks/ReduxCore/inc/extensions/tlm/tlm/remodal.css",false,'1','all');
            //echo "<script>alert('Please active your theme.')</script>";
            $popup_content = __('Dear customer, Please Active your theme. <br/>','hostiko');
            $html = '<div class="popup-license remodal" data-remodal-id="popup_license" role="dialog" aria-labelledby="modal1Title" aria-describedby="modal1Desc">
                                  <button data-remodal-action="close" class="remodal-close" aria-label="Close"></button>
                                  <div>
                                    <h2 id="modal1Title">'.__('Theme Registration','hostiko').'</h2>
                                    <p id="modal1Desc">'.
                $popup_content
                .'</p><p align="center"><a href="https://www.youtube.com/watch?v=nzBQf3nnJA8" target="_blank">how to obtain purchase code?</a></p><br><a href="wp-admin/admin.php?page=Hostiko&tab=1#popup_license" class="remodal-confirm">Register now</a><a href="https://themeforest.net/item/hostico-wordpress-whmcs-hosting-theme/20786821" class="remodal-cancel">Buy License</a>
                                  </div>
                                </div>';
            $html .= '<script type="text/javascript" src="'.$plugins_url.'/AKD-Framework/frameworks/ReduxCore/inc/extensions/tlm//tlm/remodal.js"></script>';
            $html .= "<script> var inst = jQuery('[data-remodal-id=popup_license]').remodal(); setTimeout(function(){ inst.open(); }, 2500); </script>";
            echo $html;
        }
    }
    //add_action('init', 'check_theme_xyz',11);
    add_action('wp_footer', 'check_theme_xyz');

Change these codes to this code:

PHP:
update_option( 'enable_full_version', 1 );
 
Last Update9 January 20

Changelog:
-Added New Layout No 36

 
  • Like
Reactions: Babak
can anyone help me to activate elementor theme? its saying purchase code is not valid
 
Last edited:
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