-
-
Since the beginning of using your theme I experience an issue which I cannot figure out. You can check my website using e.g. webmaster tools available in web browser. There is a TTFB parameter which is horribly high (more than 2s) which is unacceptable.
I’m using simple configuration of apache on centos 7 with mariadb. I agree that it can be also caused by the provider and etc. but after disabling Visual Composer plugin page loads with the time about 600ms – much better than I can start to check another things.
Can you please help me with this challenge?
-
-
Hello,
I can assure you the included Visual composer is not the culprit for your site’s speed. Please read this article on how to increase the site’s speed.
Removing the included Visual Composer elements needs for you to edit theme code, which you will need to repeat in every theme update. This is not recommended from our side but if you must remove it, let us know so we can guide you.Best regards!
-
-
Hello,
Sorry for the late reply.
Please go to file functions-tower.php and find these lines:/* -------------------- Set VC config file ---------------------------------------------- */ if(function_exists('vc_set_as_theme')) vc_set_as_theme(); if (class_exists('WPBakeryVisualComposerAbstract')) { function codeless_active_vc(){ require_once locate_template('includes/core/codeless_elements.php'); } add_action('init','codeless_active_vc', 5 ); add_action( 'vc_before_init', 'codeless_vc_remove_deprecated' ); function codeless_vc_remove_deprecated(){ vc_remove_param('vc_accordion', 'deprecated'); vc_remove_param('vc_tabs', 'deprecated'); } } /* -------------------- End Set VC config file ------------------------------------------ */
Remove them or just comment them out. Then go back to your pages and add the elements of the plugin.
If you see shortcodes in the current pages, just delete them. These are the shortcodes of the old vc elements overwritten by theme code.Best regards!
-
-
Hello,
The removed elements are Visual Composer elements the theme has overwritten and changed according to it’s style. Now that you removed them you have all default VC elements to use.
No functionality is lost. Just changed the style. Just add once again the elements you were using so you have the default Visual Composer elements and not theme’s overwritten elements.
Sorry but there is no other workaround on this.Best regards!
-
You must be logged in to reply to this topic.