• // if you embed titan framework in multiple plugins, you will get an error.
    // the following codes will check if the "Titan Framework" already activated. If not, then use embed codes  
    
    // activate titan framework for options
    if ( is_plugin_active('titan-framework/titan-framework.php') ) {
        require_once 'lib/titan-framework-checker.php';
    } elseif ( !class_exists('TitanFrameworkPlugin') ) {
        require_once 'lib/titan-framework/titan-framework.php';
        // require_once 'lib/titan-framework/titan-framework-embedder.php'; - NOT WORKING
    }
    • This topic was modified 9 years, 8 months ago by tajenli.

The topic ‘Codes for embed’ is closed to new replies.