Hub Elementor - Problems Caused by Optimization Plugins

If there is corruption in the style or functions of your site while using the Hub together with 3rd party optimization plugins (especially when Hub Performance Optimization is enabled), this article is for you.

In the settings of the 3rd party plugin you are using, there should be a list where you can add the files to be excluded from optimization & caching. You need to find those lists and add the following files to them:

JavaScript:

/wp-content/themes/hub/assets/js/theme.min.js
/wp-includes/js/jquery/jquery.min.js
/wp-includes/js/jquery/jquery-migrate.min.js

CSS:

/wp-content/themes/hub/assets/css/theme-responsive-min.min.css
/wp-content/themes/hub/assets/css/theme-responsive-max.min.css
/wp-content/themes/hub/assets/css/theme.min.css
/wp-content/plugins/hub-elementor-addons/assets/css/theme-elementor.min.css

We recommend adding each file individually and checking your site each time, because you may not need to add all the files to the list.

If doing so did not resolve your issue, feel free to create a support ticket. Our support agents will assist you as soon as possible.


Note to WP Rocket Users

WP Rocket's deferred loading of JS files breaks the functionality of many elements/widgets. So it is recommended to exclude all JS files of the theme. You can exclude them by adding this:

/wp-content/themes/hub/(.*)?.js