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 

Want me to help develop your next project or application?

Contact Us

Specializing in Ruby-on-Rails, Javascript, Multi-Platform Electron Desktop Apps and Hybrid Cordova Mobile Apps.

Recommended Posts