Comments Yan started the conversationApril 7, 2014 at 10:41amHi. How I can install plugins to Visual Composer in your theme?Yan repliedApril 7, 2014 at 11:33amAnd how can I disable VC in PowerMag if I have a standalone version? I know that the new version of the theme VC works differently. But my version PowerMag 1.6 and I can't update theme because I modified some files. How I can disable VC in my theme? 93 djwd repliedApril 7, 2014 at 2:26pmHi, you could disable it by commenting out/removing this part of code in functions.php (around line 260)/* ========================================================== PAGE BUILDER INITIALIZATION ========================================================== */ $dir = dirname(__FILE__) . '/inc/'; $composer_settings = Array( 'APP_ROOT' => $dir . '/js_composer', 'WP_ROOT' => dirname( dirname( dirname( dirname($dir ) ) ) ). '/', 'APP_DIR' => basename( $dir ) . '/js_composer/', 'CONFIG' => $dir . '/js_composer/config/', 'ASSETS_DIR' => 'assets/', 'COMPOSER' => $dir . '/js_composer/composer/', 'COMPOSER_LIB' => $dir . '/js_composer/composer/lib/', 'SHORTCODES_LIB' => $dir . '/js_composer/composer/lib/shortcodes/', 'default_post_types' => Array('page', 'post') ); require_once locate_template('/inc/js_composer/js_composer.php'); $wpVC_setup->init($composer_settings); // Disable unwanted modules wpb_remove("vc_teaser_grid"); RegardsdjwdRegardsdjwdYan repliedApril 7, 2014 at 3:33pmThank you! Can I then delete this folder?wp-content/themes/powermag/inc/js_composer 93 djwd repliedApril 7, 2014 at 4:14pmYes there shouldn't be any problem by deleting it once you remove the initialization code.RegardsdjwdRegardsdjwdYan repliedApril 9, 2014 at 10:21amThanks Sign in to reply ...
And how can I disable VC in PowerMag if I have a standalone version? I know that the new version of the theme VC works differently. But my version PowerMag 1.6 and I can't update theme because I modified some files. How I can disable VC in my theme?
Hi, you could disable it by commenting out/removing this part of code in functions.php (around line 260)
Regards
djwd
Regards
djwd
Thank you!
Can I then delete this folder?
wp-content/themes/powermag/inc/js_composer
Yes there shouldn't be any problem by deleting it once you remove the initialization code.
Regards
djwd
Regards
djwd
Thanks