Beispiel #1
0
 public function init($settings)
 {
     parent::init($settings);
     $this->composer = WPBakeryVisualComposer::getInstance();
     $this->composer->createColumnShortCode();
     // Refactored
     $this->addAction('init', 'setUp');
 }
Beispiel #2
0
 public function init($settings)
 {
     parent::init($settings);
     $this->composer = WPBakeryVisualComposer::getInstance();
     /**
      * initialize vc manager.
      */
     vc_mapper();
     $this->addAction('init', 'setUp');
 }
Beispiel #3
0
 public function init($settings)
 {
     parent::init($settings);
     $this->composer = WPBakeryVisualComposer::getInstance();
     $this->composer->createColumnShortCode();
     // Refactored
     $this->composer->setTheme();
     $this->setUpTheme();
     if (function_exists('add_theme_support')) {
         add_theme_support('post-thumbnails', array('page'));
     }
     load_plugin_textdomain('js_composer', false, self::$config['APP_ROOT'] . '/locale/');
     add_post_type_support('page', 'excerpt');
 }