Quantcast
Channel: WordPress.org Forums » [Autoptimize] Support
Viewing all articles
Browse latest Browse all 14094

Frank Goossens on "Autoptimize conflicts with WP Beaver Builder"

$
0
0

Hi Bowo;
Multiple things (issues/ solutions) here;
1. you could exclude pages where beaverbuilder is active using the API (with the "autoptimize_filter_noptimize"-filter) see autoptimize_helper.php_example for an example of how, in this cased based on a string in the URL, a page can be excluded from optimization).
2. you can access the non-optimized version of any page by adding ?ao_noptimize=1 to the URL
3. you could also exclude the specific JS needed for beaverbuilder to function from being aggregated/ minified.
4. as to the point raised in the beaverbuilder-support forum; you can immediately add "text/html" to the comma-seperated list of things to exclude from JS optimization. text/html (and text/template) will automatically be excluded in the next release (1.9.3, will probably be pushed out early next week).

Hope this helps,
frank


Viewing all articles
Browse latest Browse all 14094

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>