Title: Codes for embed
Last modified: September 21, 2016

---

# Codes for embed

 *  [tajenli](https://wordpress.org/support/users/tajenli/)
 * (@tajenli)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/codes-for-embed/)
 *     ```
       // 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](https://wordpress.org/support/users/tajenli/).

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

 * ![](https://s.w.org/plugins/geopattern-icon/titan-framework_efefef.svg)
 * [Titan Framework](https://wordpress.org/plugins/titan-framework/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/titan-framework/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/titan-framework/)
 * [Active Topics](https://wordpress.org/support/plugin/titan-framework/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/titan-framework/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/titan-framework/reviews/)

## Tags

 * [embed](https://wordpress.org/support/topic-tag/embed/)

 * 0 replies
 * 1 participant
 * Last reply from: [tajenli](https://wordpress.org/support/users/tajenli/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/codes-for-embed/)
 * Status: not a support question