Frank Goossens on "[Plugin: Autoptimize] Feature Request: Load HTML head...
well, add something like <injectcsshere /> to your few code lines and use the filter returning this array; return array("<injectcsshere />","replace"); to inject the CSS just where you want...
View ArticleFrank Goossens on "[Plugin: Autoptimize] Hook for HTML-minify"
hi Mirko; you can use the "autoptimize_filter_noptimize"-filter (see example in autoptimize_helper.php_example) and in the function return "true" if is_user_logged_in and "false" otherwise? enjoy your...
View Articlemiwalter on "[Plugin: Autoptimize] Hook for HTML-minify"
Hi Frank, thanks! I already did this - but I have made an error in my function >.< Problem solved, thanks again :) Regards, Mirko
View Article21cdb on "Uncompressed static js files - Google Page Speed complains but...
Hi Frank, thank you for taking care of this great plugin! Much appreciated! We use it for a NGO-Website about the german national parks. One thing we don't understand is why Google-Page-Speed suggest...
View ArticleFrank Goossens on "Uncompressed static js files - Google Page Speed complains...
Evening Jan; I had a quick look at the JS and the code is minified. Google however, indeed thinks it could sqeeuze some more bytes out of it; Minifying...
View Articletabasco86 on "[Plugin: Autoptimize] how to identify problematic js and exclude"
Hi Frank, I'm a huge fan of your plugin, but I'm not able to find out what needs to be excluded in order to make my variable product images change properly. It works fine except when I use it in...
View ArticleFrank Goossens on "[Plugin: Autoptimize] how to identify problematic js and...
can you try adding gform to the comma seperated-exclusion list? frank
View ArticleweDesignLab on "[Plugin: Autoptimize] Problem with jw player"
Hi Frank, i have a problem with your plugin. I'm working on a web site that use jwplayer. When i enable you plugin from jwplayer libray i get this warning: Failed to execute 'write' on 'Document': It...
View ArticleFrank Goossens on "[Plugin: Autoptimize] Problem with jw player"
well, exclude the jwplayer JS from JS optimization and all should be fine, cfr. the FAQ for more info on how to configure AO. hope this helps, frank
View ArticleweDesignLab on "[Plugin: Autoptimize] Problem with jw player"
Thank for your reply, but i already have excluded these scripts. I tried also to exclude whole directory of my plugin but the problem is still there.
View ArticleFrank Goossens on "[Plugin: Autoptimize] Problem with jw player"
do you have a URL where I could have a quick look? frank
View ArticleweDesignLab on "[Plugin: Autoptimize] Problem with jw player"
Yes, may I send you a private email to futtta@gmail.com? Because is a working progress and if i publish a link here, my customer can give me some problem. Thanks
View Articlelutechi on "[Plugin: Autoptimize] Using inline and defer API override global...
Hello Frank, I am taking your suggestion of using the API to override the critical CSS per page and I found a code awhile ago that is supposed to fix my problem but is not overriding the whole global...
View ArticleFrank Goossens on "[Plugin: Autoptimize] Using inline and defer API override...
well, you could do something like; function my_ao_css_defer_inline($inlined) { if (strpos($_SERVER['REQUEST_URI'],'/how-it-works/')!==false) { return "h2,h1{color:red !important;}"; // so no $inlined }...
View Articlelutechi on "[Plugin: Autoptimize] Using inline and defer API override global...
Thanks for the quick response. It did not work, the page keeps coming up with the global CSS but this time without the extra CSS at the end from the function. I guess because is not attached after the...
View Articlelutechi on "[Plugin: Autoptimize] Using inline and defer API override global...
Also forgot to add, the elseif line is bringing up an error: Parse error: syntax error, unexpected '{' in /home.. I changed it to a real page name, so is not related to the url. I had to remove the...
View ArticleFrank Goossens on "[Plugin: Autoptimize] Using inline and defer API override...
yeah, probably the error that's messing things up, that'll teach me to just put untested code up on the forum ;-) so try with this untested snippet;...
View Articleshreen2008 on "[Plugin: Autoptimize] How to Completely Remove the plugin?"
Hello, My website is : http://www.pallareviews.com. Using Thesis Framework and its Skin. That framework is not supporting Autoptimize well. So I want to completely remove the plugin. So How to remove...
View Articlelutechi on "[Plugin: Autoptimize] Using inline and defer API override global...
OMG yes, it works! Haha, thanks Frank! I see what happened there lol. I did not catch it either cause I'm not a pro in php, I'm more of a designer "jack of all trades, master of none". Woot now the not...
View Article