Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Slow page loading time

composerremoveremove visual composervisualvisual composer
    • 8 years, 3 months ago cod_tow_usr
      Participant

      Expired

      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?

       

    • 8 years, 3 months ago cod_tow_usr
      Participant

      Expired

      This reply has been marked as private.
    • 8 years, 3 months ago Mirela
      Participant

      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!

    • 8 years, 3 months ago cod_tow_usr
      Participant

      Expired

      This reply has been marked as private.
    • 8 years, 2 months ago Mirela
      Participant

      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!

    • 8 years, 2 months ago cod_tow_usr
      Participant

      Expired

      This reply has been marked as private.
    • 8 years, 2 months ago Mirela
      Participant

      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!

Viewing 6 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password