Imposible use WP Bakery and TD Composer

Posted in: Newspaper
Post count: 33

Hi, we have a huge problem for use TD COMPOSER and BAKERY. If both plugins are active the images are totally crazy and it’s imposible upload a image on TD COMPOSER.

Post count: 18283

Hello !

Our developers came to a workaround at the moment and this will be implemented in the upcoming updates.

Add this code into Functions.php:

//deregister Visual Composer backend js files from live editor
add_action( 'admin_print_scripts', 'td_deregister_vc_backend_scripts', 100 );
function td_deregister_vc_backend_scripts() {
if ( td_util::is_vc_installed() && ( tdc_state::is_live_editor_iframe() || tdc_state::is_live_editor_ajax() ) ) {
wp_deregister_script('vc-backend-min-js');
wp_deregister_script('vc_accordion_script');
wp_deregister_script('wpb_php_js');
wp_deregister_script('wpb_json-js');
wp_deregister_script('ace-editor');
wp_deregister_script('webfont');
}
}

Let us know the result !

Thank you !

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.