Comments In Minified Less For Wordpress Themes

Posted by Weston Ganger on May 06, 2014

To keep your comments in your minified css for your wordpress theme or child theme you must start your block comment with:

/*!  (instead of the usual /*)

This way your theme wont say its broken

Posted in Wordpress and Tagged with minification 

Need help on your next project or application?

I specialize in Ruby-on-Rails, AngularJS, Javascript, Bootstrap, and Hybrid Mobile Apps with Cordova & Ionic.

Contact Me

Recommended Posts