Hi,
I'm trying to get WP Minify to work on Angular but I don't know which file to exclude to keep the theme working.
Can you give us the list of CSS & Javascript to exlude?
Thanks.
Hi,
I'm trying to get WP Minify to work on Angular but I don't know which file to exclude to keep the theme working.
Can you give us the list of CSS & Javascript to exlude?
Thanks.
Hi,
What do you mean by exclude? Right now in your website this is the css that is being used from all plugins and theme in the order i have it below, and your javascript also in the order you currently have it.
http://cdn5.mattguetta.com/wp/wp-content/themes/angular/style.css
http://cdn5.mattguetta.com/wp/wp-content/themes/angular/css/grid.css
http://cdn1.mattguetta.com/wp/wp-content/themes/angular/css/base.css
http://cdn3.mattguetta.com/wp/wp-content/themes/angular/css/layout.css
http://cdn1.mattguetta.com/wp/wp-content/themes/angular/css/slideshow.css
http://cdn.mattguetta.com/wp/wp-content/themes/angular/css/shortcodes.css
http://cdn7.mattguetta.com/wp/wp-content/themes/angular/js/prettyPhoto/css/prettyPhoto.css
http://cdn1.mattguetta.com/wp/wp-content/themes/angular/js/projekktor/theme/style.css
http://cdn6.mattguetta.com/wp/wp-content/plugins/wp-eMember/css/eMember_style.css
http://cdn7.mattguetta.com/wp/wp-content/plugins/wp-eMember/css/eMember_custom_style.css
http://cdn.mattguetta.com/wp/wp-content/plugins/wp-eMember/css/validationEngine.jquery.css
http://cdn2.mattguetta.com/wp/wp-content/plugins/wordpress-social-share-buttons/css/dcwsb.css
http://cdn5.mattguetta.com/wp/wp-content/plugins/wp-cart-for-digital-products/wp_eStore_style.css
http://cdn.mattguetta.com/wp/wp-content/plugins/wp-cart-for-digital-products/wp_eStore_custom_style.css
js
http://cdn5.mattguetta.com/wp/wp-content/uploads/jw-player-plugin-for-wordpress/player/jwplayer.js
http://cdn7.mattguetta.com/wp/wp-includes/js/jquery/jquery.js
http://cdn6.mattguetta.com/wp/wp-content/plugins/wp-cart-for-digital-products/lib/jquery.external.lib.js
http://cdn1.mattguetta.com/wp/wp-content/plugins/wp-cart-for-digital-products/lib/jquery.lightbox-0.5.pack.js
http://cdn3.mattguetta.com/wp/wp-content/plugins/wp-eMember/js/jquery.validationEngine.js
http://cdn2.mattguetta.com/wp/wp-content/plugins/wp-eMember/js/jquery.hint.js
http://cdn.mattguetta.com/wp/wp-content/plugins/wp-eMember/js/ajaxupload.js
http://cdn6.mattguetta.com/wp/wp-content/plugins/wp-eMember/js/jquery.tools.min.js
http://cdn1.mattguetta.com/wp/wp-content/plugins/wp-eMember/js/jquery.libs.js
http://cdn7.mattguetta.com/wp/wp-content/plugins/wp-eMember/js/jquery.pagination-2.0rc.js
http://cdn5.mattguetta.com/wp/wp-content/plugins/wp-eMember/js/jquery.confirm-1.3.js
http://cdn1.mattguetta.com/wp/wp-content/themes/angular/js/projekktor/projekktor.min.js
http://cdn6.mattguetta.com/wp/wp-content/themes/angular/js/avia.js
http://cdn5.mattguetta.com/wp/wp-content/plugins/wordpress-social-share-buttons/js/jquery.social.share.2.3.min.js
http://cdn.mattguetta.com/wp/wp-content/plugins/wp-cart-for-digital-products/lib/eStore_read_form.js
http://cdn6.mattguetta.com/wp/wp-content/themes/angular/js/prettyPhoto/js/jquery.prettyPhoto.js
http://cdn6.mattguetta.com/wp/wp-content/themes/angular/js/aviapoly.js
I wouldn't use that minifier. I have yet to see it work correctly but on the very basic websites. Its much easier to compress css and js yourself into 2-3 files, and then enqueue it (after dequeuing the individual files. Also you have a huge block of css inline, and if you enqueue the compressed css after the inline block, the site will look broken.
This is the Closure Compiler by Google which some say is the best. http://closure-compiler.appspot.com/home
Thanks,
Nick
Interesting, I'll it give a try.
Thanks for this link, looks like a very good tool!
Hey mattguetta,
Let us know if you have any issues with it but I believe Nick's advice is right on. WP Minify has been hit or miss from what I've seen and if its extremely important its best to try and handle it yourself.
Regards,
Devin
You must log in to post.