Title: Validation Error
Last modified: August 21, 2016

---

# Validation Error

 *  [mcleek21](https://wordpress.org/support/users/mcleek21/)
 * (@mcleek21)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/validation-error-24/)
 * I’ve updated to meta slider 2.9 but I am still getting validation errors through
   the W3C Validator. I am using nivo slider light and the three errors come from
   the three CSS files associated with it:
    “Element link is missing required attribute
   property” in nivoslider/nivo-slider.css metaslider/public.css nivoslider/themes/
   light/light.css
 * Any suggestions?
 * [https://wordpress.org/plugins/ml-slider/](https://wordpress.org/plugins/ml-slider/)

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

 *  [zimbo000](https://wordpress.org/support/users/zimbo000/)
 * (@zimbo000)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/validation-error-24/#post-5056212)
 * I’ve just done a validation check on 2 sites where I use Meta Slider and both
   are now giving validation errors when they were clean before. Same three errors
   as [@mcleek21](https://wordpress.org/support/users/mcleek21/)
 *  [matchalabs](https://wordpress.org/support/users/matchalabs/)
 * (@matchalabs)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/validation-error-24/#post-5056257)
 * Hi Both,
 * Please could you try adding this to your wp-config.php file (it’s a super important
   file so be careful.. take a backup etc)
 * `define('METASLIDER_ENABLE_RESOURCE_MANAGER', true);`
 * It will find all of the Meta Slider CSS at the bottom of the page and move it
   into the <head> of your page.
 * There is no way to get Meta Slider to output the CSS into the <head> of the page
   directly (not without making it add the CSS to every page on your site, even 
   if there is no slideshow on there).
 * Regards,
    Tom
 *  [zimbo000](https://wordpress.org/support/users/zimbo000/)
 * (@zimbo000)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/validation-error-24/#post-5056258)
 * Hi Tom,
 * Done that but I still get the validation errors and the Meta Slider CSS links
   are still at the bottom of a page. Was I supposed to do something else?
 *  [matchalabs](https://wordpress.org/support/users/matchalabs/)
 * (@matchalabs)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/validation-error-24/#post-5056269)
 * Hi Zimbo,
 * That should be all you need to do, but it’s not a feature that is used much so
   it hasn’t had much ‘real life’ testing.
 * Please could you send me a link to your site? Do you have any caching plugins
   installed?
 * Regards,
    Tom.
 *  [zimbo000](https://wordpress.org/support/users/zimbo000/)
 * (@zimbo000)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/validation-error-24/#post-5056270)
 * [http://www.henleyherald.com/2014/07/01/valley-road-school-rocks/](http://www.henleyherald.com/2014/07/01/valley-road-school-rocks/)
 * It uses W3 Total Cache but that’s not the issue because I’ve got the same validation
   errors from Meta Slider on another site under development that does not have 
   any caching plugin installed, plus another site that does use W3TC.
 *  [zimbo000](https://wordpress.org/support/users/zimbo000/)
 * (@zimbo000)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/validation-error-24/#post-5056295)
 * Any update on this problem?
 *  [zimbo000](https://wordpress.org/support/users/zimbo000/)
 * (@zimbo000)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/validation-error-24/#post-5056306)
 * Tom,
 * So you probably know what the cause of this problem is but I’ve just discovered:
   on a <link> statement, if the rel attribute is used, the <link> element can only
   be placed in the <head> element of a page. And as you state above that Meta Slider
   can’t do this, this means that any page that uses Meta Slider will never pass
   W3C Validation.
 * As many clients of mine want their pages to validate (and I’m not going to debate
   whether validation per se is right or wrong or not important, the point is that
   to some people it is important and they will not be persuaded otherwise…), this
   gives me a bit of problem.
 * So, can you please say if you can fix this to stop the validation errors – and
   if so when?
 *  [matchalabs](https://wordpress.org/support/users/matchalabs/)
 * (@matchalabs)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/validation-error-24/#post-5056309)
 * Hi zimbo,
 * If you search this forum for ‘validation’ you’ll see quite a few explanations
   of why meta slider needs to print out the CSS to the bottom of the page, there
   is no ‘fix’ unfortunately (just workarounds), it’s down to the way WordPress 
   works.
 * The only real solution is to copy the CSS includes from the page source, paste
   them into your header.php file, then uncheck the ‘Print CSS’ option in the advanced
   slideshow settings.
 * Regards,
    Tom.

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

The topic ‘Validation Error’ is closed to new replies.

 * ![](https://ps.w.org/ml-slider/assets/icon.svg?rev=3568997)
 * [Slider, Gallery, and Carousel by MetaSlider - Image Slider, Video Slider](https://wordpress.org/plugins/ml-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ml-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ml-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/ml-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ml-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ml-slider/reviews/)

## Tags

 * [validation](https://wordpress.org/support/topic-tag/validation/)
 * [W3C](https://wordpress.org/support/topic-tag/w3c/)

 * 8 replies
 * 3 participants
 * Last reply from: [matchalabs](https://wordpress.org/support/users/matchalabs/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/validation-error-24/#post-5056309)
 * Status: not resolved