Title: Adding property=&quot;stylesheet&quot; to minified css
Last modified: August 30, 2016

---

# Adding property="stylesheet" to minified css

 *  Resolved [valir](https://wordpress.org/support/users/valir/)
 * (@valir)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/adding-propertystylesheet-to-minified-css/)
 * Good day!
    I have a simple question about your good plugin.
 * I have to add property=”stylesheet” to minified css link. How can I do that?
 * Thank you!
 * [https://wordpress.org/plugins/bwp-minify/](https://wordpress.org/plugins/bwp-minify/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Khang Minh](https://wordpress.org/support/users/oddoneout/)
 * (@oddoneout)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/adding-propertystylesheet-to-minified-css/#post-6264163)
 * Hi, thanks for using BWP Minify.
 * May I ask why you want to do that?
 *  Thread Starter [valir](https://wordpress.org/support/users/valir/)
 * (@valir)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/adding-propertystylesheet-to-minified-css/#post-6264165)
 * It is good practice nowadays to move css from head to before </body>. It increases
   Google PageSpeed Insights ranks for mobile. If I move css to before </body> HTML
   validator gives error for css <link> tag. I have to add property=”stylesheet”
   to this css tag to pass html-validation.
 *  Plugin Author [Khang Minh](https://wordpress.org/support/users/oddoneout/)
 * (@oddoneout)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/adding-propertystylesheet-to-minified-css/#post-6264168)
 * If you can code there’s a filter you can use to add that attribute: [https://github.com/OddOneOut/Better-WordPress-Minify/blob/master/includes/class-bwp-minify.php#L2749](https://github.com/OddOneOut/Better-WordPress-Minify/blob/master/includes/class-bwp-minify.php#L2749)
 *  Thread Starter [valir](https://wordpress.org/support/users/valir/)
 * (@valir)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/adding-propertystylesheet-to-minified-css/#post-6264169)
 * That’s it! Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Adding property="stylesheet" to minified css’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bwp-minify.svg)
 * [Better WordPress Minify](https://wordpress.org/plugins/bwp-minify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bwp-minify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bwp-minify/)
 * [Active Topics](https://wordpress.org/support/plugin/bwp-minify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bwp-minify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bwp-minify/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [link](https://wordpress.org/support/topic-tag/link/)
 * [Stylesheet](https://wordpress.org/support/topic-tag/stylesheet/)

 * 4 replies
 * 2 participants
 * Last reply from: [valir](https://wordpress.org/support/users/valir/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/adding-propertystylesheet-to-minified-css/#post-6264169)
 * Status: resolved