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

Frank Goossens on "Autoptimize conflicts with WP Visual Composer"

$
0
0

is it possible to do the same with AO - no optimisation while logged in?

yes, and that is (or should be) exactly what the hooked function does; return true to the autoptimize_filter_noptimize filter if is_user_logged_in is true (or if there is "vc_" in the URL). I did a quick test and this works on my install; when looking at the site while logged in there's no optimization, when not logged in there is (as can be confirmed by looking at the HTML-source).

where did you put the code? are you sure it's active?

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>